joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419772
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, eax
mov edi, dword [0x120e20]
mov esi, dword [ebp + 0x4dc]
mov ecx, dword [0x120e40]
mov eax, dword [0x120de8]
mov dword [ebp + 0x4dc], ecx
add esp, 0x18
jmp 0x41951e

Function at 0x41dba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp + 0x438], edx
mov dword [0x120db0], edx
mov edi, dword [ebp + 0x4d8]
mov ecx, dword [ebp + 0x4d8]
mov ebp, dword [ebp + 0x448]
mov ebx, esi
mov eax, dword [esp + 0x440]
mov dword [esp + 0x434], edi
mov dword [0x120dd8], ecx
jmp 0x41dc0a
mov dword [0x120d68], ebp
mov dword [esp + 0x458], eax
mov eax, dword [0x120dc8]
mov dword [0x120dac], edx
mov esi, ecx
mov dword [0x120d7c], edi
mov dword [esp + 0x444], eax
mov eax, edx
mov ebp, esp
jmp 0x41dc6f

Function at 0x4218a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [0x120c4c]
push eax
mov ecx, dword [ebp + 0x47c]
mov dword [ebp + 0x458], ecx
call ecx
mov ebx, dword [ebp + 0x4a4]
mov dword [0x120c50], esi
mov ebp, dword [ebp + 0x460]
mov ecx, dword [esp + 0x468]
mov esi, dword [esp + 0x460]
mov dword [0x120c10], ecx
add esp, 0xc
jmp 0x421a6a

Function at 0x421f02
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add ebp, 4
add esp, 0xc
jmp 0x422139

Function at 0x42b9d1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push 0
call dword [0x120948]
push 0x2c
push 0
mov dword [0x120db4], eax
call dword [0x120948]
push dword [0x1203e8]
mov dword [ebp + 0x444], eax
mov edx, dword [ebp + 0x474]
mov dword [ebp + 0x440], edx
call edx
mov ebx, dword [ebp + 0x45c]
mov edi, dword [ebp + 0x448]
mov edx, dword [ebp + 0x474]
mov dword [0x120d98], 0
mov ecx, dword [0x120db4]
mov dword [0x120d4c], eax
mov dword [0x120d9c], edx
mov dword [0x120d58], ecx
push dword [0x11ff6c]
jmp 0x42bd95
call edx
mov ecx, dword [0x120d98]
mov dword [0x120da0], eax
mov edx, dword [ebp + 0x444]
mov dword [0x120d90], ecx
mov dword [ebp + 0x45c], edx
push dword [esp + 0x534]
call dword [0x120d9c]
sub ebp, 4
add esp, 0x18
jmp fcn.0042ba6b

Function at 0x43492b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp + 0x46c]
push eax
mov edx, dword [esp + 0x498]
mov dword [0x120bd4], edx
call edx
mov ecx, dword [esp + 0x470]
mov dword [0x120bec], esi
mov edi, dword [esp + 0x4b8]
mov dword [0x120bd0], ecx
mov esi, dword [esp + 0x474]
mov dword [esp + 0x470], ebx
mov edx, dword [esp + 0x4ec]
mov dword [esp + 0x464], edx
mov dword [esp + 0x4ec], ecx
mov ebp, esp
add ebp, 0x10
add esp, 0x14
jmp 0x434be6

Function at 0x434c84
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [ebp + 0x4dc]
mov dword [ebp + 0x454], esi
mov edx, dword [ebp + 0x4a8]
mov ecx, eax
mov edi, dword [ebp + 0x460]
mov esi, dword [0x120b5c]
mov eax, dword [0x120b40]
mov dword [ebp + 0x4dc], eax
add esp, 0x14
jmp 0x434de7
Function at 0x43545f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [0x11fd44]
mov dword [esp + 0x46c], edi
mov dword [eax + 0xd64], ecx
mov dword [esp + 0x4a8], ebp
mov dword [0x120ad8], esi
mov ebp, esp
add esp, 4
jmp fcn.004354e6
add eax, esi
mov esi, dword [eax + 0x7c]
mov ebp, dword [eax + 0x78]
add ebp, dword [0x120ac4]
test ebp, ebp
je 0x434cb7
mov dword [esp + 0x4a8], ebp
mov ebp, esp
mov dword [ebp + 0x46c], edi
mov edi, dword [ebp + 0x4a8]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov edi, dword [edi + 0x10]
mov dword [0x120aa8], ecx
mov dword [ebp + 0x468], eax
mov eax, dword [ebp + 0x4a8]
mov eax, dword [eax + 0x20]
add eax, dword [0x120ac4]
mov dword [0x120ad8], esi
mov esi, dword [ebp + 0x4a8]
ret 8
Function at 0x47e692
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e6c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e6de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e5f8
jmp 0x47e6de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e6de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e5f8
test edi, edi
mov eax, edi
jne 0x47e6c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x4027f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004038b0
test esi, esi
jne 0x40282e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004039a0
jmp 0x40284c
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040269c
mov edi, eax
test esi, esi
je 0x40284c
cmp dword [ebx], 0
je 0x40284c
dec esi
jmp 0x402835
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4038d4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403891
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4038af
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40390d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte [eax], al
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4038f4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4038fd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x403907
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4038e9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403873
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x403904
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403891
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4038af
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edi, es
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40390d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte [eax], al
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4038f4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4038fd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x403907
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4038e9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403873
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x403aa8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf

Function at 0x4040e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
xor dh, al
test dword [edx + 0x21fffffc], ebx
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
invalid
invalid
xchg esp, eax
cld
invalid

Function at 0x4018b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov esi, dword [ebp + 8]
mov dword [esp], str.LESS_TERMCAP_DEBUG
call fcn.00409f70
test eax, eax
je 0x401970
cmp byte [eax], 0
je 0x401970
mov ebx, dword [0x4220a8]
jmp 0x4018f5
mov dword [esp + 4], esi
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.004177a0
test eax, eax
je 0x401960
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4018e0
mov dword [esp], 1
mov ebx, 0xc
mov dword [esp + 4], ebx
call fcn.00401510
mov dword [esp], esi
mov ebx, eax
call fcn.004014c0
mov dword [ebx + 4], eax
mov dword [esp], esi
call fcn.00417770
add eax, 3
mov edx, 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00401510
mov dword [ebx + 8], eax
mov dword [esp + 8], esi
mov esi, str.iecm
mov dword [esp + 4], esi
mov ecx, dword [ebx + 8]
mov dword [esp], ecx
call fcn.00417798
mov edx, dword [0x4220a8]
mov dword [ebx], edx
mov dword [0x4220a8], ebx
mov eax, dword [ebx + 8]
add esp, 0x20
pop ebx
pop esi
pop ebp
ret
mov dword [ebp - 0x18], 0x5353454c
mov dword [ebp - 0x14], 0x5245545f
mov dword [ebp - 0x10], 0x5041434d
mov word [ebp - 0xc], 0x5f
mov dword [esp + 4], esi
lea esi, [ebp - 0x18]
mov dword [esp], esi
call fcn.00417790
mov dword [esp], esi
call fcn.00409f70
add esp, 0x20
pop ebx
pop esi
pop ebp
ret
Function at 0x4095e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c0bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047114b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409662
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046f05d
mov eax, dword [eax]
push 0x4f5c78
push eax
call fcn.00461a94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004713d6
test bl, bl
je 0x409662
push 0x4f5c78
lea ecx, [esp + 0xc]
call fcn.00471766
push 0x4f5c84
lea ecx, [esp + 0xc]
call fcn.00471766
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40969e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004713d6
jmp 0x409769
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409722
lea edx, [esp + 0x7c]
push 0x4f5c80
push edx
call fcn.00461a94
add esp, 8
test eax, eax
je 0x409722
lea eax, [esp + 0x7c]
push 0x4f5c7c
push eax
call fcn.00461a94
add esp, 8
test eax, eax
je 0x409722
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4096b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004713d6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409f60
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409fc2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409fd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c13b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ff648]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40a108
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a036
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004713d6
xor eax, eax
jmp 0x40a17f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00471513
push esi
lea ecx, [esp + 0xc]
call fcn.004717a2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40a15d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409f60
test eax, eax
jne 0x40a15d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00409f60
test eax, eax
jne 0x40a15d
lea eax, [esp + 0x14]
push 0x4f5c94
push eax
call fcn.00462b30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a13c
lea ecx, [esp + 0x14]
push 0x4f5c90
push ecx
call fcn.00462ab0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a13c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a13f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004714c3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a04e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004713d6
xor eax, eax
jmp 0x40a17f
mov byte [esi], 0
push 0x4f5c8c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004713d6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x419450
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4194be
cmp si, 0x69
ja 0x4194be
add esi, 0xffd0
cmp si, 0x11
je 0x41948e
push 0x11
call edi
test ax, ax
jge 0x41948e
or esi, 0x2000
cmp si, 0x10
je 0x4194a3
push 0x10
call edi
test ax, ax
jge 0x4194a3
or esi, 0x4000
cmp si, 0x12
je 0x4194b8
push 0x12
call edi
test ax, ax
jge 0x4194b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4194cb
mov esi, 0xbd
jmp 0x41947f
cmp si, 0x6e
jne 0x4194d8
mov esi, 0xbe
jmp 0x41947f
cmp si, 0x6f
jne 0x419479
mov esi, 0xbf
jmp 0x41947f

Function at 0x41abf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50fda8]
xor edx, edx
cmp eax, edx
jne 0x41ac16
xor eax, eax
mov byte [eax + 0x50fca8], al
inc eax
cmp eax, 0x100
jl 0x41abfe
mov dword [0x50fda8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50fca8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41aca7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41ac7a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41ac48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41ad20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41ad73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41ad5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421e00
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x421f98
cmp ebp, ebx
jle 0x421f98
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x421e5e
dec eax
or eax, 0xfffffff8
inc eax
je 0x421e65
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x421e74
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x421e7b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00471117
add esp, 4
cmp eax, ebx
je 0x421e9c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00471117
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x421f8e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x421f75
mov al, byte [edx]
cmp al, 0xc0
jbe 0x421f61
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x421f56
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x421f64
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x421f64
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x421f00
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x421ef1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4252e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47d628
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x425319
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00478a8b
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00478ad7
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.004253a0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00478b14
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24