joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402080
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4021d7
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov ebx, ecx
push 1
call fcn.00420040
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
push ebx
mov dword [ebx], vtable.Sound.0
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov edi, 0x4df418
call fcn.00401c20
mov ecx, 0xffffffff
sub eax, eax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [ebx + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x14c]
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebx + 0x178], eax
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x188], eax
mov dword [ebx + 0x184], eax
mov dword [ebx + 0x18c], eax
mov dword [ebx + 0x190], eax
mov dword [ebx + 0x198], eax
mov dword [ebx + 0x19c], eax
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0x194], 1
mov dword [ebx + 0x1a4], eax
lea eax, [ebx + 0x1a8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c0], 0
mov dword [ebx + 0x1c4], 0
lea ecx, [ebx + 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, ebx
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 8

Function at 0x403780
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x200
push ebx
push esi
mov eax, dword [ecx + 0x444]
push edi
mov esi, ecx
test eax, eax
je 0x4037d5
call fcn.00403730
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x50]
sub ecx, eax
push ecx
push eax
mov eax, dword [esi + 0x3c]
sub eax, edx
push eax
push edx
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x1c]
sub eax, edi
push eax
push edi
push str._nSound_Card_reports:_n_tdwFreeHwMixingStaticBuffers__d___d_Currently_Allocated__n_tdwFreeHw3DStaticBuffers__d___d_Currently_Allocated__n_tdwFreeHwMemBytes__d___d_Currently_Allocated__n_n
push ecx
call fcn.004bd200
lea ecx, [esp + 0x2c]
add esp, 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
add esp, 0x200
ret
Function at 0x407dd0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
mov al, byte [ecx]
test al, al
nop
push esi
je 0x407e3b
mov eax, dword [esp + 0x110]
push eax
push ecx
lea ecx, [esp + 0xc]
push 0x4df954
push ecx
call fcn.004bd200
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x11c]
add esp, 0x10
push ecx
push 0x28
push esi
push 0x4df418
push str.SceneName
push str.SceneInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x407e52
push 0x27
push str.NO_NAME
push esi
call fcn.004bd6d0
add esp, 0xc
pop esi
add esp, 0x104
ret 8
mov esi, dword [esp + 0x10c]
push 0x27
push str.NO_NAME
push esi
call fcn.004bd6d0
add esp, 0xc
pop esi
add esp, 0x104
ret 8
Function at 0x407e66
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40801e
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x408035
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x408035
push 0x21c
mov edi, 0
call fcn.004bd170
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x407ec2
mov ecx, eax
call fcn.00448980
mov edi, eax
push ebx
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00448a10
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
push eax
push str.._s
push ecx
call fcn.004bd200
add esp, 0xc
lea ecx, [ebp - 0x18]
push 1
push ecx
mov ecx, edi
call fcn.00448a40
mov ecx, edi
mov esi, dword [edi]
call dword [esi + 4]
lea ecx, [ebp - 0x144]
push ecx
mov ecx, edi
call fcn.00448c70
lea eax, [ebp - 0x144]
mov esi, dword [ebp + 8]
push eax
push ebx
push 0x4df954
push esi
call fcn.004bd200
add esp, 0x10
lea ecx, [ebp - 0x40]
push esi
push 0x28
push ecx
push 0x4df418
push str.SceneName
push str.SceneInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x407f86
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x40]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x407f67
or cl, cl
je 0x407f63
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x407f67
add eax, 2
add edx, 2
or cl, cl
jne 0x407f47
xor eax, eax
jmp 0x407f6c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407f86
test edi, edi
je 0x407f7c
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, 1
jmp 0x40803d
lea eax, [ebp - 0x144]
mov ecx, edi
push eax
call fcn.00448be0
test eax, eax
je 0x408010
lea eax, [ebp - 0x144]
push eax
push ebx
push 0x4df954
push esi
call fcn.004bd200
add esp, 0x10
lea eax, [ebp - 0x40]
push esi
push 0x28
push eax
push 0x4df418
push str.SceneName
push str.SceneInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x407f86
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x40]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x407ff4
or cl, cl
je 0x407ff0
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x407ff4
add eax, 2
add edx, 2
or cl, cl
jne 0x407fd4
xor eax, eax
jmp 0x407ff9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407f86
test edi, edi
je 0x408009
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, 1
jmp 0x40803d
test edi, edi
je 0x408038
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
jmp 0x408038
mov esi, dword [ebp + 8]
xor eax, eax
mov byte [esi], 0
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 0x4081b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x188
mov eax, dword [ecx]
push ebx
mov edx, dword [eax + 0x184]
mov dword [esp + 4], ecx
push esi
push edi
test edx, edx
push ebp
jne 0x40826e
lea eax, [ecx + 0x60]
mov edi, dword [esp + 0x1a8]
lea ecx, [esp + 0x14]
push eax
mov ebp, dword [esp + 0x1a8]
push pe_nt_image_headers32
mov ebx, dword [esp + 0x1a8]
push ecx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ebp
push ebx
call fcn.00408160
lea eax, [esp + 0x14]
push 0x4df9a8
push eax
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
mov esi, dword [esp + 0x1a0]
add esp, 4
fstp dword [esi]
push 0x4df9a8
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
fstp dword [esi + 4]
add esp, 4
push 0x4df9a4
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
fstp dword [esi + 8]
add esp, 4
mov eax, 1
jmp 0x4083bf
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
add eax, 0x60
mov ebp, dword [esp + 0x1a4]
mov ebx, dword [esp + 0x1a0]
push eax
push pe_nt_image_headers32
push ecx
push 0x4df418
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x408313
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ebp
push ebx
call fcn.00408160
lea eax, [esp + 0x14]
push 0x4df9a8
push eax
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
mov esi, dword [esp + 0x1a0]
add esp, 4
fstp dword [esi]
push 0x4df9a8
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
fstp dword [esi + 4]
add esp, 4
push 0x4df9a4
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
fstp dword [esi + 8]
add esp, 4
mov eax, 1
jmp 0x4083bf
mov eax, dword [esp + 0x1ac]
test eax, eax
je 0x4083bd
mov edi, dword [esp + 0x1a8]
cmp byte [edi], 0
je 0x4083bd
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 ecx, [esp + 0x14]
push ecx
push ebp
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00408160
lea eax, [esp + 0x14]
push 0x4df9a8
push eax
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
mov esi, dword [esp + 0x1a0]
add esp, 4
fstp dword [esi]
push 0x4df9a8
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
fstp dword [esi + 4]
add esp, 4
push 0x4df9a4
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd7d0
fstp dword [esi + 8]
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x188
ret 0x14
Function at 0x4083d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x184
push ebx
push esi
mov eax, dword [ecx]
push edi
mov esi, ecx
nop
mov ecx, dword [eax + 0x184]
mov edx, dword [esp + 0x1a0]
lea eax, [esi + 0x60]
test ecx, ecx
lea ecx, [esp + 0xc]
push eax
mov ebx, dword [esp + 0x1a0]
push pe_nt_image_headers32
mov edi, dword [esp + 0x1a0]
push ecx
push edx
push ebx
push edi
jne 0x408493
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push ebx
push edi
call fcn.00408160
lea eax, [esp + 0xc]
push 0x4df9a8
push eax
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd9d0
add esp, 4
mov esi, eax
push 0x4df9a8
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd9d0
add esp, 4
mov edi, eax
push 0x4df9a4
push 0
shl edi, 8
call fcn.004bd840
shl esi, 0x10
add esp, 8
or edi, esi
nop
push eax
call fcn.004bd9d0
add esp, 4
or edi, eax
mov eax, dword [esp + 0x194]
mov dword [eax], edi
mov eax, 1
jmp 0x408524
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x408515
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push ebx
push edi
call fcn.00408160
lea eax, [esp + 0xc]
push 0x4df9a8
push eax
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd9d0
add esp, 4
mov edi, eax
push 0x4df9a8
push 0
call fcn.004bd840
add esp, 8
push eax
call fcn.004bd9d0
add esp, 4
mov esi, eax
push 0x4df9a4
push 0
shl edi, 0x10
call fcn.004bd840
shl esi, 8
add esp, 8
or edi, esi
nop
push eax
call fcn.004bd9d0
add esp, 4
or edi, eax
mov eax, dword [esp + 0x194]
mov dword [eax], edi
mov eax, 1
jmp 0x408524
mov eax, dword [esp + 0x194]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x184
ret 0x14

Function at 0x408530
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x184
add ecx, 0x60
lea eax, [esp]
push ebx
mov edx, dword [esp + 0x19c]
push esi
push edi
push ecx
mov ecx, dword [esp + 0x1a4]
push pe_nt_image_headers32
push eax
push edx
mov eax, dword [esp + 0x1ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4085cf
lea eax, [esp + 0xc]
push 0x4df9a8
push eax
call fcn.004bd840
mov esi, dword [esp + 0x1a0]
add esp, 8
test esi, esi
jle 0x4085c8
mov edi, dword [esp + 0x194]
mov dword [edi], 0
test eax, eax
je 0x4085b3
mov al, byte [eax]
cmp al, 0x59
je 0x4085ad
cmp al, 0x79
je 0x4085ad
cmp al, 0x54
je 0x4085ad
cmp al, 0x74
je 0x4085ad
cmp al, 0x31
jne 0x4085b3
mov dword [edi], 1
push 0x4df9a8
add edi, 4
push 0
call fcn.004bd840
add esp, 8
dec esi
jne 0x40858d
mov eax, 1
jmp 0x4085e9
mov esi, dword [esp + 0x198]
test esi, esi
jle 0x4085e7
mov edi, dword [esp + 0x194]
xor eax, eax
mov ecx, esi
rep stosd dword es:[edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x184
ret 0x18
Function at 0x408d90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x204
push ebx
push esi
mov eax, dword [ecx]
push edi
mov esi, ecx
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x408ee2
lea edi, [esi + 0x60]
lea eax, [esp + 0xc]
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x100
push eax
push 0x4df418
push 0
push 0x4dfc38
call ebx
test eax, eax
je 0x408ee2
lea eax, [esp + 0xc]
push edi
push 0x100
push eax
push 0x4df418
push 0
push 0x4dfc38
call ebx
test eax, eax
je 0x408e33
push 0x10
call fcn.004bd170
add esp, 4
mov dword [esi + 0x50], eax
mov ecx, esi
nop
push 1
push 0x4df418
push str.ColorRGB
push 0x4dfc38
push eax
call fcn.004083d0
test eax, eax
jne 0x408e29
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x204
ret
push 0x4df418
jmp 0x408f76
lea eax, [esp + 0xc]
push edi
push 0x100
push eax
push 0x4df418
push 0
push str.Haze
call ebx
test eax, eax
je 0x408ec0
push 0x28
call fcn.004bd170
add esp, 4
mov dword [esi + 0x54], eax
mov ecx, esi
nop
push 1
push 0x4df418
push str.InitialColorRGB
push str.Haze
push eax
call fcn.004083d0
test eax, eax
jne 0x408e87
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x204
ret
push 1
mov eax, dword [esi + 0x54]
push 0x4df418
add eax, 0x10
push str.FinalColorRGB
mov ecx, esi
push str.Haze
push eax
call fcn.004083d0
test eax, eax
jne 0x408eb6
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x204
ret
push 0x4df418
jmp 0x408f76
lea eax, [esp + 0xc]
push edi
push str.Fog_OR_Haze
push str._nCannot_find_data_for___s__in__s._n_n
push eax
call fcn.004bd200
lea eax, [esp + 0x1c]
add esp, 0x10
push eax
jmp 0x408f76
push 0x10
mov edi, 0x3f800000
call fcn.004bd170
add esp, 4
mov dword [esi + 0x50], eax
mov ebx, 0x44400000
mov dword [eax], 0x8080c0
mov eax, dword [esi + 0x50]
push 0x28
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x50]
mov dword [eax + 4], 0x43000000
mov eax, dword [esi + 0x50]
mov dword [eax + 8], ebx
call fcn.004bd170
add esp, 4
mov dword [esi + 0x54], eax
mov dword [eax], 0x96a5ce
mov eax, dword [esi + 0x54]
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x54]
mov dword [eax + 4], 0x4407c000
mov eax, dword [esi + 0x54]
xor ecx, ecx
mov dword [eax + 8], 0x453b8000
mov eax, dword [esi + 0x54]
mov dword [eax + 0x10], 0x96a5ce
mov eax, dword [esi + 0x54]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x54]
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0x54]
mov dword [eax + 0x18], ebx
mov eax, dword [esi + 0x54]
push str.No_Scene_File_or_no_fog_or_haze_data:__Use_DEFAULT_Fog_OR_Haze_n
nop
mov dword [eax + 0x20], ecx
mov eax, dword [esi + 0x54]
mov dword [eax + 0x24], 0x43b40000
mov ecx, esi
call fcn.00408140
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x204
ret
Function at 0x409350
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409513
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov eax, dword [ecx]
push edi
lea edi, [ecx + 0x60]
mov esi, ecx
lea ecx, [eax + 0x104]
push ecx
push eax
push 0x4df954
push edi
call fcn.004bd200
add esp, 0x10
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x40939b
push eax
call fcn.004bd0c0
add esp, 4
push edi
push 0
push str.LogProgress
push str.SceneInfo
call fcn.00470270
add esp, 0x10
test eax, eax
jne 0x4093bb
mov dword [esi + 0x5c], 0
mov ecx, dword [esi]
lea ebx, [esi + 4]
lea eax, [ecx + 0x104]
push eax
push ebx
call fcn.00407dd0
push ebx
mov ecx, esi
push str.SceneName
push str.SceneInfo
call fcn.00408160
push 1
lea eax, [esi + 0x2c]
push str.1152.0_100.0_1152.0
mov ecx, esi
push str.DefaultStartPosition
push str.SceneInfo
push eax
call fcn.004081b0
push 1
lea eax, [esi + 0x38]
push str.0.0_0.0_1.0
mov ecx, esi
push str.DefaultStartDirection
push str.SceneInfo
push eax
call fcn.004081b0
push 0x4df418
mov ecx, esi
call fcn.00408140
mov eax, dword [esi]
mov ecx, esi
push eax
call fcn.00408f90
test eax, eax
jne 0x409444
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
push edi
push 0xffffffffffffffff
push str.NumberOfLights
push str.Lights
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
mov ecx, esi
push str.NumberOfLights
mov dword [esi + 0x48], eax
push str.Lights
call fcn.00408180
push 0x4df418
mov ecx, esi
call fcn.00408140
mov eax, dword [esi]
mov ecx, dword [eax + 0x184]
test ecx, ecx
je 0x40948c
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
jne 0x409493
mov dword [esi + 0x48], 2
mov edi, dword [esi + 0x48]
lea eax, [edi + edi*4]
lea eax, [edi + eax*4]
shl eax, 3
push eax
call fcn.004bd170
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4094d0
mov ebx, eax
dec edi
js 0x4094cb
mov ecx, ebx
add ebx, 0xa8
call fcn.00409530
dec edi
jns 0x4094bb
mov eax, dword [ebp - 0x10]
jmp 0x4094d2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
xor edi, edi
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x48], edi
jle 0x4094fb
push edi
mov ecx, esi
call fcn.00408600
test eax, eax
je 0x409431
inc edi
mov eax, dword [esi + 0x48]
cmp eax, edi
jg 0x4094e3
mov ecx, esi
call fcn.00408d90
mov ecx, esi
call fcn.00409300
mov eax, 1
jmp 0x409433
Function at 0x40adb0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40aece
push eax
mov dword fs:[0], esp
mov dword [ecx], vtable.PodiumEvent.0
sub esp, 4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push ebx
push esi
push 0x4e0000
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x10]
call fcn.004209a0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x98]
test eax, eax
jne 0x40ae1e
mov esi, dword [ecx + 0x54]
test esi, esi
je 0x40ae14
mov ecx, esi
call fcn.004080d0
push esi
call fcn.004bd160
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x40ae3d
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x88], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x8c]
push ecx
call fcn.004bd160
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x8c], 0
mov eax, dword [ecx + 0x90]
push eax
call fcn.004bd160
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x90], 0
mov eax, dword [ecx + 0x94]
push eax
call fcn.004bd160
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x94], 0
mov eax, dword [ecx + 0x98]
test eax, eax
jne 0x40aea6
mov ecx, dword [ecx + 0x30]
mov ebx, dword [ecx]
call dword [ebx + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x2c], 0
call fcn.0040aed8
mov eax, dword [ebp - 0xc]
pop esi
mov dword fs:[0], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fe90
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push eax
call fcn.00420480
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esi + 0xa00], eax
mov ecx, esi
call fcn.00410f40
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40fec8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
pop esi
ret 0x18
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.00410080
test eax, eax
jne 0x40ff06
mov eax, dword [esi + 0x3c]
push eax
call fcn.004bd0c0
add esp, 4
push str.trn_file_failed_to_load
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
xor eax, eax
pop esi
ret 0x18
mov dword [esi + 0xa00], 0
mov eax, esi
pop esi
ret 0x18
Function at 0x418bb0
Capabilities:
Print debug messages

Disassembly:
sub esp, 4
mov eax, dword [ecx + 0x44]
mov dword [esp], ecx
push ebx
push esi
xor ebx, ebx
push edi
cmp eax, ebx
push ebp
jle 0x418c98
lea esi, [ecx + 0x64]
mov edi, dword [esp + 0x18]
mov ecx, dword [esi]
mov ebp, dword [ecx + 0xb4]
test ebp, ebp
je case.0x418bed.6
movsx eax, word [ecx + 0x1c]
dec eax
cmp eax, 0xc
ja case.0x418bed.6
jmp dword [eax*4 + 0x418cbc]
push str.CGUIDialog::TransferData___WARNING___Control_not_capable_of_data_transfer_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp case.0x418bed.6
test edi, edi
je 0x418c13
call fcn.0041dad0
mov word [ebp], ax
jmp case.0x418bed.6
mov ax, word [ebp]
push eax
call fcn.0041da60
jmp case.0x418bed.6
test edi, edi
je 0x418c2e
call fcn.0041c1e0
mov word [ebp], ax
jmp case.0x418bed.6
mov dword [ecx + 0x168], 0
mov eax, dword [ecx + 0xb4]
mov ax, word [eax]
push eax
call fcn.0041c300
jmp case.0x418bed.6
test edi, edi
je 0x418c58
call fcn.0041de70
mov word [ebp], ax
jmp case.0x418bed.6
mov ax, word [ebp]
push eax
call fcn.0041ddf0
jmp case.0x418bed.6
test edi, edi
je 0x418c73
call fcn.0041bd80
mov word [ebp], ax
jmp case.0x418bed.6
mov ax, word [ecx + 0x138]
mov dx, word [ebp]
push eax
push edx
call fcn.0041bc70
mov eax, dword [esp + 0x10]
add esi, 4
inc ebx
cmp dword [eax + 0x44], ebx
jg 0x418bcf
jmp 0x418c9c
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x850]
test ecx, ecx
je 0x418cb1
push edi
push eax
call ecx
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4
Function at 0x419c50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419d94
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
call fcn.0045b510
mov ax, word [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov word [esi + 0x1c], ax
mov dword [esi], vtable.CGUIControl.0
mov dword [esi + 0x28], edx
lea edx, [esi + 0xc]
mov eax, dword [edi]
mov dword [edx], eax
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov edi, dword [edi + 0xc]
mov word [esi + 0x1e], cx
mov dword [edx + 0xc], edi
mov edx, 1
mov eax, dword [ebp + 0x14]
mov word [esi + 0x20], dx
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x74], eax
mov dword [esi + 0x94], ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xd4], ecx
mov word [esi + 0xf0], dx
mov dword [esi + 0xec], edx
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xe4], ecx
mov dword [esi + 0xe0], ecx
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xd0], edx
mov dword [esi + 0x124], ecx
lea eax, [esi + 0x78]
mov dword [esi + 0x120], ecx
xor edx, edx
mov dword [esi + 0x90], ecx
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xd8], 0xffff
mov dword [eax], edx
add eax, 4
inc ecx
cmp ecx, 6
mov dword [eax + 0x1c], edx
jl 0x419d40
xor eax, eax
mov word [esi + 0x38], ax
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0xb0], eax
mov byte [esi + 0xf8], al
mov dword [esi + 0x118], eax
pop edi
mov dword [esi + 0x114], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x11c], eax
mov dword fs:[0], ecx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10