joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450fdd
Capabilities:
Write file on windows

Disassembly:
push 0x114
mov eax, 0x4920d0
call fcn.0045a8ee
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x2c], ebx
je 0x4510ba
cmp byte [esi + 0x24], bl
je 0x4510ba
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp + 8]
call fcn.0044e57e
mov eax, dword [eax]
lea ecx, [ebp - 0x11c]
push 3
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x120]
push eax
mov byte [ebp - 4], 1
call fcn.0043d8c2
push dword [ebp - 0x120]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00409dd5
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x451060
push dword [ebp - 0x120]
call fcn.0045a540
pop ecx
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.0040bc6b
mov eax, dword [ebp - 0x18]
mov edi, 0x1000
cmp dword [eax - 0xc], edi
jle 0x451091
push edi
lea ecx, [ebp - 0x18]
call fcn.0040bb05
push edi
lea ecx, [ebp - 0x18]
call fcn.0040bcb0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
lea edx, [ecx + ecx]
lea ecx, [esi + 0x48]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edx
push eax
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x18]
test eax, eax
setne bl
lea ecx, [ecx - 0x10]
call fcn.0040bc6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a94f
mov al, bl
call fcn.0045a89d
ret 0x10

Function at 0x451192
Capabilities:
Set registry value

Disassembly:
push 0x18
mov eax, 0x492133
call fcn.0045a8bb
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
xor edx, edx
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x20006
push eax
push ecx
push ebx
call fcn.00443232
mov edi, dword [ebp - 0x10]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x451205
cmp byte [ebp + 0x28], 0
je 0x451201
push dword [ebp + 0x24]
push edi
push ebx
call fcn.0042a03b
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x45124c
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
call fcn.00443232
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x45124c
mov esi, dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
sub esi, dword [ebp + 0x14]
push eax
call fcn.004103c8
push esi
push eax
push dword [ebp + 0x20]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.0042927e
lea ecx, [ebp - 0x20]
call fcn.0042927e
lea ecx, [ebp + 0x14]
call fcn.00455078
mov eax, esi
call fcn.0045a889
ret
Function at 0x4518e3
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x451a46
mov edx, 0x10000000
cmp eax, 0x7c
je 0x451a46
cmp eax, 0x29
jne 0x45191d
cmp dword [esi + 0x10], 0
jne 0x451a46
test dword [esi + 0x50], edx
je 0x451a4b
cmp eax, 0x2e
jne 0x451938
push 5
lea ecx, [esi + 0x24]
call fcn.00454648
mov ecx, esi
call fcn.0045468f
jmp 0x451a2e
cmp eax, 0x5c
jne 0x451995
mov ecx, esi
call fcn.0045468f
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x45196b
cmp word [esi + 0x48], 0x62
jne 0x45196b
push 4
lea ecx, [esi + 0x24]
call fcn.00454648
mov ecx, esi
call fcn.0045468f
jmp 0x451a35
test eax, eax
je 0x451989
cmp word [esi + 0x48], 0x42
jne 0x451989
push 4
lea ecx, [esi + 0x24]
call fcn.00454648
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x45195f
mov ecx, esi
call fcn.00451aa1
jmp 0x451a2e
cmp eax, 0x5b
jne 0x4519b9
mov ecx, esi
call fcn.0045468f
mov ecx, esi
call fcn.00451ff4
cmp dword [esi + 0x4c], 0x5d
je 0x45192c
push 4
jmp 0x451a4d
cmp eax, 0x28
jne 0x4519d6
mov ecx, esi
call fcn.0045468f
mov ecx, esi
call fcn.004552f4
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x451a23
jmp 0x451a4b
cmp eax, 0x5e
jne 0x4519e2
push 2
jmp 0x451957
cmp eax, 0x24
jne 0x4519ee
push 3
jmp 0x451957
cmp eax, 0x2a
je 0x451a42
cmp eax, 0x2b
je 0x451a42
cmp eax, 0x3f
je 0x451a42
cmp eax, 0x7b
je 0x451a42
cmp eax, 0x7d
jne 0x451a0c
test dword [esi + 0x50], edx
je 0x451a3e
cmp eax, 0x5d
jne 0x451a16
test dword [esi + 0x50], edx
je 0x4519b2
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0045139d
mov ecx, esi
call fcn.0045468f
test bl, bl
je 0x451a35
mov ecx, esi
call fcn.004546ba
mov cl, 1
mov bl, cl
jmp 0x4518eb
push 6
jmp 0x451a4d
push 0xa
jmp 0x451a4d
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00457f29
int3
Function at 0x4531ea
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x49228c
call fcn.0045a8ee
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4532e1
cmp byte [ebx + 0x45], 0
je 0x4532e1
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x45321f
xor al, al
jmp 0x4532e3
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00410301
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x453279
dec eax
je 0x45327d
dec eax
dec eax
je 0x4532cf
xor bl, bl
jmp 0x4532d1
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4532b5
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0045da5d
add esp, 0x10
cmp esi, eax
jne 0x453275
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x45], 0
je 0x4532cf
test esi, esi
jne 0x453243
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0040d65b
jmp 0x45323d
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040d2aa
mov al, bl
jmp 0x4532e3
mov al, 1
call fcn.0045a89d
ret

Function at 0x4623d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x477e45
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aa290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00463786
mov dword [ebp - 0x14], eax
cmp dword [0x4b06e8], esi
jne 0x477f38
push 0x800
push esi
push 0x49aca4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x477ec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x478018
push esi
push esi
push 0x49aca4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x478018
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x478018
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b06e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b06ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b06f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b06f8], eax
test eax, eax
je 0x477f35
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b06f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x477f5d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x477f50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x477f72
push 4
pop eax
jmp 0x47801a
cmp dword [ebp - 0x14], esi
je 0x477f72
push dword [0x4b06e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x477f57
mov eax, dword [0x4b06f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x477fd0
cmp dword [0x4b06f8], edi
je 0x477fd0
push eax
call ebx
push dword [0x4b06f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x477fd0
test eax, eax
je 0x477fd0
call ecx
test eax, eax
je 0x477fc5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x477fc5
test byte [ebp - 8], 1
jne 0x477fd0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x478000
mov eax, dword [0x4b06ec]
cmp eax, edi
je 0x477ffd
push eax
call ebx
test eax, eax
je 0x477ffd
call eax
mov esi, eax
test esi, esi
je 0x477ffd
mov eax, dword [0x4b06f0]
cmp eax, edi
je 0x477ffd
push eax
call ebx
test eax, eax
je 0x477ffd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b06e8]
call ebx
test eax, eax
je 0x478018
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x47801a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a817
mov esp, ebp
pop ebp
ret
Function at 0x100014aa
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x10001504
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0xb0
mov dword [esp + 0x14], eax
je 0x1000152c
jmp 0x10001504
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
call eax
mov ecx, esp
mov dword [ecx + 4], 0xc7e
mov dword [ecx], 0xe22d90
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
mov word [esp + 0xe], ax
call ecx
sub esp, 8
mov ecx, 0x4e
mov dword [esp + 8], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, esp
lea edx, [esp + 0x18]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov dword [esp + 0x10], eax
call ecx
sub esp, 4
mov eax, dword [esp + 0x10]
cmp eax, 0x4d
je 0x100014d1
jmp 0x100014bb
mov esp, ebp
pop ebp
ret

Function at 0x1045437c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001077
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x104543c0
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x24], ecx
je 0x104543f8
jmp 0x104544eb
lea eax, [esp + 0x40]
mov dword [0x10467dfc], 0x1500
mov dword [0x10467df8], 0x45c
mov dword [esp + 0x20], eax
call fcn.10455412
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x1045444f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x1045439c
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [0x10467df8], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x84], edx
mov esi, dword [esp + 0x24]
mov edi, dword [edx + esi + 0x50]
mov dword [esp + 0x5c], edi
mov dword [0x10467dfc], 0xfffff448
mov edi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.10454875
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x104543ee
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10455e77
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
mov dword [0x10467dfc], 0x508
mov dword [esp + 0x54], 0x2f5000
mov ecx, dword [0x10467de4]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x10467de8]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x10467dec]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x10467df0]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x10467df4]
mov dword [esp + 0x60], ecx
mov dword [0x10467df8], 0x3ae
mov dword [esp + 0x14], eax
mov eax, 0x2e
lea ecx, [0x10454302]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jmp 0x104544d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
je 0x104543a7
mov eax, 0xfffffc34
mov ecx, dword [esp + 0x28]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jmp 0x104544d0
Function at 0x10454875
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x10467df8], 0xffffeb5d
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x104580d2]
mov dl, byte [eax + 0x104580a3]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x104548a4
mov dword [0x10467df8], 0xfffe5182
mov dword [0x10467dfc], 0x15f9
call fcn.10455a18
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10454a45
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x104549b0
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10467df8], 0x1eb
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10454576
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [0x10467dfc], 0xb52
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
mov dword [ecx + 0x18], edx
mov esi, dword [ebp - 0x40]
mov dword [ecx + 0x54], esi
mov dword [0x10467df8], 0x25e3
cmp esi, 0
mov dword [ebp - 0x3c], eax
je 0x104549b0
mov eax, dword [ebp - 0x40]
add eax, 0x1c92
mov dword [0x10467df8], 0x258c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10455412
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [0x10467df8], 0x1c6a
mov dword [ebp - 4], 0
mov dword [0x10467dfc], 0x2f2
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10467df8], 0xb29
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x104554f2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x16], dx
mov ax, word [ebp - 0x16]
cmp ax, 0x64
je 0x1045553f
jmp 0x104554d6
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x104
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
jl 0x104554f2
jmp 0x1045550c
mov dword [0x10467dfc], 0xa81
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x6c
je 0x10455565
jmp 0x104554d6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10455520
xor eax, eax
mov ecx, dword [0x10467dfc]
add ecx, 0xfffff6b5
mov dword [0x10467dfc], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1045558b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], edx
jne 0x1045547e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x104554c7
jmp 0x104554d6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x61
je 0x1045545f
jmp 0x104554d6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x64
je 0x1045549e
jmp 0x104554d6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x36], dx
mov eax, 1
mov cx, word [ebp - 0x36]
cmp cx, 0x6c
mov dword [ebp - 0x2c], eax
jne 0x104554d6
mov eax, dword [ebp - 0x2c]
add esp, 0x38
pop ebp
ret
Function at 0x104556ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x10467df8], 0x242
mov dword [ebp - 0x10], eax
call fcn.10454739
xor ecx, ecx
mov edx, dword [0x10467df8]
mov esi, eax
mov edi, dword [eax + 0x3c]
mov ebx, esi
add ebx, edi
mov edi, dword [eax + edi]
cmp edi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
je 0x10455739
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffffc697
mov dword [0x10467dfc], ecx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x1c]
add esi, 0xffffd5ad
mov dword [0x10467df8], esi
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
je 0x10455881
jmp 0x104557b3
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x20]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10455829
jmp 0x104557ec
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x48], edx
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x10455788
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], ch
mov byte [ebp - 0x5e], dl
mov al, byte [ebp - 0x5d]
mov cl, byte [ebp - 0x5e]
and al, cl
test al, 1
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], edx
jne 0x10455788
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1045585c
jmp 0x10455832
xor eax, eax
mov ecx, dword [ebp - 0x58]
add ecx, 2
mov edx, dword [ebp - 0x54]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], eax
jb 0x104557d0
jmp 0x10455881
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10467df8], 0x238b
mov edx, dword [ebp - 0x20]
add edx, ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1045588c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10467e00], 0
mov dword [0x10467e04], 0
mov dword [0x10467e10], 0
mov dword [0x10467df8], 0x145d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, 0x145d
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, eax
mov edi, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
je 0x104559f6
jmp 0x1045591d
mov eax, dword [0x10467df8]
mov ecx, dword [0x10467e00]
mov edx, dword [0x10467e04]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
mov ebx, ecx
add ebx, 0x21fe
mov dword [0x10467df8], ebx
add edx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10467e00], edx
add ecx, 0x3191
mov dword [0x10467dfc], ecx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x10467e04], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10467e08], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10467dfc], 0x2b4
mov cl, byte [0x10467e08]
mov edx, dword [0x10467e04]
mov byte [edi + edx], cl
mov edx, dword [0x10467e00]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10467e04]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10467dfc], 0xdf3
and ebx, 0xff
mov dword [0x10467e10], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x30], edx
jne 0x104558fd
mov dword [0x10467dfc], 0x2692
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10456224
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10467df8]
add edi, 0xffffe7eb
mov dword [0x10467df8], edi
mov dword [0x10467e04], 0
mov byte [0x10467e08], 0
mov dword [0x10467dfc], 0x4dd
mov dword [0x10467e00], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x104562aa
mov dword [0x10467df8], 0x208
mov dword [0x10467e00], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x104562e1
mov dword [0x10467df8], 0x2088
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10467df8]
add eax, 0xfffffe61
mov dword [0x10467df8], eax
mov eax, dword [0x10467e00]
add eax, 1
mov dword [0x10467e00], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x104562aa
jmp 0x1045627d
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10467e0c], 0
mov dword [0x10467df8], 0x959
mov edx, dword [0x10467e04]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10467e0c], edi
mov dword [0x10467df8], 0x1b47
mov eax, edi
cdq
idiv ecx
mov dword [0x10467e04], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10467e08], cl
mov dword [0x10467dfc], 0x5e8
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10467e08]
mov edx, dword [0x10467e04]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10467e00]
add edx, 1
mov dword [0x10467e00], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x104562e1
jmp 0x10456298