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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edx
push ecx
push 0x900
mov esi, ebx
mov dword [ebp - 8], ebx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ebx, eax
test ebx, ebx
jne 0x410d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410dbe
test ebx, ebx
je 0x410d8d
push 0
lea eax, [ebp - 8]
push eax
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
push dword [0x42f88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410d86
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410dbe
add edi, dword [ebp - 8]
cmp edi, ebx
jb 0x410d4d
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42c12c
push dword [0x42f88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410dbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp dword [ebp - 4], 0
je 0x410dcd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x410dd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push edx
mov edx, ecx
xor ebx, ebx
and dword [ebp - 4], ebx
lea ecx, [ebp - 8]
call fcn.0040e562
mov edi, dword [ebp - 8]
mov esi, eax
test esi, esi
js 0x410e7b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
test eax, eax
je 0x410e4a
push 0
lea ecx, [ebp - 4]
sub eax, ebx
push ecx
push eax
lea eax, [ebx + edi]
push eax
push dword [0x42f88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410e40
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410e7b
add ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp ebx, eax
jb 0x410e0b
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x42c12c
push dword [0x42f88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410e7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test edi, edi
je 0x410e8f
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x410eca
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x42f058]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
mov dword [esp + 8], ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x100
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x410f95
lea eax, [esp + 8]
push eax
push 0x2001f
push esi
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410faa
mov ecx, dword [esp + 8]
call fcn.00410eca
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410faa
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esp + 8], 0
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410faa
jmp 0x410f9d
cmp esi, 0x80070103
je 0x410fa8
test esi, esi
jne 0x410faa
xor ecx, ecx
jmp 0x410eee
xor esi, esi
cmp dword [esp + 8], 0
je 0x410fbb
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004116a3
mov esp, ebp
pop ebp
ret

Function at 0x410fd1
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42f058]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push str.SOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00414a70
add esp, 0x10
cmp eax, 0x50
jne 0x41100b
mov eax, 0x8007007a
jmp 0x411052
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
test ecx, ecx
jne 0x411060
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00412bc4
pop ecx
pop ecx
test eax, eax
je 0x411042
xor ecx, ecx
mov word [eax], cx
cmp cx, word [eax + 2]
je 0x411023
cmp word [ebp - 0x20c], 0
je 0x411050
test eax, eax
jne 0x41100b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004116a3
mov esp, ebp
pop ebp
ret
cmp ecx, 2
je 0x411079
cmp ecx, 3
je 0x411079
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x41107b
xor eax, eax
cmp eax, 1
je 0x41100b
jmp 0x411052
Function at 0x411082
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
mov eax, ecx
push ebx
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push 0x2001f
push 0
mov ebx, edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x4110b1
xor esi, esi
inc esi
jmp 0x4110f6
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x4110f6
mov ecx, dword [ebp - 4]
call fcn.00410eca
mov esi, eax
test esi, esi
js 0x4110f6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp dword [ebp - 4], 0
je 0x411105
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414032
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4263f0
push 0x4263e8
push 0x4263f0
push 0
call fcn.00413fab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414064
push dword [ebp + 8]
mov ecx, esi
call fcn.00411dd2
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x4140a6
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426414
push 0x42640c
push 0x426414
push 2
call fcn.00413fab
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x4140d7
mov ecx, esi
call fcn.00411dd2
call esi
jmp 0x4140dd
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x4140e0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426428
push 0x426420
push 0x426428
push 3
call fcn.00413fab
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x414114
mov ecx, esi
call fcn.00411dd2
call esi
jmp 0x41411a
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x41949c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
invalid
dec dword [ebx]
cmp dword [ebp - 0x398], 0
je 0x419a23
cmp dword [ebp + 0xc], 1
je 0x419a23
cmp dword [ebp + 0xc], 8
jne 0x4199eb
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
invalid
test dword [eax - 7], ebx
invalid
invalid
Function at 0x419508
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x14]
call fcn.00418b2a
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00418b75
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00418b2a
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00418b65
outsd dx, dword [esi]
mov dword [eax - 0x36], edi
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
sti
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
invalid

Function at 0x419757
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.00418b75
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00418b2a
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00418b65
popfd
fiadd word [ebx]
adc eax, dword [eax - 0x5135b]
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
invalid
call [edx - 0x3a]
test esp, esi
cli
invalid
push dword [ebp - 0x3a]
test ebp, esi
cli
invalid
push dword [eax - 0x3a]
test esi, esi
cli
invalid
invalid
jns 0x419790
test edi, esi
cli
invalid
dec dword [edi - 0x3a]
test eax, edi
cli
invalid
push dword [ebp - 0x3a]
test ecx, edi
cli
invalid
jmp dword [esi - 0x3a]
test edx, edi
cli
invalid
invalid
jns 0x4197ac
test ebx, edi
cli
invalid
call [ecx*4 - 0x5137b]
sbb al, 0x8d
test esp, ebp
cli
invalid
call dword [eax - 0x18]
jge 0x4197e9
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00418b2a
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00418b65
adc al, ch
mov byte [0x10468d2], al
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1

Function at 0x419839
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x398], 0
je 0x419859
Function at 0x4037a0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403970
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00472e50
jmp fcn.004037a0
Function at 0x40c210
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c3db
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40c239
mov eax, 0x7000000
jmp 0x40c241
test eax, eax
je 0x40c3b6
mov dword [esp + 0x34], eax
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov ebx, dword [ecx + 0x44c]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov dword [esp], edx
call fcn.00474200
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0xe3c380]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40c3ce
cmp edx, 0x21
jae 0x40c3c2
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00464c60
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00464d30
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xb4f088]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xb4f0e0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c391
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xb4f118]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.004742e0
mov eax, edx
mov ecx, 0x21
call fcn.004743b0
nop
call fcn.00472e50
jmp fcn.0040c210
Function at 0x414920
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414b1e
sub esp, 0x18
mov eax, dword [0xea301c]
test eax, eax
jne 0x414b07
nop
nop
lea eax, [0xea300c]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xea3010]
test eax, eax
je 0x414968
cmp dword [eax + 8], 0xcc
jne 0x4149de
mov edx, dword [0xea3014]
test edx, edx
jne 0x4149c0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xea8d30]
mov dword [esp + 8], eax
call fcn.0040c3f0
mov eax, dword [esp + 0xc]
mov dword [0xea3014], eax
mov ecx, dword [0xea3018]
mov dword [eax], ecx
mov eax, dword [0xea3014]
mov dword [0xea3018], eax
movzx eax, byte [0xea3900]
test al, al
jne 0x4149c0
xor eax, eax
jmp 0x414ad8
mov edx, dword [0xea3014]
mov ebx, dword [edx + 4]
mov dword [0xea3014], ebx
mov ebx, dword [0xea3010]
mov dword [edx + 4], ebx
mov dword [0xea3010], edx
mov edx, dword [0xea3010]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x414ab7
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00478fe0
mov eax, dword [0xea3498]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x414a30
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x414a70
call fcn.004742c0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0xea300c]
mov dword [esp], eax
call fcn.0040aa80
nop
lea eax, [0xea3008]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00479160
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004742e0
lea edx, [0xe363e4]
movzx ebx, byte [edx + eax]
lea ebp, [0xea3900]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x4149c0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x414ac1
mov ecx, 5
call fcn.004742d0
lea eax, [0x934eaa]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046da30
nop
call fcn.00472e50
jmp fcn.00414920
Function at 0x419b40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419bc9
sub esp, 0x10
mov eax, dword [esp + 0x14]
test byte [eax], al
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 1
call fcn.00478e90
movzx eax, byte [esp + 0xc]
test al, al
je 0x419bae
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 6]
test cl, cl
jne 0x419bb2
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.00419be0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0041a190
add esp, 0x10
ret
add esp, 0x10
ret
lea eax, [0x934ec2]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0046da30
nop
call fcn.00472e50
jmp fcn.00419b40
Function at 0x429920
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429afa
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x429a25
cmp cl, 1
je 0x4299b4
cmp cl, 2
jne 0x429ae3
mov ecx, dword [eax + 8]
test byte [ecx], al
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00478f30
nop
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xe8f69c]
sub eax, dword [0xe8f680]
nop
mov dword [0xe8f69c], eax
mov eax, dword [0xe8f68c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe8f68c], ecx
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040aa80
jmp 0x429adf
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00414920
nop
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xe8f5fc]
sub eax, dword [0xe8f5e0]
nop
mov dword [0xe8f5fc], eax
mov eax, dword [0xe8f5ec]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe8f5ec], ecx
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040aa80
jmp 0x429adf
cmp cl, 3
je 0x429a87
cmp cl, 4
jne 0x429a38
mov byte [eax + 8], 1
jmp 0x429adf
cmp cl, 5
jne 0x429ae3
nop
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xe8f674]
sub eax, dword [0xe8f658]
nop
mov dword [0xe8f674], eax
mov eax, dword [0xe8f664]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe8f664], ecx
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040aa80
jmp 0x429adf
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042ef20
nop
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040a860
mov eax, dword [0xe8f624]
sub eax, dword [0xe8f608]
nop
mov dword [0xe8f624], eax
mov eax, dword [0xe8f614]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xe8f614], ecx
nop
nop
lea eax, [0xe8f6a8]
mov dword [esp], eax
call fcn.0040aa80
add esp, 0x14
ret
lea eax, [0x92e208]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0046da30
nop
call fcn.00472e50
jmp fcn.00429920
Function at 0x42eff0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f172
sub esp, 0x24
mov eax, dword [0xea385c]
test eax, eax
je 0x42f11d
mov eax, dword [esp + 0x38]
cmp eax, 5
jg 0x42f128
mov ecx, dword [0xea317c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x20], edx
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x42f076
cmp ecx, ebx
je 0x42f076
mov ecx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov esi, dword [edx + 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0045c0b0
mov eax, dword [esp + 0x14]
jmp 0x42f0a0
mov ecx, dword [edx + 0x178]
mov ebx, dword [edx + 0x17c]
mov ebp, dword [edx + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00472100
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
cmp eax, edx
ja 0x42f121
mov ecx, dword [ebx + 0x178]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.0042fa30
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0xea317c]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42f119
movzx eax, byte [ebx + 0x69]
test al, al
je 0x42f119
mov dword [ebx + 8], 0xfffffade
add esp, 0x24
ret
add esp, 0x24
ret
mov ecx, eax
call fcn.00474310
call fcn.0043a3b0
lea eax, [0x92d5d1]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0043ac10
mov eax, dword [esp + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043aa30
call fcn.0043a410
lea eax, [0x92fb5c]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0046da30
nop
call fcn.00472e50
jmp fcn.0042eff0