joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10151c70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101a33cc
call fcn.10078f4a
mov eax, dword [0x101a0ab8]
mov dword [ebp - 8], eax
jmp 0x10151ca7
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10151cc0
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x10151cbe
mov eax, dword [ebp - 8]
jmp 0x10151d43
jmp 0x10151c9f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100785b3
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10151d40
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 8]
cmp eax, 0xfe0
jbe 0x10151d03
mov eax, dword [ebp - 8]
mov ecx, dword [0x101a0ab8]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov dword [0x101a0ab8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.100785b3
mov esp, ebp
pop ebp
ret
Function at 0x10153810
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10199680]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101a3554
call fcn.10078f4a
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x101a0aa0]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1015387d
mov eax, dword [ebp - 0x30]
sub eax, 5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebp - 0x24], eax
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100785b3
test eax, eax
jne 0x101538a8
mov eax, 0xa
jmp 0x101539aa
cmp dword [ebp + 0xc], 0
je 0x101538f5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax], 0xe9
mov eax, dword [ebp - 0x30]
add eax, 5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
sub edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 1], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x101538f3
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov byte [eax], 0xeb
mov eax, dword [ebp - 0x48]
mov byte [eax + 1], 0xf9
jmp 0x10153931
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x1015391c
push 7
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10078dc4
add esp, 0xc
jmp 0x10153931
push 5
mov eax, dword [ebp - 0xc]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10078dc4
add esp, 0xc
mov esi, esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100785b3
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100785b3
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100785b3
mov al, byte [ebp + 0xc]
and al, 1
shl al, 1
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfd
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
mov al, byte [ebp + 0xc]
and al, 1
shl al, 2
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + 0x14]
and dl, 0xfb
or dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x14], dl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x101539dc]
call fcn.100781d5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077ce9
add esp, 0x10c
cmp ebp, esp
call fcn.100785b3
mov esp, ebp
pop ebp
ret
Function at 0x10153b30
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
lea edi, [ebp - 0x40]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10199680]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x101a3554
call fcn.10078f4a
push 0
push 4
call fcn.10077c1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x10153cbb
mov dword [ebp - 0x30], 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10077ab9
test eax, eax
je 0x10153ca8
cmp dword [ebp - 0x30], 0x10
jb 0x10153c8c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100785b3
cmp dword [ebp - 0x24], eax
jne 0x10153c8c
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100785b3
cmp dword [ebp - 0x28], eax
je 0x10153c8c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10153c13
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 2
mov esi, esp
push ecx
push 0
mov edx, dword [0x101a0574]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100785b3
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10153c11
jmp 0x10153ca8
jmp 0x10153c6c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x10153c6c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x101a0574]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100785b3
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10153c56
jmp 0x10153ca8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov dword [ebp - 0x30], 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100770ff
test eax, eax
jne 0x10153b91
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100785b3
push edx
mov ecx, ebp
push eax
lea edx, [0x10153cec]
call fcn.100781d5
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077ce9
add esp, 0x100
cmp ebp, esp
call fcn.100785b3
mov esp, ebp
pop ebp
ret
Function at 0x10153f90
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101a3554
call fcn.10078f4a
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10153b30
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1015406b
mov dword [ebp - 8], 0
jmp 0x10153ffc
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x1015406b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100785b3
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10154069
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100785b3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.10154d70
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100785b3
jmp 0x10153ff3
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.100785b3
mov esp, ebp
pop ebp
ret

Function at 0x10155120
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
mov ecx, 6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101a3554
call fcn.10078f4a
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x101551dc
mov dword [ebp - 8], 0
jmp 0x10155163
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x101551be
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100785b3
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x101551bc
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100785b3
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100785b3
jmp 0x1015515a
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x101a0574]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100785b3
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.100785b3
mov esp, ebp
pop ebp
ret
Function at 0x10155910
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xc]
mov ecx, 3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101a3618
call fcn.10078f4a
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10155978
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x90
je 0x10155978
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xcc
je 0x10155978
xor eax, eax
jmp 0x101559b9
mov dword [ebp - 8], 1
jmp 0x1015598a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x101559b4
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
cmp ecx, eax
je 0x101559b2
xor eax, eax
jmp 0x101559b9
jmp 0x10155981
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.100785b3
mov esp, ebp
pop ebp
ret

Function at 0x1015b8f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1015bb00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1015b9bd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10199654]
jb 0x1015b93a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10199658]
ja 0x1015b93a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1015b90a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10077d16
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1015b960
jmp 0x1015b9bd
cmp dword [ebp - 0x14], 0x10000
jne 0x1015b9a3
cmp dword [ebp - 0x18], 0x10000
jb 0x1015b9a3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1015b996
mov eax, dword [ebp - 8]
jmp 0x1015b9bf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1015b9b8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1015bb00
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1015b90a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1015ba00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1015bb30
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1015bac5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10199654]
jb 0x1015ba45
mov eax, dword [ebp - 4]
cmp eax, dword [0x10199658]
ja 0x1015ba45
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1015ba15
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10077d16
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1015ba6b
jmp 0x1015bac5
cmp dword [ebp - 0x14], 0x10000
jne 0x1015baae
cmp dword [ebp - 0x18], 0x10000
jb 0x1015baae
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1015baa1
mov eax, dword [ebp - 8]
jmp 0x1015bac7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1015bac0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1015bb30
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1015ba15
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1015e050
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x101a0660], 0
je 0x1015e066
xor eax, eax
jmp 0x1015e282
cmp dword [0x101a065c], 0
je 0x1015e079
mov eax, dword [0x101a065c]
jmp 0x1015e282
push 0x24
push 0
push 0x101a0630
call fcn.10077d16
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x101a0630], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x101a0634], eax
cmp dword [0x101a0634], 0
jne 0x1015e11e
mov dword [0x101a0660], 1
cmp dword [0x101a0634], 0
je 0x1015e0d1
mov eax, dword [0x101a0634]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x101a0638], 0
mov dword [0x101a063c], 0
mov dword [0x101a0640], 0
mov dword [0x101a0644], 0
mov dword [0x101a0648], 0
mov dword [0x101a064c], 0
mov dword [0x101a0650], 0
xor eax, eax
jmp 0x1015e282
push str.ImagehlpApiVersionEx
mov ecx, dword [0x101a0634]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a0638], eax
push str.SymInitialize
mov edx, dword [0x101a0634]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a063c], eax
push str.SymSetOptions
mov eax, dword [0x101a0634]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a0640], eax
push str.SymGetOptions
mov ecx, dword [0x101a0634]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a0644], eax
push str.SymLoadModule64
mov edx, dword [0x101a0634]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a0648], eax
push str.SymGetModuleInfo64
mov eax, dword [0x101a0634]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a064c], eax
push str.SymFromName
mov ecx, dword [0x101a0634]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101a0650], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.10077d16
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x101a0638], 0
je 0x1015e203
cmp dword [0x101a063c], 0
je 0x1015e203
cmp dword [0x101a0648], 0
je 0x1015e203
cmp dword [0x101a064c], 0
je 0x1015e203
cmp dword [0x101a0650], 0
jne 0x1015e208
jmp 0x1015e0b2
lea ecx, [ebp - 0xc]
push ecx
call dword [0x101a0638]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x1015e220
jmp 0x1015e0b2
push 0
push 0
mov eax, dword [0x101a0630]
push eax
call dword [0x101a063c]
test eax, eax
jne 0x1015e239
jmp 0x1015e0b2
cmp dword [0x101a0644], 0
je 0x1015e273
cmp dword [0x101a0640], 0
je 0x1015e273
call dword [0x101a0644]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x101a0640]
mov dword [0x101a065c], 0x101a0630
mov eax, dword [0x101a065c]
mov esp, ebp
pop ebp
ret
Function at 0x43d861
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 0x43d88f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43d8ad
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043d7cb
jmp 0x43d8ad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43d8ad
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043d7cb
test edi, edi
mov eax, edi
jne 0x43d897
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x567c94]
test ecx, ecx
je 0x43d960
jmp 0x43d860
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40a320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, resource.2
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x40a342
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a349
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a338
mov eax, 1
add ebx, ebx
jne 0x40a35b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a350
jne 0x40a36c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a350
xor ecx, ecx
sub eax, 3
jb 0x40a380
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a3f2
mov ebp, eax
add ebx, ebx
jne 0x40a38b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a3bc
inc ecx
add ebx, ebx
jne 0x40a3a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a39d
jne 0x40a3b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a39d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a3dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a3cd
jmp 0x40a33e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a3dc
add edi, ecx
jmp 0x40a33e
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a3fa
cmp byte [edi], 0
jne 0x40a3fa
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 0x40a3ff
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a477
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcbc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcc48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a42c
mov ecx, edi
jns 0x40a45b
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 + 0xcc50]
or eax, eax
je 0x40a471
mov dword [ebx], eax
add ebx, 4
jmp 0x40a449
call dword [esi + 0xcc4c]
mov ebp, dword [esi + 0xcc54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x40a4ab
sub esp, 0xffffff80
jmp 0x401cd0
Function at 0x402b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x164
push ebx
push ebp
push esi
push edi
push 0x3ea
call fcn.00429dad
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x402b90
xor eax, eax
jmp 0x402b93
mov eax, dword [edi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x1004
push eax
call ebp
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x402c96
xor esi, esi
cmp eax, ebx
jle 0x402c96
cmp edi, ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0xff
mov dword [esp + 0x24], 1
jne 0x402be1
xor eax, eax
jmp 0x402be4
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x1005
push eax
call ebp
cmp eax, 0xffffffff
je 0x402c10
mov edx, dword [esp + 0x178]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.0041b290
add esp, 8
test eax, eax
je 0x402c26
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x402bb9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret 0xc
mov ecx, dword [esp + 0x17c]
push 0xe
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x2e], bl
call fcn.0040dcf0
add esp, 0xc
cmp edi, ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x54], 1
mov dword [esp + 0x60], eax
jne 0x402c59
xor eax, eax
jmp 0x402c5c
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
push esi
push 0x102e
push eax
call ebp
cmp edi, ebx
mov edx, dword [esp + 0x180]
mov dword [esp + 0x54], 3
mov dword [esp + 0x60], edx
jne 0x402c85
xor edi, edi
jmp 0x402c88
mov edi, dword [edi + 0x1c]
lea eax, [esp + 0x4c]
push eax
push esi
push 0x102e
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret 0xc

Function at 0x4055e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor ecx, ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
ret