Function at 0x4ce0e0
Capabilities:
Check if file exists
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d18
call fcn.0050c860
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1d18], ecx
lea ecx, [ebp - 0xe64]
call fcn.00406250
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], 0
push 0
push str.__TrayIco_
lea ecx, [ebp + 8]
call fcn.00402830
test eax, eax
jle 0x4ce12f
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 1
cmp dword [ebp + 0x10], 0
je 0x4ce199
lea edx, [ebp - 0x1cf0]
push edx
call fcn.004a05e0
add esp, 4
push eax
lea ecx, [ebp - 0xe64]
call fcn.00404a40
lea ecx, [ebp - 0x1cf0]
call fcn.00406190
push 0
push 0x55362c
lea ecx, [ebp + 8]
call fcn.00402830
cmp eax, 0xffffffff
jne 0x4ce197
mov dword [ebp - 0x1cf4], 0
lea ecx, [ebp - 0xe64]
call fcn.00406190
lea ecx, [ebp + 8]
call fcn.00406190
mov eax, dword [ebp - 0x1cf4]
jmp 0x4cee8a
jmp 0x4ce1fb
lea eax, [ebp - 0x1cf8]
push eax
call fcn.004b2da0
add esp, 4
push eax
lea ecx, [ebp - 0xe64]
call fcn.00404a40
lea ecx, [ebp - 0x1cf8]
call fcn.00406190
push 0
push str._Hand
lea ecx, [ebp + 8]
call fcn.00402830
cmp eax, 0xffffffff
je 0x4ce1fb
mov dword [ebp - 0x1cfc], 0
lea ecx, [ebp - 0xe64]
call fcn.00406190
lea ecx, [ebp + 8]
call fcn.00406190
mov eax, dword [ebp - 0x1cfc]
jmp 0x4cee8a
lea ecx, [ebp - 0xe48]
push ecx
call fcn.004a0750
add esp, 4
lea edx, [ebp - 0xe48]
push edx
lea ecx, [ebp - 0xe40]
call fcn.00405e60
push 0x553644
lea ecx, [ebp - 0xe40]
call fcn.00405a70
push 0x553648
lea ecx, [ebp - 0xe40]
call fcn.00405a70
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.0050c770
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe30], dx
push 0xfe
push 0
lea eax, [ebp - 0xe2e]
push eax
call fcn.0050c770
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xb18], cx
push 0xfe
push 0
lea edx, [ebp - 0xb16]
push edx
call fcn.0050c770
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1ad0], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1ace]
push ecx
call fcn.0050c770
add esp, 0xc
xor edx, edx
mov word [ebp - 0x10c8], dx
push 0x40
push 0
lea eax, [ebp - 0x10c6]
push eax
call fcn.0050c770
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x1070], cx
push 0x206
push 0
lea edx, [ebp - 0x106e]
push edx
call fcn.0050c770
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0xd30]
push eax
call fcn.0050c770
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0xa18]
push ecx
call fcn.0050c770
add esp, 0xc
mov dword [ebp - 0xe58], 0
mov dword [ebp - 0xe44], 0
mov dword [ebp - 0xb1c], 0
mov dword [ebp - 0x1074], 0
mov dword [ebp - 0xe68], 0
mov dword [ebp - 0x1ad8], 0
mov dword [ebp - 0x107c], 0
mov dword [ebp - 0xe60], 0xffffffff
mov dword [ebp - 0x1ad4], 0
mov dword [ebp - 0xe5c], 0
mov dword [ebp - 0xe38], 0
mov dword [ebp - 0xb20], 0
mov dword [ebp - 0x1ce4], 0
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0xe54], 0xffffffff
push 0x208
push 0
lea edx, [ebp - 0x12d0]
push edx
call fcn.0050c770
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x1ce0]
push eax
call fcn.0050c770
add esp, 0xc
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x400
lea ecx, [ebp - 0x808]
push ecx
push 0
push 0x553658
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
jne 0x4ce44c
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x400
lea edx, [ebp - 0x808]
push edx
push 0
push 0x553664
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0xe50]
call fcn.00405520
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ce586
push ecx
mov ecx, esp
lea edx, [ebp - 0x808]
push edx
call fcn.00405520
call fcn.004e24f0
add esp, 4
test eax, eax
je 0x4ce53d
push ecx
mov ecx, esp
lea eax, [ebp - 0x808]
push eax
call fcn.00405520
push ecx
mov ecx, esp
lea edx, [ebp - 0xe50]
push edx
call fcn.00405e60
lea eax, [ebp - 0x1ce8]
push eax
call fcn.004e2280
add esp, 0xc
lea ecx, [ebp - 0x1ce8]
call fcn.00406010
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ce530
mov dword [ebp - 0x1d0c], 0
lea ecx, [ebp - 0x1ce8]
call fcn.00406190
lea ecx, [ebp - 0xe50]
call fcn.00406190
lea ecx, [ebp - 0xe40]
call fcn.00406190
lea ecx, [ebp - 0xe48]
call fcn.00406190
lea ecx, [ebp - 0xe64]
call fcn.00406190
lea ecx, [ebp + 8]
call fcn.00406190
mov eax, dword [ebp - 0x1d0c]
jmp 0x4cee8a
lea ecx, [ebp - 0x1ce8]
call fcn.00406190
jmp 0x4ce586
mov dword [ebp - 0x1d10], 0
lea ecx, [ebp - 0xe50]
call fcn.00406190
lea ecx, [ebp - 0xe40]
call fcn.00406190
lea ecx, [ebp - 0xe48]
call fcn.00406190
lea ecx, [ebp - 0xe64]
call fcn.00406190
lea ecx, [ebp + 8]
call fcn.00406190
mov eax, dword [ebp - 0x1d10]
jmp 0x4cee8a
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x400
lea ecx, [ebp - 0x1ad0]
push ecx
push 0
push str.winclass
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x21
lea edx, [ebp - 0x10c8]
push edx
push 0
push 0x553684
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.winWidth
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe58], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.winHeight
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe44], eax
lea ecx, [ebp - 0xe50]
call fcn.00406010
push eax
mov ecx, dword [ebp - 0x1d18]
call fcn.004cf870
test eax, eax
jne 0x4ce67b
lea ecx, [ebp - 0xe50]
call fcn.00406010
push eax
mov ecx, dword [ebp - 0x1d18]
call fcn.004cf930
test eax, eax
jne 0x4ce67b
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x1d18]
call fcn.004cf9e0
test eax, eax
je 0x4ce687
mov dword [ebp - 0xe3c], 0
jmp 0x4ce6af
lea ecx, [ebp - 0xe64]
call fcn.00406010
push eax
push 0
push 0x5536b4
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe3c], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x80
lea ecx, [ebp - 0xe30]
push ecx
push 0
push 0x5536bc
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x80
lea edx, [ebp - 0xb18]
push edx
push 0
push str.softprivid
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push 0x5536e4
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xb1c], eax
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1d18]
call fcn.004ceec0
push 0xa
push 0
lea edx, [ebp - 0xe30]
push edx
call fcn.00513703
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x20], eax
lea edx, [ebp - 0xb18]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.004057e0
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404a40
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
call fcn.004057e0
lea edx, [ebp - 0xe50]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x2c
call fcn.00404a40
lea eax, [ebp - 0x1ad0]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x34
call fcn.004057e0
lea ecx, [ebp - 0x10c8]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x38
call fcn.004057e0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xe44]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xe58]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xb1c]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xe3c]
mov dword [edx + 0x68], eax
mov dword [ebp - 0xe4c], 0
mov dword [ebp - 0xe34], 0
call fcn.004fef10
test eax, eax
je 0x4ce86b
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00405620
movzx ecx, al
test ecx, ecx
jne 0x4ce86b
call fcn.004e31e0
test eax, eax
je 0x4ce86b
call fcn.004929c0
test eax, eax
je 0x4ce86b
lea edx, [ebp - 0xb18]
push edx
call fcn.004fef10
mov ecx, eax
call fcn.004ff6a0
mov dword [ebp - 0xe4c], eax
lea eax, [ebp - 0xb18]
push eax
call fcn.004fef10
mov ecx, eax
call fcn.004ff720
mov dword [ebp - 0xe34], eax
cmp dword [ebp - 0xb1c], 0
je 0x4ce881
cmp dword [ebp - 0xb1c], 1
jne 0x4ceb50
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x104
lea ecx, [ebp - 0x1070]
push ecx
push 0
push str.LastPopTime
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x104
lea edx, [ebp - 0xa18]
push edx
push 0
push 0x553708
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.popNum
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1074], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.blockNum
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe68], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push 0x55373c
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1ad8], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0xffffffffffffffff
push str.white
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe60], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push 0x553750
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1ad4], eax
lea ecx, [ebp - 0xe64]
call fcn.00406010
push eax
push 0
push str.auto
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xb24], eax
lea ecx, [ebp - 0xe64]
call fcn.00406010
push eax
push 0
push str.userwhite
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x107c], eax
cmp dword [ebp - 0xb1c], 1
jne 0x4cea5b
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x104
lea eax, [ebp - 0xd30]
push eax
push 0
push 0x553778
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xd30]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.004057e0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x7c], 0xffffffff
cmp dword [ebp - 0x1074], 0
jne 0x4cea5b
mov dword [ebp - 0x1074], 1
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.00406180
test eax, eax
jne 0x4cea7c
lea eax, [ebp - 0xa18]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.004057e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1074]
mov dword [ecx + 0x4c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xe68]
mov dword [eax + 0x50], ecx
lea edx, [ebp - 0x1070]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x3c
call fcn.004057e0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xb24]
mov dword [eax + 0x64], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1ad8]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x107c]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xe60]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1ad4]
mov dword [edx + 0x60], eax
cmp dword [ebp - 0xe4c], 0
je 0x4ceb09
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x64], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x58], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x5c], 0
cmp dword [ebp - 0xe34], 0
je 0x4ceb30
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x64], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.00406180
test eax, eax
jne 0x4ceb50
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1d18]
call fcn.004cdfa0
cmp dword [ebp - 0xb1c], 0
je 0x4ceb66
cmp dword [ebp - 0xb1c], 2
jne 0x4cee46
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.MPopNum
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe38], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.MBlockNum
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xb20], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.mlev
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1ce4], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0xffffffffffffffff
push str.mwhite
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe54], eax
lea ecx, [ebp - 0xe64]
call fcn.00406010
push eax
push 0
push str.muserwhite
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1078], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0
push str.mhat
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xe5c], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x104
lea edx, [ebp - 0x12d0]
push edx
push 0
push str.mproinfo
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xe64]
call fcn.00406010
push eax
push 0
push str.mauto
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1cec], eax
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x104
lea eax, [ebp - 0x1ce0]
push eax
push 0
push str.MLastPopTime
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0xb1c], 2
jne 0x4ced39
lea ecx, [ebp - 0xe40]
call fcn.00406010
push eax
push 0x104
lea ecx, [ebp - 0xd30]
push ecx
push 0
push 0x553820
lea ecx, [ebp + 8]
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0xd30]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x84
call fcn.004057e0
cmp dword [ebp - 0x1ce4], 0
jne 0x4ced39
mov dword [ebp - 0xe54], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x84
call fcn.00406180
test eax, eax
jne 0x4ced60
lea eax, [ebp - 0x12d0]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x84
call fcn.004057e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xe38]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xb20]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1ce4]
mov dword [edx + 0x78], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1078]
mov dword [ecx + 0x74], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xe54]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1cec]
mov dword [edx + 0x8c], eax
lea ecx, [ebp - 0x1ce0]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x88
call fcn.004057e0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xe5c]
mov dword [edx + 0x80], eax
cmp dword [ebp - 0xe4c], 0
je 0x4cedf9
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x8c], 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x74], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x7c], 0
cmp dword [ebp - 0xe34], 0
je 0x4cee23
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x7c], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x84
call fcn.00406180
test eax, eax
jne 0x4cee46
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x1d18]
call fcn.004cdfa0
mov dword [ebp - 0x1d14], 1
lea ecx, [ebp - 0xe50]
call fcn.00406190
lea ecx, [ebp - 0xe40]
call fcn.00406190
lea ecx, [ebp - 0xe48]
call fcn.00406190
lea ecx, [ebp - 0xe64]
call fcn.00406190
lea ecx, [ebp + 8]
call fcn.00406190
mov eax, dword [ebp - 0x1d14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 0xc