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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff895
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5415b0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x542750]
xor ebx, ebx
mov dword [esp + 0x20], eax
and dword [esp + 0x240], ebx
lea eax, [esp + 0x20]
push str.KW3_LocalGame.xml
push 0x547b18
push 0x50de04
push eax
call fcn.0040301c
add esp, 0x10
lea ecx, [esp + 0xb4]
call fcn.004ad305
and dword [esp + 0x94], ebx
mov dword [esp + 0x98], 0xf
mov byte [esp + 0x84], bl
lea eax, [esp + 0x84]
mov byte [esp + 0x240], 2
mov ecx, dword [esp + 0x20]
push eax
call fcn.00467984
cmp dword [esp + 0x9c], 0x10
lea edx, [esp + 0x88]
pop ecx
cmovae edx, dword [esp + 0x84]
lea ecx, [esp + 0x9c]
call fcn.0042f10d
mov byte [esp + 0x240], 3
lea eax, [esp + 0x9c]
cmp dword [esp + 0xb0], 0x10
lea ecx, [esp + 0xb4]
push 1
cmovae eax, dword [esp + 0xa0]
push eax
call fcn.004ad3cb
test eax, eax
je 0x467f6b
and dword [esp + 0x34], ebx
and dword [esp + 0x30], ebx
lea eax, [esp + 0x30]
mov byte [esp + 0x240], 4
push eax
lea ecx, [esp + 0xb8]
call fcn.004ad4d1
xor eax, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x54], eax
call fcn.004acb8f
mov edi, eax
test edi, edi
jle 0x467f5a
mov ecx, esi
call fcn.004676c3
lea ebx, [esi + 0x4bc]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call fcn.00404f1e
lea ecx, [esi + 0x488]
mov dword [esp + 0x6c], 1
push edi
call fcn.004692ca
and dword [esp + 0x24], 0
test edi, edi
jle 0x467e72
and dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x24]
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
mov byte [esp + 0x240], 5
push eax
push ebx
lea ecx, [esp + 0x5c]
call fcn.004acbb4
lea ecx, [esp + 0x38]
call fcn.004673e3
push 0
push 0x50eee4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 6
call fcn.004ad18f
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x14]
push 0x525bc8
lea eax, [esp + 0x28]
push eax
call fcn.004ad0be
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x244], 7
call fcn.00402a9f
lea ecx, [esp + 0x24]
mov byte [esp + 0x240], 6
call fcn.00403030
push 0x525c80
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad0be
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x244], 8
call fcn.00402a9f
lea ecx, [esp + 0x70]
mov byte [esp + 0x240], 6
call fcn.00403030
push str.ico_md5
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad0be
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x244], 9
call fcn.00402a9f
lea ecx, [esp + 0x78]
mov byte [esp + 0x240], 6
call fcn.00403030
push str.distinct_file
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad0be
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x244], 0xa
call fcn.00402a9f
lea ecx, [esp + 0x64]
mov byte [esp + 0x240], 6
call fcn.00403030
push str.distinct_hash
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad0be
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x244], 0xb
call fcn.00402a9f
mov byte [esp + 0x240], 6
lea ecx, [esp + 0x74]
call fcn.00403030
push str.large_file
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad0be
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x244], 0xc
call fcn.00402a9f
lea ecx, [esp + 0x68]
mov byte [esp + 0x240], 6
call fcn.00403030
cmp dword [esp + 0x38], 0
jle 0x467e46
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x467e46
mov eax, dword [esp + 0x40]
cmp dword [eax - 8], ecx
je 0x467e46
cmp byte [esi + 0x438], cl
jne 0x467dcf
mov eax, dword [esp + 0x44]
cmp dword [eax - 8], ecx
je 0x467dcf
mov byte [esi + 0x438], 1
lea ecx, [esp + 0x40]
call fcn.00402c72
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_CharLowerW]
lea ecx, [esp + 0x3c]
call fcn.00402c72
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_CharLowerW]
movzx eax, byte [0x548ede]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esi + 0x480]
call fcn.0046956e
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 0x478]
call fcn.00449c0a
mov ecx, eax
call fcn.00402a9f
mov ecx, dword [esi + 0x488]
lea eax, [esp + 0x38]
add ecx, dword [esp + 0x1c]
push eax
call fcn.00467fcf
lea ecx, [esp + 0x38]
call fcn.004237e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 4
call fcn.004acc5c
add dword [esp + 0x1c], 0x1c
inc ebx
cmp ebx, edi
jl 0x467c06
mov ebx, dword [esp + 0x28]
and dword [esp + 0x2c], 0
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
mov byte [esp + 0x240], 0xd
push eax
push str.FilenameBlacklist
lea ecx, [esp + 0x38]
call fcn.004acc87
test eax, eax
je 0x467f45
xor eax, eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
call fcn.004acb8f
mov edi, eax
xor esi, esi
test edi, edi
jle 0x467f36
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
mov byte [esp + 0x240], 0xe
push eax
push esi
lea ecx, [esp + 0x5c]
call fcn.004acbb4
push str.name
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ad0be
mov byte [esp + 0x240], 0xf
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], 0
je 0x467f17
push eax
push dword [eax - 8]
mov ecx, ebx
call fcn.00402988
lea ecx, [esp + 0x1c]
call fcn.00403030
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 0xd
call fcn.004acc5c
inc esi
cmp esi, edi
jl 0x467ec6
mov ecx, ebx
call fcn.00402c72
push dword [ebx]
call dword [sym.imp.USER32.dll_CharLowerW]
lea ecx, [esp + 0x28]
mov byte [esp + 0x240], 4
call fcn.004acc5c
mov ebx, dword [esp + 0x6c]
lea ecx, [esp + 0x30]
mov byte [esp + 0x240], 3
call fcn.004acc5c
push 0
push 1
lea ecx, [esp + 0xa4]
call fcn.00406ae3
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.00406ae3
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x240], 0
call dword [sym.imp.tinyxml.dll_public_virtual:_void___thiscall_TiXmlDocument::destructor_void_]
lea ecx, [esp + 0x20]
call fcn.00403030
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret