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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x64916c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6b533c]
test eax, eax
je 0x534d78
mov ecx, dword [0x6b5338]
push edi
lea edx, [eax + ecx*4 + 4]
push 1
push 0x5ca700
mov dword [ebp - 0x34], edx
call fcn.00552e20
mov edi, eax
add esp, 8
test edi, edi
je 0x534d77
push ebx
push esi
push 0
push edi
push 1
push 0x5c07d0
call fcn.0052fc40
add esp, 0x10
test eax, eax
je 0x534d5d
mov ecx, dword [0x6b533c]
mov esi, eax
imul esi, esi, 0x25c
add esi, dword [ebp - 0x34]
push 0
push edi
push 1
mov dword [ecx + eax*4], esi
push 0x5c942c
mov dword [esi], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5c93cc
mov dword [esi + 8], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca6f8
mov dword [esi + 4], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5c9188
mov dword [esi + 0x2c], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca430
mov dword [esi + 0x14], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca6e8
mov dword [esi + 0x18], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca6dc
mov dword [esi + 0x1c], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca6d0
mov dword [esi + 0x10], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca6c4
mov dword [esi + 0x28], eax
call fcn.0052fc40
push 0x5a
push edi
push 1
push 0x5ca6c0
mov dword [esi + 0x30], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca494
mov word [esi + 0x34], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5c991c
mov word [esi + 0x36], ax
call fcn.0052fc40
add esp, 0x40
mov dword [esi + 0x38], eax
push 0
push edi
push 1
push 0x5ca6b4
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca6a4
mov dword [esi + 0xc], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca698
mov word [esi + 0xa2], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca688
mov dword [esi + 0x82], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca67c
mov dword [esi + 0x86], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca670
mov dword [esi + 0x44], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca668
mov dword [esi + 0x48], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca658
mov dword [esi + 0x4c], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca640
mov dword [esi + 0x8e], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca62c
mov dword [esi + 0x92], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca618
mov dword [esi + 0x96], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca604
mov dword [esi + 0x9a], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca5f0
mov dword [esi + 0x9e], eax
call fcn.0052fc40
mov dword [esi + 0x24], eax
push 0
push edi
push 1
push 0x5ca364
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca358
mov dword [esi + 0x58], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca34c
mov dword [esi + 0x5c], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca340
mov dword [esi + 0x60], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca334
mov dword [esi + 0x64], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca324
mov dword [esi + 0x68], eax
call fcn.0052fc40
push 1
push edi
push 1
push 0x5ca5e4
mov dword [esi + 0x6c], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca2fc
mov dword [esi + 0x50], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca5dc
mov dword [esi + 0x54], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca5d0
mov dword [esi + 0x70], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca5c4
mov dword [esi + 0x74], eax
call fcn.0052fc40
add esp, 0x40
mov word [esi + 0x78], ax
test ax, ax
jne 0x5349b3
mov edx, 0x13bf
mov word [esi + 0x78], dx
push 0
push edi
push 1
push 0x5ca5bc
call fcn.0052fc40
push 0
push edi
push 1
push 0x5c9910
mov dword [esi + 0x7a], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca5ac
mov dword [esi + 0x7e], eax
call fcn.0052fc40
add esp, 0x30
mov dword [esi + 0x8a], eax
test eax, eax
je 0x5349fd
mov dword [esi + 0x8a], 1
push 0
push edi
push 1
push 0x5c9e28
call fcn.0052fc40
push 0
push edi
push 1
push 0x5c9e1c
mov word [esi + 0xa4], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5c9e10
mov word [esi + 0xa6], ax
call fcn.0052fc40
mov word [esi + 0xa8], ax
xor eax, eax
push eax
push edi
mov dword [esi + 0xaa], eax
push 1
mov dword [esi + 0xae], eax
push 0x5ca59c
mov dword [esi + 0xb2], eax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca58c
mov dword [esi + 0xaa], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca57c
mov dword [esi + 0xae], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca568
mov dword [esi + 0xb2], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca554
mov word [esi + 0xd2], ax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca540
mov word [esi + 0xd4], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca418
mov word [esi + 0xd6], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca410
mov byte [esi + 0xb6], al
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca400
mov dword [esi + 0xb8], eax
call fcn.0052fc40
add esp, 0x40
push 0
mov byte [esi + 0xb7], al
push edi
push 1
push 0x5ca3f4
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca534
mov dword [esi + 0xbc], eax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca528
mov word [esi + 0xc2], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca51c
mov word [esi + 0xc4], ax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca510
mov word [esi + 0xc6], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca504
mov word [esi + 0xc8], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca4f8
mov word [esi + 0xca], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca4ec
mov word [esi + 0xcc], ax
call fcn.0052fc40
add esp, 0x40
push 0
push edi
push 1
push 0x5ca4e0
mov word [esi + 0xce], ax
call fcn.0052fc40
push 0
push edi
push 1
push 0x5ca4d4
mov word [esi + 0xd0], ax
call fcn.0052fc40
lea ebx, [esi + 0xd8]
push edi
push ebx
mov word [esi + 0x256], ax
call fcn.00530a50
push edi
push ebx
call fcn.00530e40
push 0
push edi
push 1
push 0x5ca4c8
call fcn.0052fc40
add esp, 0x40
mov byte [esi + 0x115], al
test al, al
je 0x534c32
or dword [ebx], reloc.MSVCRT.dll_strncpy
cmp dword [esi + 0x10], 0
jne 0x534c3e
or dword [ebx], reloc.MSVCRT.dll_strncpy
push 0x6b7d14
push edi
push 1
push 0x5ca4bc
mov dword [ebp - 0x30], 1
call fcn.00552ee0
add esp, 0x10
test eax, eax
je 0x534cc9
mov edi, edi
push 0xa
lea eax, [ebp - 0x2c]
push eax
push 0x6b7d14
call fcn.0052ff30
mov ecx, dword [ebp - 0x2c]
push ecx
mov ebx, eax
call fcn.005215f0
add esp, 0x10
test eax, eax
je 0x534caa
cmp eax, 6
jg 0x534caa
mov ecx, dword [ebp - 0x28]
xor edx, edx
cmp ebx, 3
setl dl
and ecx, 0xffff
dec edx
and edx, dword [ebp - 0x24]
push edx
mov edx, dword [esi]
push ecx
push edx
push eax
call fcn.00534520
add esp, 0x10
mov eax, dword [ebp - 0x30]
push 0x6b7d14
inc eax
push edi
push eax
push 0x5ca4bc
mov dword [ebp - 0x30], eax
call fcn.00552ee0
add esp, 0x10
test eax, eax
jne 0x534c60
push 0x6b7d14
push edi
push 1
xor ebx, ebx
push 0x5c9314
mov dword [ebp - 0x30], ebx
call fcn.00552ee0
add esp, 0x10
test eax, eax
je 0x534d38
push 0x5c0580
push 0x6b7d14
call fcn.005a2cdd
add esp, 8
test eax, eax
je 0x534d38
cmp byte [eax], 0x20
jne 0x534d08
inc eax
cmp byte [eax], 0x20
je 0x534d02
push 0
push eax
call fcn.0052fbc0
push 0x5c0580
push 0
mov ebx, eax
call fcn.005a2cdd
add esp, 0x10
test eax, eax
je 0x534d35
push 0
push eax
call fcn.0052fbc0
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x534d38
mov dword [ebp - 0x30], ebx
cmp dword [esi], reloc.MSVCRT.dll_strncpy
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
jne 0x534d5d
cmp dword [esi + 0x18], 0
mov dword [esi + 0x24], 0
jne 0x534d5d
mov dword [esi + 0x18], 2
push edi
push 0x5ca700
call fcn.00552e80
mov edi, eax
add esp, 8
test edi, edi
jne 0x5346b6
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059ea5e
mov esp, ebp
pop ebp
ret