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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4255d4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0x44], 0
push esi
je 0x405c18
cmp byte [edi + 0x4a], 0
je 0x405c18
mov eax, dword [edi]
mov esi, 0xffff
push esi
mov ecx, edi
call dword [eax + 0xc]
cmp si, ax
jne 0x405b6d
xor al, al
jmp 0x405c1a
lea esi, [ebp - 0x20]
call fcn.004053da
push ebx
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x405bba
lea eax, [ebp - 0x20]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x24]
push ebx
mov ebx, dword [ebp - 0x10]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x405bbf
dec eax
je 0x405bc3
dec eax
dec eax
je 0x405c14
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0040550e
mov al, bl
pop ebx
jmp 0x405c1a
mov edx, dword [ebp - 0x20]
jmp 0x405b84
mov byte [edi + 0x4a], 0
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x405bcf
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub esi, eax
je 0x405bf5
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x405be2
lea eax, [ebp - 0x20]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.0040dae3
add esp, 0x10
cmp esi, eax
jne 0x405ba7
cmp byte [edi + 0x4a], 0
je 0x405c14
test esi, esi
jne 0x405b76
push esi
push 8
pop ebx
lea esi, [ebp - 0x20]
call fcn.0040541e
jmp 0x405b76
mov bl, 1
jmp 0x405ba9
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040bb88
leave
ret
Function at 0x40684c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x4255d4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ecx, 0x80000002
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x4ac], ecx
jb 0x406882
mov eax, dword [eax]
lea edx, [ebp - 0x4ac]
push edx
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x40699b
push 0x42284c
push edi
call fcn.00401312
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4b0], 1
mov dword [ebp - 0x4b4], 0x400
jb 0x4068cb
mov eax, dword [esi]
jmp 0x4068cd
mov eax, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x4b4]
push ecx
lea ecx, [ebp - 0x48c]
push ecx
lea ecx, [ebp - 0x4b0]
push ecx
push 0
push eax
push dword [ebp - 0x4ac]
call edi
mov ebx, eax
test ebx, ebx
jne 0x40699b
push 4
pop eax
cmp dword [ebp - 0x4b0], eax
je 0x40691c
lea eax, [ebp - 0x48c]
push eax
push dword [ebp - 0x4bc]
call fcn.00401312
jmp 0x40699b
and dword [ebp - 0x4b8], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4b4], eax
jb 0x406931
mov esi, dword [esi]
lea eax, [ebp - 0x4b4]
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0
push esi
push dword [ebp - 0x4ac]
call edi
mov ebx, eax
test ebx, ebx
jne 0x40699b
push eax
push dword [ebp - 0x4b8]
lea eax, [ebp - 0x8c]
push 0x422ae4
push 0x40
push eax
call fcn.00406830
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
lea esi, [ebp - 0x4a8]
call fcn.004012da
mov edi, dword [ebp - 0x4bc]
call fcn.00401364
push ebx
push 1
mov ecx, esi
call fcn.00401451
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040bb88
leave
ret 4

Function at 0x4069ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x58
call fcn.0040af82
xor edx, edx
pop ecx
cmp dword [ebp + 0xc], edx
jle 0x4069f0
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x426560
mov edi, eax
sub esi, ecx
sub edi, ecx
mov cx, word [esi + edx*2 + 0x426560]
xor cx, word [edx*2 + 0x426560]
inc edx
mov word [edi + edx*2 + 0x42655e], cx
cmp edx, dword [ebp + 0xc]
jl 0x4069d0
pop edi
pop esi
xor ecx, ecx
mov word [eax + edx*2], cx
pop ebp
ret 8

Function at 0x40765c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 8
jb 0x407664
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40767f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40767f
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x407682
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4255d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
and dword [edi + 0x10], 0
xor eax, eax
mov esi, edx
mov dword [edi + 0x14], 7
push eax
mov dword [ebp - 0x234], esi
mov word [edi], ax
call fcn.0040e2af
push eax
call fcn.0040e27c
pop ecx
pop ecx
call fcn.0040e28e
cdq
mov ecx, 0x2710
idiv ecx
mov dword [ebp - 0x22c], edx
cmp dword [esi + 0x14], 8
jb 0x4076dc
mov eax, dword [esi]
jmp 0x4076de
mov eax, esi
push dword [ebp - 0x22c]
push eax
push 6
push 0x426190
call fcn.004069ae
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
lea esi, [ebp - 0x228]
call fcn.004012da
mov esi, eax
call fcn.00401364
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.00401451
cmp dword [edi + 0x14], 8
jb 0x407734
mov eax, dword [edi]
jmp 0x407736
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40775a
shr eax, 4
and al, 1
je 0x40775a
inc dword [ebp - 0x22c]
mov esi, dword [ebp - 0x234]
jmp 0x4076d2
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040bb88
leave
ret
Function at 0x40776a
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x4255d4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x4dc], ecx
call fcn.0040439c
mov eax, dword [ebp - 0x24c]
push 8
pop ebx
cmp dword [ebp - 0x238], ebx
jae 0x4077ac
lea eax, [ebp - 0x24c]
lea ecx, [ebp - 0x4d4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4d8], eax
cmp eax, 0xffffffff
jne 0x4077e9
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.00401451
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040bb88
leave
ret 4
push 0x422844
lea esi, [ebp - 0x284]
call fcn.004012da
push 0x422848
lea esi, [ebp - 0x268]
call fcn.004012da
test byte [ebp - 0x4d4], 0x10
je 0x407868
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x284]
call fcn.0040657a
test eax, eax
je 0x4078d0
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040657a
test eax, eax
je 0x4078d0
lea eax, [ebp - 0x4a8]
push eax
lea esi, [ebp - 0x230]
call fcn.004012da
mov ecx, dword [ebp - 0x4dc]
mov eax, esi
push eax
call fcn.0040776a
jmp 0x4078c1
cmp dword [edi + 0x14], ebx
jb 0x407871
mov eax, dword [edi]
jmp 0x407873
mov eax, edi
lea ecx, [ebp - 0x4a8]
push ecx
push eax
push 5
push 0x42619c
call fcn.004069ae
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
lea esi, [ebp - 0x230]
call fcn.004012da
mov eax, dword [ebp - 0x230]
cmp dword [ebp - 0x21c], ebx
jae 0x4078ba
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401451
lea eax, [ebp - 0x4d4]
push eax
push dword [ebp - 0x4d8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407809
push 9
push 0x427304
call fcn.00401860
push eax
push ebx
push 0x4271ac
call fcn.00401814
push eax
call fcn.004018a6
push dword [ebp - 0x4d8]
call eax
cmp dword [edi + 0x14], ebx
jb 0x407918
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 1
lea ecx, [ebp - 0x268]
call fcn.00401451
push 0
push 1
lea ecx, [ebp - 0x284]
call fcn.00401451
mov bl, 1
jmp 0x4077c7
Function at 0x409148
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x409153
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x409207
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4223f0]
add ecx, 8
sub edi, 8
dec esi
jne 0x40916a
pop ebx
test edi, edi
je 0x409220
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4223f0]
inc ecx
dec edi
jne 0x40920b
pop esi
not eax
pop edi
ret

Function at 0x409225
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x4223f0]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4223f0]
pop esi
mov dword [ecx + 8], eax
ret

Function at 0x409888
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x4098b8
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4098b3
mov byte [esi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x4098e0
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4098c9
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0040e770
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret 0xc
Function at 0x40a66b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebx], 0
push esi
push edi
jne 0x40a70f
cmp dword [ebx + 4], 0xffffffff
jne 0x40a70f
lea esi, [ebx + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a69a
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp eax, 0x5c
je 0x40a6d2
cmp eax, 0x2f
je 0x40a6d2
sub esi, 2
mov ax, word [esi + 2]
add esi, 2
test ax, ax
jne 0x40a6be
mov edi, esi
mov esi, 0x42102c
movsd dword es:[edi], dword [esi]
push 0x20
call fcn.0040c1d3
and dword [eax + 0x1c], 0
and dword [eax + 0xc], 0
pop ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x18], ecx
call fcn.00409afd
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
jmp 0x40a714
mov eax, 0x1000000
pop edi
pop esi
pop ebp
ret 8

Function at 0x40bb88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4255d4]
jne 0x40bb92
repz ret
jmp fcn.00410681
Function at 0x41c0e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4255d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00411316
and dword [ebp - 0x14], 0
cmp dword [0x476974], 0
mov dword [ebp - 0x18], eax
jne 0x41c196
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41c23e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41c23e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x476974], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x476978], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47697c], eax
call edi
push eax
call esi
mov dword [0x476984], eax
test eax, eax
je 0x41c196
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x476980], eax
mov eax, dword [0x476980]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41c1ef
cmp dword [0x476984], ecx
je 0x41c1ef
push eax
call esi
push dword [0x476984]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41c1ef
test ebx, ebx
je 0x41c1ef
call edi
test eax, eax
je 0x41c1e6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41c1e6
test byte [ebp - 8], 1
jne 0x41c1ef
or dword [ebp + 0x10], 0x200000
jmp 0x41c222
mov eax, dword [0x476978]
cmp eax, dword [ebp - 0x18]
je 0x41c222
push eax
call esi
test eax, eax
je 0x41c222
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41c222
mov eax, dword [0x47697c]
cmp eax, dword [ebp - 0x18]
je 0x41c222
push eax
call esi
test eax, eax
je 0x41c222
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x476974]
call esi
test eax, eax
je 0x41c23e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41c240
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bb88
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x408a51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x408a60
pop dword [ebp - 0x30]
mov eax, 0xf50414cd
add eax, 0xb3c7593
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x3c9e932d
sub dword [ebp - 0x40], 0xee4c4de2
mov dword [ebp - 0x3c], 0xa1601fc3
sub dword [ebp - 0x3c], 0x6f2cd37e
mov dword [ebp - 0x38], 0x7d7b70f
add dword [ebp - 0x38], 0x44748d1f
mov dword [ebp - 0x34], 0x36fe3099
sub dword [ebp - 0x34], 0x36fe3099
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x3ece69ec
add dword [ebp - 0x40], 0x35a3ff6a
mov dword [ebp - 0x3c], 0xa6bd531f
add dword [ebp - 0x3c], 0x9aaf0e56
mov dword [ebp - 0x38], 0x3533a1aa
add dword [ebp - 0x38], 0x2e3bcac2
mov dword [ebp - 0x34], 0xc4c97bf3
add dword [ebp - 0x34], 0x3b36840d
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x2a8267c
add eax, 0xfd98a9d0
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x39ea7
push 0
call eax
mov ecx, 0x8e13074
sub ecx, 0x8e0e6d9
xor esi, esi
add esi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x30]
mov ebx, 0xe88a2930
sub ebx, 0x7ba16de8
add dword [ebp - 0x1c], edx
mov edi, dword [edx]
mov dword [ebp - 0x28], 0x200eabb5
xor edi, ebx
xor dword [ebp - 8], edx
mov dword [esi], edi
add dword [ebp - 0x14], esi
add esi, 4
add edx, 4
loop 0x408b79
add eax, 0x224515eb
add eax, 0xddbc0354
xor ebx, ebx
add ebx, eax
add eax, 0xf93f6627
add eax, 0x6c099de
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401dd2
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 0x401e86
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401d62
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x401e5f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401e92
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 0x401ead
test ebp, ebp
je 0x401ead
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x401eb5
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 0x401ef5
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 0x401f51
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x401f4c
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 0x401f37
test dl, dl
je 0x401f33
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x401f37
add ecx, 2
add eax, 2
test dl, dl
jne 0x401f17
xor eax, eax
jmp 0x401f3c
sbb eax, eax
or eax, 1
test eax, eax
je 0x401f5b
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x401f04
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 0x401f72
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00401dd2
test eax, eax
jne 0x401f8a
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.00401e92
mov esi, eax
test esi, esi
jne 0x401fc0
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x401fda
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x4020d2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00401dd2
mov esi, eax
test esi, esi
jne 0x4020f0
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00401e92
mov dword [esp + 0x18], eax
test eax, eax
je 0x4020e8
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00401e92
mov dword [esp + 0x34], eax
test eax, eax
je 0x4020e8
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00401e92
mov dword [esp + 0x28], eax
test eax, eax
je 0x4020e8
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00401e92
mov dword [esp + 0x30], eax
test eax, eax
je 0x4020e8
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x4022b7
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x4022b7
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x40221a
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x40229b
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x40223d
movzx esi, ax
jmp 0x402242
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x402261
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x402270
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x4022c4
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x402232
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x4021f7
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x4022ed
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x4022ed
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x4022d2
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret