joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a780
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a9c2
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
xor ebx, ebx
call fcn.0045b510
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
sub eax, eax
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CGUIFrame.0
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 8]
not ecx
lea eax, [ecx + eax - 1]
sub eax, 4
push eax
push str..wav
call fcn.004bdf70
add esp, 8
test eax, eax
je 0x41a910
mov eax, dword [0x4e2fdc]
mov edi, 8
mov ecx, dword [eax + 0x300]
cmp ecx, 0x10
jne 0x41a812
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x328]
sub eax, 0x3e0
cmp eax, 1
sbb edi, edi
and edi, 0xfffffff6
add edi, 0x235
mov eax, dword [ebp + 0xc]
push 0
mov ecx, dword [ebp + 8]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov word [esi + 0xc], 0
push ecx
call fcn.00477b30
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x41a8ef
mov ax, word [ebx + 0xe]
push 0x9c
mov word [esi + 0x18], ax
mov cx, word [ebx + 0x10]
mov word [esi + 0x1a], cx
call fcn.0045b6b0
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
mov eax, 0
je 0x41a880
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00440a00
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x41a896
mov ecx, dword [ecx + 0x710]
jmp 0x41a898
xor ecx, ecx
movsx edx, word [ebx + 0xe]
push 0xff00ff
push pe_nt_image_headers32
push 0
push 1
push 2
push 0
push 0
push ecx
push 4
mov ecx, dword [ebp + 0x14]
push ecx
push edi
movsx edi, word [ebx + 0x10]
push 0x22b
push edx
push edx
mov ecx, eax
push edi
push edx
mov edx, dword [ebx + 0x14]
push edx
call fcn.004410b0
push 0xff00ff
mov ecx, dword [esi + 0x14]
call fcn.00442500
jmp 0x41a98c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x74]
push eax
push str.CGUIFrame__:_Warning__Error_loading_frame:__s_n
push ecx
call fcn.004bd200
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x41a98c
push 0x1e0
call fcn.0045b6b0
mov dword [ebp - 0x14], eax
add esp, 4
mov edi, eax
mov ecx, 0
mov byte [ebp - 4], 2
test edi, edi
je 0x41a94c
mov eax, dword [0x4ec3f0]
mov ecx, dword [0x4e2fdc]
push eax
nop
mov edx, dword [ecx + 0x30c]
mov ecx, edi
push edx
call fcn.00402080
mov ecx, eax
mov byte [ebp - 4], 0
push 0xffffffffffffffff
mov dword [esi + 0x10], ecx
movsx eax, word [ebp + 0x10]
push eax
mov edx, dword [ebp + 8]
push 0xc0
push 1
push 0
push edx
call fcn.00402550
mov dword [esi + 0x1c], 1
mov dword [esi + 0x14], 0
mov word [esi + 0xc], 1
mov word [esi + 0x18], 0
mov word [esi + 0x1a], 0
test ebx, ebx
je 0x41a999
push ebx
call fcn.00478220
add esp, 4
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41c916
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c9d5
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov ax, word [ecx + 0x128]
push edi
cmp word [ecx + 0x12e], ax
mov ebx, ecx
jg 0x41c950
inc ax
push eax
call fcn.0041c790
test eax, eax
je 0x41cae7
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
je 0x41c9ec
push 0xec
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x40], 2
call fcn.0045b6b0
mov dword [ebp - 0x10], eax
add esp, 4
mov esi, eax
mov dword [ebp - 4], edi
mov edi, 0
test esi, esi
je 0x41c995
push 1
mov ecx, esi
call fcn.0041ac80
mov edi, eax
push 0
mov eax, dword [ebp + 8]
push 0
mov ecx, edi
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041af70
mov dx, word [ebp + 0x14]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], 0
mov cx, word [eax + 0x18]
mov ax, word [eax + 0x1a]
mov word [ebp - 0x3c], cx
mov word [ebp - 0x3a], ax
mov word [ebp - 0x3e], dx
jmp 0x41ca74
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov word [ebp - 0x40], 3
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, ebx
call fcn.0045b5a0
mov edi, dword [ebp + 8]
mov ecx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x3e], ax
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00477000
add esp, 8
test eax, eax
je 0x41cadc
mov cx, word [eax + 0xe]
mov ax, word [eax + 0x10]
mov word [ebp - 0x3c], cx
mov word [ebp - 0x3a], ax
movsx edi, word [ebx + 0x128]
shl edi, 4
mov ecx, 0xc
lea esi, [ebp - 0x40]
mov eax, dword [ebx + 0x148]
lea edi, [edi + edi*2]
add edi, eax
rep movsd dword es:[edi], dword [esi]
mov dx, word [ebx + 0x128]
mov ecx, dword [ebp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.0041c1b0
inc word [ebx + 0x128]
mov ecx, ebx
call fcn.0041c710
mov word [ebx + 0x130], ax
mov ecx, ebx
call fcn.0041d230
mov ecx, dword [ebx + 0x150]
test ecx, ecx
je 0x41cad5
push 1
mov ecx, ebx
call fcn.0041cfb0
mov eax, 1
jmp 0x41cae9
push str.ITEM_TGA_Error__TGA_File_not_found._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41ee80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ef37
push eax
mov dword fs:[0], esp
sub esp, 4
mov eax, dword [ebp + 8]
nop
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
push eax
mov edi, 0x4ec4c0
call fcn.00420040
xor ecx, ecx
lea edx, [esi + 0x34]
mov dword [ebp - 4], ecx
mov dword [esi], vtable.ProjectedShadow.0
mov dword [esi + 0x30], ecx
mov eax, dword [edi]
mov dword [edx], eax
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
lea eax, [esi + 0x60]
mov edi, dword [edi + 8]
mov dword [edx + 8], edi
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov eax, 1
mov word [esi + 0x80], cx
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x84], eax
mov eax, esi
mov dword [esi + 0x90], ecx
pop edi
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], 0xff000000
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4235b0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4236fc
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov dword [ebp - 0x18], 0
push ebx
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0xf8], eax
mov esi, ecx
mov dword [ecx + 0x260], 0
lea eax, [ebp - 0x18]
mov ecx, dword [esi + 0xf8]
push eax
call fcn.00458c40
test eax, eax
je 0x42361c
mov ecx, dword [esi + 0x260]
mov dword [esi + ecx*4 + 0x234], eax
mov ecx, dword [esi + 0x260]
inc ecx
mov dword [esi + 0x260], ecx
jmp 0x4235ed
mov ecx, esi
xor edi, edi
call fcn.00424980
cmp dword [esi + 0x260], edi
jle 0x4236e4
lea eax, [esi + 0x174]
lea ebx, [esi + 0x264]
mov dword [ebp - 0x10], eax
push 0x11c
call fcn.0045b6b0
add esp, 4
mov ecx, 0
mov dword [ebp - 0x14], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x42366b
push 1
mov ecx, eax
call fcn.00422a60
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
push edi
mov eax, dword [esi + 0xf8]
push eax
mov edx, dword [ebx - 0x30]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov edx, dword [esi + 0x30]
push 0
push eax
push edx
mov eax, dword [esi + 0x1c]
push eax
call fcn.00422b80
push eax
mov ecx, esi
mov dword [ebx], eax
call fcn.004203b0
cmp eax, 1
sbb eax, eax
neg eax
test eax, eax
je 0x4236c9
push edi
lea eax, [ebp - 0x118]
push str.Name_Overlay__d_not_created._n
push eax
call fcn.004bd200
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x10]
add ebx, 4
add eax, 0x10
inc edi
mov ecx, dword [esi + 0x260]
mov dword [ebp - 0x10], eax
cmp ecx, edi
jg 0x423640
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426830
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [esp + 0x218]
test edi, edi
je 0x4268f5
mov ebx, dword [esp + 0x21c]
lea eax, [esp + 0xc]
push ebx
push str.audio
push 0x4df954
push eax
call fcn.004bd200
lea eax, [esp + 0x1c]
add esp, 0x10
mov ecx, dword [0x4e2fdc]
add ecx, 0x624
push 0x4df470
push eax
call fcn.00429290
mov esi, eax
test esi, esi
je 0x4268c4
test edi, edi
je 0x4268c4
mov eax, dword [esp + 0x228]
push 0xffffffffffffffff
mov ecx, dword [esp + 0x228]
push 0
mov edx, dword [esp + 0x228]
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.004022c0
test eax, eax
je 0x4268c4
push esi
call fcn.004bd0c0
add esp, 4
mov eax, 1
jmp 0x4268f7
lea eax, [esp + 0x110]
push ebx
push str._s_load_fail_n
push eax
call fcn.004bd200
lea eax, [esp + 0x11c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x4268f5
push esi
call fcn.004bd0c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x208
ret 0x14
Function at 0x4298f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x30c
lea eax, [esp + 0x104]
push ebx
push esi
push eax
mov esi, ecx
push 0x4e172c
push str.help
push str.help
call fcn.00429450
test eax, eax
je 0x4299af
lea eax, [esp + 8]
push str.help
push str.help
push str._s_s.htm
push eax
call fcn.004bd200
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
add esp, 0x10
push eax
push ecx
mov ecx, esi
call fcn.00429340
test eax, eax
je 0x4299af
push 0
mov eax, dword [0x4e2fdc]
mov ecx, dword [eax + 4]
push 0xf020
push 0x112
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10c]
push 1
mov edx, dword [esp + 0x320]
push ecx
lea eax, [esp + 0x218]
push edx
push eax
mov ecx, dword [0x4e2fdc]
push 0
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
pop esi
pop ebx
add esp, 0x30c
ret 8
xor eax, eax
pop esi
pop ebx
add esp, 0x30c
ret 8

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

Disassembly:
mov eax, dword [ecx + 0xf4]
test eax, eax
je 0x42a384
cmp eax, 1
je 0x42a3f1
jmp fcn.0042a500
fld dword [ecx + 0x2c]
fmul dword [ecx + 0x74]
fld dword [ecx + 0x1c]
fmul dword [ecx + 0x70]
fld dword [ecx + 0x3c]
fmul dword [ecx + 0x78]
fxch st(1)
faddp st(2)
fld dword [ecx + 0x40]
fmul dword [ecx + 0x78]
fxch st(1)
faddp st(2)
fld dword [ecx + 0x30]
fmul dword [ecx + 0x74]
fxch st(2)
fadd dword [ecx + 0x4c]
fld dword [ecx + 0x20]
fmul dword [ecx + 0x70]
fxch st(1)
fstp dword [ecx + 0x7c]
fld dword [ecx + 0x24]
fmul dword [ecx + 0x70]
fxch st(3)
faddp st(2)
fld dword [ecx + 0x44]
fmul dword [ecx + 0x78]
fxch st(1)
faddp st(2)
fld dword [ecx + 0x34]
fmul dword [ecx + 0x74]
fxch st(2)
fadd dword [ecx + 0x50]
fstp dword [ecx + 0x80]
faddp st(2)
faddp st(1)
fadd dword [ecx + 0x54]
fstp dword [ecx + 0x84]
jmp fcn.0042a500
fld dword [ecx + 0x2c]
fmul dword [ecx + 0x74]
fld dword [ecx + 0x1c]
fmul dword [ecx + 0x70]
fld dword [ecx + 0x3c]
fmul dword [ecx + 0x78]
fxch st(1)
faddp st(2)
fld dword [ecx + 0x40]
fmul dword [ecx + 0x78]
fxch st(1)
faddp st(2)
fld dword [ecx + 0x30]
fmul dword [ecx + 0x74]
fxch st(2)
fadd dword [ecx + 0x4c]
fld dword [ecx + 0x20]
fmul dword [ecx + 0x70]
fxch st(1)
fstp dword [ecx + 0x7c]
fld dword [ecx + 0x24]
fmul dword [ecx + 0x70]
fxch st(3)
faddp st(2)
fld dword [ecx + 0x44]
fmul dword [ecx + 0x78]
fxch st(1)
faddp st(2)
fld dword [ecx + 0x34]
fmul dword [ecx + 0x74]
fxch st(2)
fadd dword [ecx + 0x50]
fstp dword [ecx + 0x80]
faddp st(2)
faddp st(1)
fadd dword [ecx + 0x54]
fstp dword [ecx + 0x84]
jmp fcn.0042a500
Function at 0x42cd00
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cde8
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
push edi
mov esi, ecx
push 0x110
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov edi, eax
mov ebx, 0
mov dword [ebp - 4], 0
test edi, edi
je 0x42cd4c
push esi
mov ecx, edi
call fcn.0042a290
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0xf4], 3
push ebx
mov ecx, esi
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x104], 2
mov dword [ebx + 0x108], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0xc8], 1
call fcn.0042b750
test eax, eax
je 0x42cdc5
mov ecx, ebx
call fcn.0042a370
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test ebx, ebx
je 0x42cdd9
mov ecx, ebx
call fcn.0042a2d0
push ebx
call fcn.004bd160
add esp, 4
push str.___Out_of_collision_objects:__BARRIER_deleted__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x42cdb2

Function at 0x42ce00
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cf0f
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
push edi
mov esi, ecx
push 0x110
call fcn.004bd170
mov dword [ebp - 0x10], eax
add esp, 4
mov edi, eax
mov ebx, 0
mov dword [ebp - 4], 0
test edi, edi
je 0x42ce4c
push esi
mov ecx, edi
call fcn.0042a290
mov ebx, eax
mov edx, dword [ebp + 8]
lea eax, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 4], edx
lea ecx, [ebx + 4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0x10], edx
lea eax, [ebp + 0x14]
lea ecx, [ebx + 0x10]
fld dword [ebp + 0x20]
fmul dword [ebp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebx + 0x5c], ecx
fstp dword [ebx + 0x60]
mov dword [ebx + 0xf4], 4
push ebx
mov ecx, esi
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x104], 2
mov dword [ebx + 0x108], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0xc8], 1
call fcn.0042b750
test eax, eax
je 0x42ceec
mov ecx, ebx
call fcn.0042a370
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
test ebx, ebx
je 0x42cf00
mov ecx, ebx
call fcn.0042a2d0
push ebx
call fcn.004bd160
add esp, 4
push str.___Out_of_collision_objects:__Cylinder_deleted__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x42ced9
Function at 0x42d3e0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d61e
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x24], 0
push ebx
push esi
push edi
push 0x4df470
mov edi, dword [ebp + 0xc]
push edi
call fcn.004bd1c0
add esp, 8
mov esi, eax
test esi, esi
jne 0x42d448
push edi
lea eax, [ebp - 0xa0]
push str.Unable_to_open__s_n
push eax
call fcn.004bd200
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x42d5f1
mov eax, 1
mov ecx, dword [ebp + 0x10]
push esi
push eax
push 4
mov dword [ecx + 0x80], eax
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x88], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004bcd40
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x6c]
cmp eax, edx
jle 0x42d481
mov dword [ecx + 0x6c], edx
jmp 0x42d486
jge 0x42d486
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x42d5e3
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
push 0x34
test eax, eax
jne 0x42d4d9
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0
mov edi, eax
mov eax, 0
test edi, edi
je 0x42d4c8
mov ecx, edi
call fcn.0042cfc0
mov ebx, eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x68], eax
jmp 0x42d509
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 1
mov edi, eax
mov eax, 0
test edi, edi
je 0x42d4fd
mov ecx, edi
call fcn.0042cfc0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x18], eax
mov ebx, eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], 0
mov eax, dword [ebp - 0x24]
push esi
push 2
lea ecx, [ebx + 0x1c]
push 0xc
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
push ecx
inc eax
mov dword [ebp - 0x24], eax
call fcn.004bcd40
add esp, 0x10
lea ecx, [ebp - 0x20]
push esi
push 1
push 4
push ecx
call fcn.004bcd40
add esp, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x42d5d1
push 0x30
mov edi, 0
call fcn.004bd170
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
push esi
cmp eax, 1
adc edi, 0xffffffff
push 1
and edi, eax
push 1
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], 1
push edi
call fcn.004bcd40
add esp, 0x10
lea eax, [edi + 8]
push esi
push 1
push 0x24
push eax
call fcn.004bcd40
mov dword [edi + 0x2c], 0
add esp, 0x10
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x42d5b4
mov dword [ebx + 0xc], edi
jmp 0x42d5c0
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x2c], edi
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x10], edi
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jl 0x42d553
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, ecx
jl 0x42d49b
push esi
call fcn.004bd0c0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42d640
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d859
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push 0x4df470
push esi
call fcn.004bd1c0
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x42d6a9
push esi
lea eax, [ebp - 0xa0]
push str.Unable_to_open__s_n
push eax
call fcn.004bd200
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x42d82c
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x10]
mov dword [ecx + 0x80], 1
mov eax, dword [ebp - 0x24]
push eax
push 1
push 4
push edx
call fcn.004bcd40
add esp, 0x10
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
nop
push ecx
push 1
push 4
push edx
call fcn.004bcd40
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x6c]
cmp edx, eax
jge 0x42d6f1
mov dword [ecx + 0x6c], edx
jmp 0x42d6f6
jle 0x42d6f6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
test eax, eax
jle 0x42d81b
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push 0x34
test eax, eax
jne 0x42d749
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 0
mov edi, eax
mov eax, 0
test edi, edi
je 0x42d738
mov ecx, edi
call fcn.0042cfc0
mov esi, eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x68], eax
jmp 0x42d779
call fcn.004bd170
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 4], 1
mov edi, eax
mov eax, 0
test edi, edi
je 0x42d76d
mov ecx, edi
call fcn.0042cfc0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x18], eax
mov esi, eax
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi], eax
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
cmp ecx, edi
jle 0x42d809
push 0x30
mov ebx, 0
call fcn.004bd170
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
cmp eax, 1
adc ebx, 0xffffffff
and ebx, eax
lea eax, [edi + 1]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 4], 0
lea edx, [ebx + 8]
mov byte [ebx], al
mov ecx, dword [ebp - 0x24]
push ecx
push 1
push 0x24
push edx
call fcn.004bcd40
mov dword [ebx + 0x2c], 0
add esp, 0x10
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x42d7f4
mov dword [esi + 0xc], ebx
jmp 0x42d800
mov eax, dword [esi + 0x10]
mov dword [eax + 0x2c], ebx
mov eax, dword [esi + 0x10]
mov ebx, dword [eax + 0x2c]
inc edi
mov dword [esi + 0x10], ebx
cmp edi, dword [ebp - 0x20]
jl 0x42d799
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ecx
jl 0x42d70b
mov eax, dword [ebp - 0x24]
push eax
call fcn.004bd0c0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42dce0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
push ebp
mov eax, dword [ecx + 0x400]
mov ebp, ecx
test eax, eax
jne 0x42dea6
lea edi, [ebp + 0x128]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 0x88]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x4df950
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x18]
push eax
call fcn.004bd1c0
mov dword [esp + 0x18], eax
add esp, 8
test eax, eax
jne 0x42dd9a
push str.Unable_to_open_VUT_file__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x4df9a4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0xff
push ecx
call fcn.004be040
add esp, 0xc
test eax, eax
je 0x42de8f
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
call fcn.004be730
lea eax, [esp + 0x18]
add esp, 4
push 0x4e1904
push eax
call fcn.004bd840
add esp, 8
mov ecx, ebp
push eax
call fcn.0042e630
mov bl, al
cmp ebx, 0xff
jne 0x42ddf7
push str.Hmmm__VUT_string_invalid..._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
shl ebx, 6
push str.___n
push 0
call fcn.004bd840
add esp, 8
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [ebp + 0x234]
push str.___n
add edi, ebx
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x234]
mov dword [edx + ebx + 0x38], 0
call fcn.004bd840
add esp, 8
mov esi, eax
test esi, esi
je 0x42de70
push esi
call fcn.004be730
add esp, 4
mov al, byte [esi]
cmp al, 0x54
jne 0x42de70
mov eax, dword [ebp + 0x234]
mov dword [eax + ebx + 0x38], 1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0xff
push ecx
call fcn.004be040
add esp, 0xc
test eax, eax
jne 0x42ddb9
mov eax, dword [esp + 0x10]
push eax
call fcn.004bd0c0
mov dword [ebp + 0x400], 1
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x104
ret