Function at 0x471650
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d19a
mov eax, dword fs:[0]
push eax
mov eax, 0x1428
call fcn.004cd300
mov eax, dword [0x5925f0]
xor eax, ebp
mov dword [ebp - 0x64], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13f0], ecx
mov eax, dword [ebp - 0x13f0]
mov dword [eax + 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004e95a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x6a8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x280], 0
mov ecx, dword [ebp - 0x13f0]
cmp dword [ecx], 0
je 0x4717f5
mov dword [ebp - 0xee0], 0
mov ecx, dword [0x594280]
call fcn.0042bc90
mov dword [ebp - 0xed4], eax
push 0x54f86c
push 0x54f874
mov edx, dword [ebp - 0xed4]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xee0], eax
cmp dword [ebp - 0xee0], 0
jne 0x47173a
mov dword [ebp - 0x122c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00467790
mov eax, dword [ebp - 0x122c]
jmp 0x472519
mov eax, dword [ebp - 0xee0]
push eax
mov ecx, dword [ebp - 0xed4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xedc], eax
mov edx, dword [ebp - 0xedc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xed8], eax
mov eax, dword [ebp - 0xee0]
push eax
mov ecx, dword [ebp - 0xed4]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xed0], eax
mov edx, dword [ebp - 0xed0]
add edx, 1
push edx
call fcn.004aa3b0
add esp, 4
mov dword [ebp - 0x1230], eax
mov eax, dword [ebp - 0x1230]
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0xed0]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x280]
push edx
call fcn.004caa30
add esp, 0xc
mov eax, dword [ebp - 0xed0]
push eax
mov ecx, dword [ebp - 0xed8]
push ecx
mov edx, dword [ebp - 0x280]
push edx
call fcn.004d0a60
add esp, 0xc
push 0
push 0
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004eb9d0
jmp 0x471a43
cmp dword [0x594694], 0
jne 0x47181e
mov ecx, dword [ebp - 0x13f0]
add ecx, 0x14
push ecx
push 0x54f880
lea edx, [ebp - 0x11f4]
push edx
call fcn.004cb62b
add esp, 0xc
jmp 0x471896
mov eax, dword [0x594694]
cmp dword [eax + 4], 0
je 0x471878
mov ecx, dword [ebp - 0x13f0]
add ecx, 0x14
push ecx
push 0x54f8a0
lea edx, [ebp - 0x11f4]
push edx
call fcn.004cb62b
add esp, 0xc
lea eax, [ebp - 0x11f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471876
mov ecx, dword [ebp - 0x13f0]
add ecx, 0x14
push ecx
push 0x54f8c8
lea edx, [ebp - 0x11f4]
push edx
call fcn.004cb62b
add esp, 0xc
jmp 0x471896
mov eax, dword [ebp - 0x13f0]
add eax, 0x14
push eax
push str._sSkinSkin.xml
lea ecx, [ebp - 0x11f4]
push ecx
call fcn.004cb62b
add esp, 0xc
lea edx, [ebp - 0x11f4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4718cb
mov dword [ebp - 0x1234], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00467790
mov eax, dword [ebp - 0x1234]
jmp 0x472519
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x13f4], eax
lea eax, [ebp - 0xfec]
push eax
lea ecx, [ebp - 0x11f4]
push ecx
mov edx, dword [ebp - 0x13f4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x13f4]
mov edx, dword [eax + 8]
call edx
push 0
lea eax, [ebp - 0xfec]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004ea500
movzx ecx, al
test ecx, ecx
jne 0x471a36
mov dword [ebp - 0x1208], 0
mov ecx, dword [0x594280]
call fcn.0042bc90
mov dword [ebp - 0x11fc], eax
push 0x54f908
push str.Skin
mov edx, dword [ebp - 0x11fc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1208], eax
cmp dword [ebp - 0x1208], 0
jne 0x47197e
mov dword [ebp - 0x1238], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00467790
mov eax, dword [ebp - 0x1238]
jmp 0x472519
mov eax, dword [ebp - 0x1208]
push eax
mov ecx, dword [ebp - 0x11fc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1204], eax
mov edx, dword [ebp - 0x1204]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1200], eax
mov eax, dword [ebp - 0x1208]
push eax
mov ecx, dword [ebp - 0x11fc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x11f8], eax
mov edx, dword [ebp - 0x11f8]
add edx, 1
push edx
call fcn.004aa3b0
add esp, 4
mov dword [ebp - 0x123c], eax
mov eax, dword [ebp - 0x123c]
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x11f8]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x280]
push edx
call fcn.004caa30
add esp, 0xc
mov eax, dword [ebp - 0x11f8]
push eax
mov ecx, dword [ebp - 0x1200]
push ecx
mov edx, dword [ebp - 0x280]
push edx
call fcn.004d0a60
add esp, 0xc
push 0
push 0
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004eb9d0
jmp 0x471a43
mov ecx, dword [ebp - 0x13f0]
mov dword [ecx + 4], 0
push 0x54f91c
lea ecx, [ebp - 0x5c]
call fcn.004e8b00
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x471a83
mov dword [ebp - 0x1240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00467790
mov eax, dword [ebp - 0x1240]
jmp 0x472519
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x288], 0
mov ecx, dword [ebp - 0x274]
call fcn.004e8ba0
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
je 0x4724cc
push 0x14
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x1248], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1248], 0
je 0x471b25
mov ecx, dword [ebp - 0x1248]
call fcn.0047a160
mov dword [ebp - 0x13f8], eax
jmp 0x471b2f
mov dword [ebp - 0x13f8], 0
mov edx, dword [ebp - 0x13f8]
mov dword [ebp - 0x1244], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1244]
mov dword [ebp - 0x120c], eax
mov ecx, dword [ebp - 0x278]
call fcn.00467750
mov dword [ebp - 0x290], eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x13fc], eax
lea ecx, [ebp - 0x49c]
push ecx
mov edx, dword [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x13fc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x13fc]
mov eax, dword [edx + 0xc]
call eax
push 0x14
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x1250], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1250], 0
je 0x471bbe
mov ecx, dword [ebp - 0x1250]
call fcn.00479990
mov dword [ebp - 0x1400], eax
jmp 0x471bc8
mov dword [ebp - 0x1400], 0
mov ecx, dword [ebp - 0x1400]
mov dword [ebp - 0x124c], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x124c]
mov dword [ebp - 0x1210], edx
push 8
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x1258], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1258], 0
je 0x471c14
mov ecx, dword [ebp - 0x1258]
call fcn.004706d0
mov dword [ebp - 0x1404], eax
jmp 0x471c1e
mov dword [ebp - 0x1404], 0
mov eax, dword [ebp - 0x1404]
mov dword [ebp - 0x1254], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1254]
mov dword [ebp - 0x1214], ecx
mov ecx, dword [ebp - 0x278]
call fcn.0047bbb0
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x471d6f
mov ecx, dword [ebp - 0x6a8]
call fcn.0047bb70
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x6a8]
call fcn.0047bb90
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x60], 0
je 0x471d59
cmp dword [ebp - 0x288], 0
je 0x471d59
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x1408], eax
lea edx, [ebp - 0x8b4]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x1408]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1408]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x140c], eax
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x140c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x140c]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x1274]
call fcn.004015d0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x8b4]
push edx
lea ecx, [ebp - 0x1290]
call fcn.004015d0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1274]
push eax
lea ecx, [ebp - 0x1290]
push ecx
mov edx, dword [ebp - 0x1214]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1214]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1290]
call fcn.00401610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1274]
call fcn.00401610
mov ecx, dword [ebp - 0x6a8]
call fcn.004e8d90
mov dword [ebp - 0x6a8], eax
jmp 0x471c4b
push 0x54f924
lea ecx, [ebp - 0x12ac]
call fcn.004015d0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1214]
push eax
lea ecx, [ebp - 0x12ac]
push ecx
mov edx, dword [ebp - 0x1210]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1210]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12ac]
call fcn.00401610
push 0x54f934
lea ecx, [ebp - 0x12c8]
call fcn.004015d0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1210]
push eax
lea ecx, [ebp - 0x12c8]
push ecx
mov edx, dword [ebp - 0x120c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x120c]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c8]
call fcn.00401610
push 0x54f944
lea eax, [ebp - 0x49c]
push eax
call fcn.004cbc4a
add esp, 8
test eax, eax
jne 0x472123
mov ecx, dword [ebp - 0x278]
call fcn.004e8ba0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x47211e
mov ecx, dword [ebp - 0x284]
call fcn.00467750
mov dword [ebp - 0x10], eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x1410], eax
lea ecx, [ebp - 0xcc4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1410]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1410]
mov eax, dword [edx + 0xc]
call eax
push 0x14
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x12d0], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x12d0], 0
je 0x471e9c
mov ecx, dword [ebp - 0x12d0]
call fcn.00479990
mov dword [ebp - 0x1414], eax
jmp 0x471ea6
mov dword [ebp - 0x1414], 0
mov ecx, dword [ebp - 0x1414]
mov dword [ebp - 0x12cc], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x12cc]
mov dword [ebp - 0x121c], edx
push 8
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x12d8], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x12d8], 0
je 0x471ef2
mov ecx, dword [ebp - 0x12d8]
call fcn.004706d0
mov dword [ebp - 0x1418], eax
jmp 0x471efc
mov dword [ebp - 0x1418], 0
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x12d4], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x12d4]
mov dword [ebp - 0x1218], ecx
mov ecx, dword [ebp - 0x284]
call fcn.004e8ba0
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x472080
mov ecx, dword [ebp - 0x270]
call fcn.00467750
mov dword [ebp - 0x28c], eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x141c], eax
lea edx, [ebp - 0xabc]
push edx
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x141c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x141c]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x270]
call fcn.0047bb50
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
je 0x47206a
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x27c]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x47206a
mov ecx, dword [ebp - 0x294]
call fcn.00467750
mov dword [ebp - 0x1220], eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x1420], eax
lea ecx, [ebp - 0x6a4]
push ecx
mov edx, dword [ebp - 0x1220]
push edx
mov eax, dword [ebp - 0x1420]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1420]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x6a4]
push ecx
lea ecx, [ebp - 0x12f4]
call fcn.004015d0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xabc]
push edx
lea ecx, [ebp - 0x1310]
call fcn.004015d0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x12f4]
push eax
lea ecx, [ebp - 0x1310]
push ecx
mov edx, dword [ebp - 0x1218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1218]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1310]
call fcn.00401610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12f4]
call fcn.00401610
mov ecx, dword [ebp - 0x270]
call fcn.004e8c10
mov dword [ebp - 0x270], eax
jmp 0x471f29
push 0x54f960
lea ecx, [ebp - 0x132c]
call fcn.004015d0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1218]
push eax
lea ecx, [ebp - 0x132c]
push ecx
mov edx, dword [ebp - 0x121c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x121c]
mov edx, dword [eax]
call edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x132c]
call fcn.00401610
lea eax, [ebp - 0xcc4]
push eax
lea ecx, [ebp - 0x1348]
call fcn.004015d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x121c]
push ecx
lea edx, [ebp - 0x1348]
push edx
mov eax, dword [ebp - 0x120c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x120c]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1348]
call fcn.00401610
mov ecx, dword [ebp - 0x284]
call fcn.004e8c10
mov dword [ebp - 0x284], eax
jmp 0x471e22
jmp 0x47246b
mov ecx, dword [ebp - 0x278]
call fcn.004e8ba0
mov dword [ebp - 0x284], eax
cmp dword [ebp - 0x284], 0
je 0x47246b
push 0x14
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x1350], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x1350], 0
je 0x472171
mov ecx, dword [ebp - 0x1350]
call fcn.00479990
mov dword [ebp - 0x1424], eax
jmp 0x47217b
mov dword [ebp - 0x1424], 0
mov ecx, dword [ebp - 0x1424]
mov dword [ebp - 0x134c], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x134c]
mov dword [ebp - 0x1224], edx
mov ecx, dword [ebp - 0x284]
call fcn.00467750
mov dword [ebp - 0x10], eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x1428], eax
lea eax, [ebp - 0xcc4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1428]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1428]
mov edx, dword [eax + 0xc]
call edx
mov ecx, dword [ebp - 0x284]
call fcn.004e8ba0
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
je 0x472410
push 8
call fcn.004aa385
add esp, 4
mov dword [ebp - 0x1358], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x1358], 0
je 0x472222
mov ecx, dword [ebp - 0x1358]
call fcn.004706d0
mov dword [ebp - 0x142c], eax
jmp 0x47222c
mov dword [ebp - 0x142c], 0
mov eax, dword [ebp - 0x142c]
mov dword [ebp - 0x1354], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1354]
mov dword [ebp - 0x1228], ecx
mov ecx, dword [ebp - 0x270]
call fcn.0047bbb0
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x4723b5
mov ecx, dword [ebp - 0x6a8]
call fcn.0047bb70
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x6a8]
call fcn.0047bb90
mov dword [ebp - 0x288], eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x1430], eax
lea edx, [ebp - 0x8b4]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x1430]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1430]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x594280]
call fcn.0042bcc0
mov dword [ebp - 0x1434], eax
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x1434]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1434]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x8b4]
test ecx, ecx
je 0x47239f
lea edx, [ebp - 0x26c]
test edx, edx
je 0x47239f
push 0x54f970
lea eax, [ebp - 0x8b4]
push eax
call fcn.004cbc4a
add esp, 8
test eax, eax
jne 0x472335
lea ecx, [ebp - 0x26c]
push ecx
push 0x54f978
lea edx, [ebp - 0xecc]
push edx
call fcn.004cb62b
add esp, 0xc
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x1374]
call fcn.004015d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x8b4]
push ecx
lea ecx, [ebp - 0x1390]
call fcn.004015d0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x1374]
push edx
lea eax, [ebp - 0x1390]
push eax
mov ecx, dword [ebp - 0x1228]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1228]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1390]
call fcn.00401610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1374]
call fcn.00401610
mov ecx, dword [ebp - 0x6a8]
call fcn.004e8d90
mov dword [ebp - 0x6a8], eax
jmp 0x472259
lea ecx, [ebp - 0xecc]
push ecx
lea ecx, [ebp - 0x13ac]
call fcn.004015d0
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x1228]
push edx
lea eax, [ebp - 0x13ac]
push eax
mov ecx, dword [ebp - 0x1224]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1224]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13ac]
call fcn.00401610
mov ecx, dword [ebp - 0x270]
call fcn.004e8c10
mov dword [ebp - 0x270], eax
jmp 0x4721e5
lea ecx, [ebp - 0xcc4]
push ecx
lea ecx, [ebp - 0x13c8]
call fcn.004015d0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x1224]
push edx
lea eax, [ebp - 0x13c8]
push eax
mov ecx, dword [ebp - 0x120c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x120c]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c8]
call fcn.00401610
mov ecx, dword [ebp - 0x284]
call fcn.004e8c10
mov dword [ebp - 0x284], eax
jmp 0x472134
lea ecx, [ebp - 0x49c]
push ecx
lea ecx, [ebp - 0x13e4]
call fcn.004015d0
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x120c]
push edx
lea eax, [ebp - 0x13e4]
push eax
mov ecx, dword [ebp - 0x13f0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x13f0]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13e4]
call fcn.00401610
mov ecx, dword [ebp - 0x278]
call fcn.004e8c10
mov dword [ebp - 0x278], eax
jmp 0x471ae8
cmp dword [ebp - 0x280], 0
je 0x4724fa
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x13e8], ecx
mov edx, dword [ebp - 0x13e8]
push edx
call fcn.004aa3b5
add esp, 4
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x13ec], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00467790
mov eax, dword [ebp - 0x13ec]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x64]
xor ecx, ebp
call fcn.004ca9d7
mov esp, ebp
pop ebp
ret