joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ab56
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x40144c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42abaf
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x42abaf
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x42abaf
xor eax, eax
inc eax
jmp 0x42abb1
xor eax, eax
leave
ret 0x10
Function at 0x44534a
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x40144c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4453ba
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x4052d8
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4453b1
cmp dword [ebp - 0xc], 4
jne 0x4453b1
cmp dword [ebp - 0x10], edi
je 0x4453b1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x60d298], edi
xor eax, eax
jmp 0x4453f9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x60d298], edi
jge 0x4453f4
lea eax, [ebp - 0x34]
push eax
mov dword [0x60d298], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4453f4
cmp word [ebp - 0x14], 5
jb 0x4453f4
call fcn.0044531d
test eax, eax
je 0x4453f4
emms
mov dword [0x60d298], 1
mov eax, dword [0x60d298]
pop edi
leave
ret

Function at 0x4454f6
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x625894]
push edi
push 0x25
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
jne 0x445536
inc eax
jmp 0x445570
xor eax, eax
inc eax
cmp dword [ebp - 0x88], eax
jne 0x445564
cmp dword [ebp - 0x94], 4
ja 0x445560
jne 0x445570
cmp dword [ebp - 0x90], 0xa
jb 0x445570
cmp word [ebp - 0x8c], 0x55d
jb 0x445570
xor eax, eax
jmp 0x445570
xor eax, eax
cmp dword [ebp - 0x88], 2
setne al
mov ecx, dword [ebp - 4]
call fcn.006056c0
leave
ret

Function at 0x44557f
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x625894]
push edi
push 0x25
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x4455e9
cmp dword [ebp - 0x88], 2
jne 0x4455e9
cmp dword [ebp - 0x94], 5
jb 0x4455e9
cmp dword [ebp + 8], 0xa
je 0x4455df
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x445620
call fcn.00445440
and eax, 8
jmp 0x445620
mov eax, dword [ebp + 8]
sub eax, 6
je 0x44560b
dec eax
je 0x445604
sub eax, 3
jne 0x445614
call fcn.004454f6
test eax, eax
je 0x4455df
jmp 0x445614
call fcn.00445401
jmp 0x445620
call fcn.004454f6
test eax, eax
je 0x445618
xor eax, eax
jmp 0x445620
call fcn.00445440
and eax, 4
mov ecx, dword [ebp - 4]
call fcn.006056c0
leave
ret 4
Function at 0x475058
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [esi + 0xc]
call fcn.00474f9a
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x47508a
mov esi, 0x8007000e
jmp 0x475122
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47508f
sub eax, ecx
push ebx
lea ebx, [eax + 1]
mov eax, dword [ebp + 0x14]
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4750a3
sub eax, edi
inc eax
mov dword [ebp + 0x10], eax
add eax, ebx
push eax
mov dword [ebp + 0xc], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jne 0x4750ca
mov esi, 0x8007000e
jmp 0x475120
mov esi, dword [esi]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebx]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
lea esi, [ebp - 4]
push esi
push eax
push dword [ebp + 0xc]
push 0
push 0
push 0x4019e0
push ecx
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x475120
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x475133
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
pop esi
leave
ret 0x14
Function at 0x475148
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47515e
sub eax, esi
lea esi, [eax + 1]
mov eax, dword [ebx + 8]
lea eax, [eax + esi + 4]
push eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
test edx, edx
pop ecx
mov dword [ebp - 0xc], edx
jne 0x47518e
mov esi, 0x8007000e
jmp 0x4751f3
push edi
mov ecx, esi
mov esi, dword [ebx]
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
shr ecx, 2
add eax, edx
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
lea edi, [eax + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
lea esi, [ebp - 4]
push esi
push edx
push dword [ebp - 8]
push 0
push 0
push 0x4019f0
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
pop edi
jge 0x4751f3
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x475204
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x47521a
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47522f
sub eax, ecx
push ebx
lea ebx, [eax + 1]
lea eax, [ebx + 4]
push eax
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
test edx, edx
pop ecx
mov dword [ebp - 0xc], edx
jne 0x475259
mov esi, 0x8007000e
jmp 0x4752a5
mov esi, dword [esi]
push edi
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
lea esi, [ebp - 4]
push esi
push edx
push dword [ebp - 8]
mov dword [ebx + edx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push 0
push 0
push 0x4019d0
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
pop edi
jge 0x4752a5
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
pop ebx
je 0x4752b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x4752cc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [edi]
call fcn.00474f9a
test eax, eax
jne 0x4752f6
mov esi, 0x8007000e
jmp 0x475393
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4752fb
mov edx, dword [ebp + 0x18]
push ebx
lea ebx, [ebp - 4]
push ebx
push eax
sub ecx, esi
mov esi, dword [edx]
inc ecx
push ecx
xor ebx, ebx
push ebx
push ebx
push 0x4019c0
push edx
call dword [esi + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x475331
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x475392
cmp dword [edi + 4], ebx
mov dword [ebp + 0xc], ebx
jbe 0x475392
xor ebx, ebx
mov eax, dword [edi + 8]
add eax, ebx
mov ecx, dword [eax + 4]
dec ecx
je 0x47536c
dec ecx
je 0x47535e
dec ecx
je 0x475350
xor esi, esi
jmp 0x475384
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.0047521a
jmp 0x47537e
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00475148
jmp 0x47537e
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00475058
mov esi, eax
test esi, esi
jl 0x475392
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add ebx, 0x10
cmp eax, dword [edi + 4]
jb 0x47533b
pop ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x4753a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 0x14
Function at 0x4753ad
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push edi
push 0x2c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
jne 0x4753e2
push 0x405ee0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x8007000e
jmp 0x4754be
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x40]
push 4
lea eax, [edx + 0x10]
mov dword [eax], ecx
mov esi, dword [ebx + 0x20]
pop ecx
add eax, ecx
mov dword [eax], esi
mov esi, dword [ebx + 0x24]
add eax, ecx
mov dword [eax], esi
mov esi, dword [ebx + 0x28]
add eax, ecx
mov dword [eax], esi
mov esi, dword [ebx + 0x30]
add eax, ecx
mov dword [eax], esi
add eax, ecx
mov ecx, dword [ebx + 0x34]
lea esi, [ebp - 4]
push esi
push edx
push 0x2c
mov dword [eax], ecx
mov ecx, dword [ebx + 0x38]
xor esi, esi
push esi
push esi
mov dword [eax + 4], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push 0x405dd4
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, esi
jl 0x47548f
mov ebx, dword [ebx + 0x44]
cmp ebx, esi
je 0x47549c
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.00474f9a
cmp eax, esi
jne 0x475464
mov edi, 0x8007000e
jmp 0x4754bc
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x475469
mov edx, dword [ebp - 4]
sub ecx, edi
mov edi, dword [edx]
lea ebx, [ebp - 8]
push ebx
push eax
inc ecx
push ecx
push esi
push esi
push 0x405e34
push edx
call dword [edi + 0x1c]
mov edi, eax
cmp edi, esi
jge 0x47549c
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4754bc
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x4754bc
cmp dword [eax], 0
je 0x4754bc
push dword [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call fcn.004752cc
mov edi, eax
pop esi
pop ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x4754cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4754e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
pop edi
leave
ret 0x18
Function at 0x4755aa
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and dword [ebp - 4], 0
push ebx
push esi
push edi
push eax
call dword [ecx + 0x10]
mov esi, eax
lea edi, [esi + esi*2]
shl edi, 2
lea eax, [edi + 4]
push eax
mov dword [ebp + 0xc], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x4755e2
mov esi, 0x8007000e
jmp 0x475628
lea eax, [esi + esi*2]
mov esi, dword [ebp + 0x10]
mov dword [ebx], eax
mov ecx, edi
mov eax, ecx
shr ecx, 2
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0xc]
mov ecx, eax
mov eax, dword [ebp + 0x14]
push 0
push 0
and ecx, 3
push 0x401ac0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x475628
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x475639
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x476501
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x1c]
lea eax, [esi*4 + 4]
imul eax, edi
lea ecx, [ebx + ebx*2]
lea eax, [eax + ecx*4 + 8]
push eax
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp + 0x10], eax
jne 0x476544
mov esi, 0x8007000e
jmp 0x47660b
mov dword [eax], ebx
add eax, 4
xor edx, edx
test ebx, ebx
jbe 0x47657d
mov ecx, dword [ebp + 0x24]
mov edi, dword [ecx + 0xc0]
mov esi, dword [ecx + 0x94]
imul edi, edx
add edi, dword [ebp + 0xc]
movzx esi, word [esi + 2]
add esi, edi
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xc
inc edx
cmp edx, ebx
movsd dword es:[edi], dword [esi]
jb 0x476552
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [eax], edi
add eax, 4
test edx, edx
je 0x4765b1
test edi, edi
jbe 0x4765de
mov dword [eax], esi
add eax, 4
xor ecx, ecx
test esi, esi
jbe 0x4765a5
mov ebx, dword [edx + ecx*4]
mov dword [eax], ebx
add eax, 4
inc ecx
cmp ecx, esi
jb 0x476598
mov ecx, esi
shl ecx, 2
add edx, ecx
dec edi
jne 0x47658d
jmp 0x4765de
test edi, edi
jbe 0x4765de
mov edx, dword [ebp + 0x14]
lea ebx, [esi + esi]
mov dword [ebp + 0x1c], edi
mov dword [eax], esi
add eax, 4
xor ecx, ecx
test esi, esi
jbe 0x4765d7
movzx edi, word [edx + ecx*2]
mov dword [eax], edi
add eax, 4
inc ecx
cmp ecx, esi
jb 0x4765c9
add edx, ebx
dec dword [ebp + 0x1c]
jne 0x4765be
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0x10]
push dword [ebp - 8]
push 0
push 0
push 0x405e24
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x47660b
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x47661c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp + 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x24
Function at 0x476633
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi*8 + 4]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x476663
mov esi, 0x8007000e
jmp 0x4766cd
cmp esi, ebx
mov dword [edi], esi
lea ecx, [edi + 4]
mov dword [ebp + 0x10], ebx
jbe 0x4766a4
mov edx, dword [ebp + 0x14]
mov ebx, dword [edx + 0xc0]
imul ebx, dword [ebp + 0x10]
mov eax, dword [edx + 0xa0]
movzx eax, word [eax + 2]
add ebx, dword [ebp + 0xc]
add eax, ebx
mov ebx, dword [eax]
mov dword [ecx], ebx
mov eax, dword [eax + 4]
add ecx, 4
mov dword [ecx], eax
add ecx, 4
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], esi
jb 0x476672
xor ebx, ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push edi
push dword [ebp - 8]
push ebx
push ebx
push 0x405e14
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x4766cd
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4766dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], ebx
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14

Function at 0x4766f2
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
jne 0x476727
mov esi, 0x8007000e
jmp 0x47679e
test edi, edi
mov dword [eax], edi
lea esi, [eax + 4]
jbe 0x476771
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ecx + 0xc0]
imul eax, ebx
add eax, dword [ebp + 0xc]
push eax
call fcn.004763ff
mov ecx, dword [ebp - 0x18]
mov dword [esi], ebx
push 4
pop eax
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x14]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
add esi, eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
add esi, eax
mov dword [esi], ecx
add esi, eax
inc ebx
cmp ebx, edi
jb 0x476730
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0x10]
push dword [ebp - 8]
push 0
push 0
push 0x405e44
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x47679e
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4767af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push dword [ebp + 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x477138
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x398
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
xor edi, edi
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x47725d
mov ecx, dword [esi + 0xc0]
imul ecx, dword [ebp + 0x10]
add ecx, 3
shr ecx, 2
lea eax, [ecx + eax*4]
lea eax, [eax*4 + 8]
push eax
mov dword [ebp + 0x18], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
jne 0x47718f
mov edi, 0x8007000e
jmp 0x47724c
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov eax, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
lea edi, [ebx + 4]
jbe 0x4771cf
add eax, 5
movzx edx, byte [eax - 1]
mov dword [edi], edx
movzx edx, byte [eax]
add edi, 4
mov dword [edi], edx
movzx edx, byte [eax + 1]
add edi, 4
mov dword [edi], edx
movzx edx, byte [eax + 2]
add edi, 4
mov dword [edi], edx
add edi, 4
add eax, 8
inc ecx
cmp ecx, dword [esi + 4]
jb 0x4771a3
mov eax, dword [esi + 0xc0]
imul eax, dword [ebp + 0x10]
add eax, 3
shr eax, 2
mov dword [edi], eax
push dword [esi]
mov eax, dword [ebp + 0x14]
push dword [eax]
lea ecx, [ebp - 0x398]
call fcn.00452a86
add edi, 4
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x398]
call fcn.0044dafb
xor edi, edi
xor esi, esi
cmp dword [ebp + 0x10], edi
jbe 0x477223
push 1
push esi
push esi
lea ecx, [ebp - 0x398]
call fcn.0044db2b
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x47720e
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0x18]
push edi
push edi
push 0x401a30
push eax
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
jge 0x47724c
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x47725d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 4], 0
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x4bb7b7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
test edi, edi
je 0x4bb7e1
cmp edi, 1
je 0x4bb7e1
push 0x4060c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0x8876086c
jmp 0x4bb8ee
push esi
push 1
push 0x1c0
call sub.msvcrt.dll_calloc
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4bb802
mov dword [ebp - 4], 0x8007000e
jmp 0x4bb8e1
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
call fcn.004baf39
test eax, eax
jne 0x4bb824
mov dword [ebp - 4], 0x80004005
jmp 0x4bb8e0
fld dword [ebp + 0x10]
push edi
push ecx
fstp dword [esp]
call fcn.004bc971
test eax, eax
mov dword [esi + 0x1bc], eax
je 0x4bb818
and dword [esi + 0x1c], 0
call fcn.005c4848
mov ebx, eax
test ebx, ebx
jne 0x4bb856
mov dword [ebp - 4], 0x8007000e
jmp 0x4bb8e0
push 0x4bcffe
push 0x1870a
push ebx
call fcn.005c4a25
push fcn.004d0019
push 0x18706
push ebx
call fcn.005c4a25
push 0x4bd05e
push 0x1870b
push ebx
call fcn.005c4a25
push 0x4bae86
push 0x1870d
push ebx
call fcn.005c4a25
push 0x4bae25
push 0x1870f
push ebx
call fcn.005c4a25
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
fldz
fstp qword [esp + 8]
fldz
fstp qword [esp]
push ebx
call fcn.005c4a02
fld qword [0x4060b8]
push ecx
push ecx
fstp qword [esp]
push 0x1872c
push ebx
call fcn.005c4907
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [eax], esi
xor esi, esi
pop ebx
test esi, esi
je 0x4bb8ed
push dword [ebp + 8]
call fcn.004bb005
pop esi
mov eax, dword [ebp - 4]
leave
ret 0x10

Function at 0x4bc1d3
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
and dword [ebx], 0
push esi
push edi
push 0xc
mov edi, eax
call sub.msvcrt.dll_malloc
mov esi, eax
test esi, esi
pop ecx
je 0x4bc20a
push 0x140
call sub.msvcrt.dll_malloc
test eax, eax
pop ecx
jne 0x4bc213
push esi
call sub.msvcrt.dll_free
pop ecx
mov dword [ebp - 4], 0x8007000e
jmp 0x4bc25d
and dword [esi + 4], 0
mov dword [esi], eax
mov dword [esi + 8], 0xa
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], eax
jae 0x4bc24b
push esi
push edi
lea eax, [ebp - 8]
call fcn.004bc083
test eax, eax
je 0x4bc264
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0x14]
cmp dword [ebp - 8], eax
jb 0x4bc232
and dword [ebp - 0xc], 0
mov dword [ebx], esi
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x4bc25d
call fcn.004bb157
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
push 0x4060ec
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0x80004005
jmp 0x4bc251