joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f500
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45f533
push esi
call fcn.004625f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45f52c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45f5b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45f5a2
mov eax, dword [esi + 8]
test eax, eax
je 0x45f557
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45f59e
cmp eax, 2
je 0x45f5a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45f54a
cmp eax, 3
je 0x45f57d
cmp eax, 1
jne 0x45f54a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45f54a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45f54a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045f5e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45f5c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045f5e0
add esp, 4
pop esi
ret

Function at 0x47e4f5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47e52d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047c5ac
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047c584
jmp 0x47e539
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47fbe6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47fc28
call fcn.004856e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47fc28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47fc1f
xor eax, eax
jmp 0x47fc30
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047fc36
pop edi
pop esi
pop ebx
ret 4

Function at 0x485c12
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 0x485c40
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x485c5e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00485b78
jmp 0x485c5e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x485c5e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00485b78
test edi, edi
mov eax, edi
jne 0x485c48
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10122e0
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x1001a58
call fcn.01013bcc
mov edi, 0x94
mov eax, edi
call fcn.01012a30
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x1023c9c], ecx
mov eax, dword [esi + 4]
mov dword [0x1023ca8], eax
mov edx, dword [esi + 8]
mov dword [0x1023cac], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1023ca0], esi
cmp ecx, 2
je 0x1012340
or esi, 0x8000
mov dword [0x1023ca0], esi
shl eax, 8
add eax, edx
mov dword [0x1023ca4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x101237b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101237b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1012393
cmp eax, 0x20b
je 0x1012380
mov dword [ebp - 0x1c], esi
jmp 0x10123a7
cmp dword [ecx + 0x84], 0xe
jbe 0x101237b
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x10123a1
cmp dword [ecx + 0x74], 0xe
jbe 0x101237b
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.01013b78
pop ecx
test eax, eax
jne 0x10123bb
push 0x1c
call fcn.010122bc
pop ecx
call fcn.01013aef
test eax, eax
jne 0x10123cc
push 0x10
call fcn.010122bc
pop ecx
mov dword [ebp - 4], esi
call fcn.01013862
test eax, eax
jge 0x10123e0
push 0x1b
call fcn.01012297
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1025694], eax
call fcn.0101373c
mov dword [0x1023c8c], eax
call fcn.0101369a
test eax, eax
jge 0x1012406
push 8
call fcn.01012297
pop ecx
call fcn.0101344e
test eax, eax
jge 0x1012417
push 9
call fcn.01012297
pop ecx
call fcn.01012f20
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x101242a
push eax
call fcn.01012297
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.010133e5
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x101244b
movzx eax, word [ebp - 0x34]
jmp 0x101244e
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.01012158
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x101246c
push edi
call fcn.0101303f
call fcn.01013061
jmp 0x101249e
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.01013c05
ret
Function at 0x101f346
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x400
jne 0x101f36f
push 3
pop eax
jmp 0x101f49f
push esi
push edi
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x410]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
mov edi, 0x1003d6c
push edi
mov esi, 0x80000002
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x101f3c7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push 0x1003d60
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x101f3ce
mov dword [ebp - 8], 2
cmp eax, ebx
jne 0x101f49a
cmp dword [ebp - 8], 2
jne 0x101f457
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov esi, 0x1003d54
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x101f447
push dword [ebp + 8]
call fcn.0101f2ce
mov edi, eax
cmp edi, ebx
je 0x101f41f
cmp dword [ebp - 4], ebx
je 0x101f41b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x101f49d
push 0x14
push dword [ebp + 8]
push 3
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x101f48c
cmp dword [ebp - 4], ebx
je 0x101f443
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x101f49d
mov edi, dword [ebp + 8]
push 5
pop ecx
lea esi, [ebp - 0x410]
rep movsd dword es:[edi], dword [esi]
jmp 0x101f435
cmp dword [ebp - 8], 1
jne 0x101f48c
push dword [ebp + 8]
call fcn.0101f2ce
mov esi, eax
cmp esi, ebx
je 0x101f47d
cmp dword [ebp - 4], ebx
je 0x101f479
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101f49d
push 0x14
push dword [ebp + 8]
push 3
push ebx
push 0x1003d54
jmp 0x101f428
cmp dword [ebp - 4], ebx
je 0x101f49a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x25
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40370d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
push ebx
push esi
push edi
mov ebx, 0x3bc617b3
mov eax, ebx
add eax, ebx
mov ebx, eax
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov byte [ebp - 0x197], 0
jmp 0x40388f
mov eax, ebx
mul ebx
mov dword [ebp - 0x1e8], eax
mov ebx, eax
movzx eax, byte [ebp - 0x197]
push eax
push 0x43042b
lea eax, [ebp - 0x196]
push eax
call 0x4101f0
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x43041c
lea eax, [ebp - 0x196]
push eax
push 0x80000001
call fcn.0040998a
add esp, 0x20
mov dword [ebp - 0x19c], eax
or eax, eax
je 0x4037ad
push 0x100
push dword [ebp + 8]
dec eax
push eax
lea eax, [ebp - 0x100]
add eax, 2
push eax
call fcn.0040369c
add esp, 0x10
xor ebx, 0x12ed
lea edi, [ebp - 0x1c4]
lea esi, [0x42d0b8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x1e4]
lea esi, [0x42d0d8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x1a1], 0
jmp 0x40384d
mov eax, ebx
add eax, ebx
mov ebx, eax
push 0x100
lea eax, [ebp - 0x100]
push eax
movzx edi, byte [ebp - 0x1a1]
shl edi, 2
push dword [ebp + edi - 0x1c4]
lea edi, [ebp - 0x196]
push edi
push 0x80000001
call fcn.0040998a
lea eax, [ebp - 0x100]
push eax
movzx edi, byte [ebp - 0x1a1]
shl edi, 2
push dword [ebp + edi - 0x1e4]
mov edi, dword [ebp + 8]
push edi
push 0x430397
push edi
call 0x4101f0
add esp, 0x28
mov eax, ebx
sub eax, ebx
mov ebx, eax
add byte [ebp - 0x1a1], 1
mov al, byte [ebp - 0x1a1]
cmp al, 8
jb 0x4037e2
inc dword [ebp - 0x1a0]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1ec], eax
push eax
call 0x40ff8c
mov edi, dword [ebp - 0x1ec]
lea edi, [edi + eax + 1]
mov dword [ebp + 8], edi
mov eax, 0x1f78
mul ebx
mov dword [ebp - 0x1f0], eax
mov ebx, eax
add byte [ebp - 0x197], 1
mov al, byte [ebp - 0x197]
cmp al, 0x1e
jb 0x40373d
mov eax, dword [ebp - 0x1a0]
and eax, 0xff
jmp 0x4038b0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405f44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, dword [ebp + 8]
mov ecx, 0xae60305
add ecx, 0xce4
mov esi, ebx
and dword [0x418600], 0
mov eax, ecx
add eax, ecx
mov ecx, eax
and dword [0x419f94], 0
and dword [0x41afa4], 0
and dword [0x418de0], 0
add ecx, 0x35ab
mov dword [0x419b78], 4
mov dword [0x4196d8], 4
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [0x419600], al
movzx eax, byte [0x419600]
or eax, eax
jl 0x406212
cmp eax, 0xff
jg 0x406212
jmp dword [eax*4 + 0x42d1c8]
test byte [0x419f94], 0x40
je 0x4062e9
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [0x42b0c4], al
mov eax, 0x7c27
mul ecx
mov dword [ebp - 0xc], eax
mov ecx, eax
movzx eax, byte [0x42b0c4]
and eax, 0xc0
mov byte [ebp - 5], al
movzx eax, byte [0x42b0c4]
and eax, 7
mov byte [ebp - 6], al
movzx eax, byte [ebp - 5]
cmp eax, 0xc0
je 0x4062e9
cmp byte [ebp - 5], 0x40
jne 0x40626c
inc dword [0x418de0]
mov eax, ecx
sub eax, ecx
mov ecx, eax
movzx eax, byte [ebp - 5]
cmp eax, 0x80
jne 0x406288
mov eax, dword [0x4196d8]
add dword [0x418de0], eax
cmp dword [0x4196d8], 2
jne 0x4062a6
cmp byte [ebp - 5], 0
jne 0x4062e9
cmp byte [ebp - 6], 6
jne 0x4062e9
add dword [0x418de0], 2
jmp 0x4062e9
cmp byte [ebp - 6], 4
jne 0x4062d0
or byte [0x419f94], 0x80
mov eax, ecx
sub eax, ecx
mov ecx, eax
mov eax, esi
inc esi
mov al, byte [eax]
mov byte [0x419b74], al
movzx eax, byte [0x419b74]
and eax, 7
mov byte [ebp - 6], al
cmp byte [ebp - 6], 5
jne 0x4062e3
cmp byte [ebp - 5], 0
jne 0x4062e3
add dword [0x418de0], 4
mov eax, ecx
sub eax, ecx
mov ecx, eax
and dword [0x418de8], 0
jmp 0x40630a
mov eax, esi
inc esi
mov edx, dword [0x418de8]
mov al, byte [eax]
mov byte [edx + 0x4195f8], al
inc dword [0x418de8]
mov eax, dword [0x418de0]
cmp dword [0x418de8], eax
jb 0x4062f2
mov eax, ecx
xor eax, ecx
mov ecx, eax
and dword [0x418de8], 0
jmp 0x40633e
mov eax, esi
inc esi
mov edx, dword [0x418de8]
mov al, byte [eax]
mov byte [edx + 0x42c810], al
inc dword [0x418de8]
mov eax, dword [0x41afa4]
cmp dword [0x418de8], eax
jb 0x406326
mov eax, esi
sub eax, ebx
mov dword [0x418600], eax
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x407c4f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, 0x30b1265f
xor edi, 0x2d18
mov eax, dword [ebp + 8]
add eax, 5
push eax
lea eax, [ebp - 0x101]
push eax
call 0x4101f0
add esp, 8
mov byte [ebp - 1], 0
jmp 0x407ca0
movzx eax, byte [ebp - 1]
cmp byte [ebp + eax - 0x101], 0x2c
jne 0x407c9c
movzx eax, byte [ebp - 1]
mov byte [ebp + eax - 0x101], 0x2e
add byte [ebp - 1], 1
lea eax, [ebp - 0x101]
push eax
call 0x40ff8c
movzx esi, byte [ebp - 1]
cmp esi, eax
jl 0x407c82
mov eax, edi
xor eax, edi
mov edi, eax
push 4
push 0x430168
lea eax, [ebp - 0x101]
push eax
call fcn.00404f4d
mov esi, eax
mov word [ebp - 0x104], si
push 5
push 0x430168
lea eax, [ebp - 0x101]
push eax
call fcn.00404f4d
mov esi, eax
mov word [ebp - 0x106], si
movzx eax, word [ebp - 0x104]
mov byte [ebp + eax - 0x101], 0
mov eax, edi
sub eax, edi
mov edi, eax
movzx eax, word [ebp - 0x106]
mov byte [ebp + eax - 0x101], 0
lea eax, [ebp - 0x101]
push eax
push dword [ebp + 0xc]
call 0x4101f0
mov eax, edi
mul edi
mov dword [ebp - 0x10c], eax
mov edi, eax
lea eax, [ebp - 0x101]
movzx edx, word [ebp - 0x104]
lea eax, [eax + edx + 1]
push eax
call 0x41019c
mov ebx, eax
mov byte [ebp - 0x107], bl
lea eax, [ebp - 0x101]
movzx edx, word [ebp - 0x106]
lea eax, [eax + edx + 1]
push eax
call 0x41019c
add esp, 0x28
mov ebx, eax
mov byte [ebp - 0x108], bl
mov eax, edi
add eax, edi
mov edi, eax
movzx edi, byte [ebp - 0x108]
movzx esi, byte [ebp - 0x107]
movzx esi, si
shl esi, 8
or edi, esi
movzx eax, di
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c55c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40c672
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00407466
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40c5b3
mov byte [ebp - 2], 0
jmp 0x40c5dd
call 0x4101d8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40c5fc
cmp al, 0x7f
ja 0x40c5fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40c61b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call 0x4101c0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call 0x4101b4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call 0x4101b4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40c590
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b7e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x75000]
push edi
jmp 0x4b7e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b7e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7e80
mov eax, 1
add ebx, ebx
jne 0x4b7ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b7eb4
jne 0x4b7ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ed3
dec eax
add ebx, ebx
jne 0x4b7ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b7e98
add ebx, ebx
jne 0x4b7ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b7f25
xor ecx, ecx
sub eax, 3
jb 0x4b7eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b7f5a
sar eax, 1
mov ebp, eax
jmp 0x4b7ef6
add ebx, ebx
jne 0x4b7ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ec4
inc ecx
add ebx, ebx
jne 0x4b7f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b7ec4
add ebx, ebx
jne 0x4b7f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b7f06
jne 0x4b7f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b7f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b7f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b7f36
jmp 0x4b7e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b7f44
add edi, ecx
jmp 0x4b7e86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b7f62
cmp byte [edi], 0x13
jne 0x4b7f62
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b7f67
lea edi, [esi + 0xb3000]
mov eax, dword [edi]
or eax, eax
je 0x4b7fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbe0c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbe21c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b7f94
mov ecx, edi
jns 0x4b7fc3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xbe220]
or eax, eax
je 0x4b7fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b7fb1
call dword [esi + 0xbe230]
mov ebp, dword [esi + 0xbe224]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b8013
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x415757
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41580b
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004156e7
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4157e4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x415832
test ebp, ebp
je 0x415832
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x41583a
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x41587a
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4158d6
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4158d1
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4158bc
test dl, dl
je 0x4158b8
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4158bc
add ecx, 2
add eax, 2
test dl, dl
jne 0x41589c
xor eax, eax
jmp 0x4158c1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4158e0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x415889
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4158f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00415757
test eax, eax
jne 0x41590f
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00415817
mov esi, eax
test esi, esi
jne 0x415945
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x41595f
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret