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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x560], eax
mov esi, vtable.CMHFile.0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x558], esi
call fcn.004061b0
xor ebx, ebx
push 0x104
xor eax, eax
lea ecx, [ebp - 0x528]
push ebx
push ecx
mov dword [ebp - 0x554], ebx
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x538], eax
mov word [ebp - 0x534], bx
mov dword [ebp - 0x530], ebx
mov dword [ebp - 0x544], ebx
mov dword [ebp - 0x52c], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x54c], ebx
mov dword [ebp - 0x548], ebx
push ebx
push str.._Resource_UniqueItemOptionList.bin
mov ecx, 0x587394
lea edi, [ebp - 0x558]
mov dword [ebp - 4], ebx
call fcn.00528720
test eax, eax
jne 0x534220
mov dword [ebp - 0x558], esi
mov esi, edi
mov dword [ebp - 4], 1
call fcn.00528910
xor eax, eax
jmp 0x534536
mov eax, dword [ebp - 0x550]
sub eax, ebx
je 0x534245
dec eax
jne 0x5344fe
mov edx, dword [ebp - 0x538]
cmp edx, dword [ebp - 0x544]
je 0x534515
jmp 0x534261
mov eax, dword [ebp - 0x554]
push eax
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
neg eax
sbb eax, eax
neg eax
jne 0x534515
push 0x84
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x5342e2
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov edi, eax
mov word [eax + 0x44], cx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], ebx
mov dword [eax + 0x78], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x80], ebx
mov dword [ebp - 0x55c], edi
jmp 0x5342ea
mov dword [ebp - 0x55c], ebx
mov edi, ebx
push 0x69d3c8
lea esi, [ebp - 0x558]
call fcn.00528970
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi], eax
call fcn.00528970
add edi, 4
mov esi, 0x21
mov ecx, 0x69d3c8
call fcn.0052ccd0
push 0x69d3c8
lea esi, [ebp - 0x558]
call fcn.00528970
mov edi, dword [ebp - 0x55c]
add edi, 0x24
mov esi, 0x21
mov ecx, 0x69d3c8
call fcn.0052ccd0
push 0x69d3c8
lea esi, [ebp - 0x558]
call fcn.00528970
push 0x69d3c8
call ebx
mov edi, dword [ebp - 0x55c]
add esp, 4
push 0x69d3c8
mov byte [edi + 0x44], al
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov byte [edi + 0x45], al
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x48], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x4c], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x50], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x54], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x58], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x5c], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x60], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x64], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x68], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x6c], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x70], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x74], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x78], eax
call fcn.00528970
push 0x69d3c8
call ebx
add esp, 4
push 0x69d3c8
mov dword [edi + 0x7c], eax
call fcn.00528970
push 0x69d3c8
call ebx
mov ebx, dword [edi]
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x560]
add esp, 4
push edi
add eax, 0x4c
call fcn.00538350
xor ebx, ebx
jmp 0x534220
dec eax
jne 0x534515
push str.MHFile.cpp
xor ecx, ecx
mov edx, 0x258
call fcn.0052cb10
add esp, 4
mov dword [ebp - method.CMHFile.virtual_0], vtable.CMHFile.0
lea esi, [ebp - 0x558]
mov dword [ebp - 4], 2
call fcn.00528910
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4