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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x20]
test edi, edi
je 0x5935b4
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x24], 0
cmp dword [edi], 0x5a2270
je 0x5935bc
mov byte [edi + 0x38], 0
mov byte [edi + 0x39], 0
mov byte [edi + 0x3a], 0
mov byte [edi + 0x3b], 0
mov byte [edi + 0x3c], 0
mov byte [edi + 0x3d], 0
mov byte [edi + 0x3e], 0
mov byte [edi + 0x3f], 0
mov byte [edi + 0x40], 0
mov byte [edi + 0x41], 0
mov byte [edi + 0x42], 0
mov byte [edi + 0x43], 0
mov byte [edi + 0x44], 0
mov byte [edi + 0x45], 0
mov byte [edi + 0x46], 0
mov byte [edi + 0x47], 0
mov byte [edi + 0x48], 0
mov byte [edi + 0x49], 0
mov byte [edi + 0x4a], 0
mov byte [edi + 0x4b], 0
mov byte [edi + 0x4c], 0
mov byte [edi + 0x4d], 0
mov byte [edi + 0x4e], 0
mov byte [edi + 0x4f], 0
mov byte [edi + 0x50], 0
mov byte [edi + 0x51], 0
mov byte [edi + 0x52], 0
mov byte [edi + 0x53], 0
mov byte [edi + 0x54], 0
mov byte [edi + 0x55], 0
mov byte [edi + 0x56], 0
mov byte [edi + 0x57], 0
mov byte [edi + 0x58], 0
mov byte [edi + 0x59], 0
mov byte [edi + 0x5a], 0
mov byte [edi + 0x5b], 0
mov byte [edi + 0x5c], 0
mov byte [edi + 0x5d], 0
mov byte [edi + 0x5e], 0
mov byte [edi + 0x5f], 0
mov byte [edi + 0x60], 0
mov byte [edi + 0x61], 0
mov byte [edi + 0x62], 0
mov byte [edi + 0x63], 0
mov byte [edi + 0x64], 0
mov byte [edi + 0x65], 0
mov byte [edi + 0x66], 0
mov byte [edi + 0x67], 0
mov byte [edi + 0x68], 0
mov byte [edi + 0x69], 0
mov byte [edi + 0x6a], 0
mov byte [edi + 0x6b], 0
mov byte [edi + 0x6c], 0
mov byte [edi + 0x6d], 0
mov byte [edi + 0x6e], 0
mov byte [edi + 0x6f], 0
mov byte [edi + 0x70], 0
mov byte [edi + 0x71], 0
mov byte [edi + 0x72], 0
mov byte [edi + 0x73], 0
mov byte [edi + 0x74], 0
mov byte [edi + 0x75], 0
mov byte [edi + 0x76], 0
mov byte [edi + 0x77], 0
mov byte [edi + 0x78], 0
mov byte [edi + 0x79], 0
mov byte [edi + 0x7a], 0
mov byte [edi + 0x7b], 0
mov byte [edi + 0x7c], 0
mov byte [edi + 0x7d], 0
mov byte [edi + 0x7e], 0
mov byte [edi + 0x7f], 0
mov byte [edi + 0x80], 0
mov byte [edi + 0x81], 0
mov byte [edi + 0x82], 0
mov byte [edi + 0x83], 0
mov byte [edi + 0x84], 0
mov byte [edi + 0x85], 0
mov byte [edi + 0x86], 0
mov byte [edi + 0x87], 0
mov byte [edi + 0x88], 0
mov byte [edi + 0x89], 0
mov byte [edi + 0x8a], 0
mov byte [edi + 0x8b], 0
mov byte [edi + 0x8c], 0
mov byte [edi + 0x8d], 0
mov byte [edi + 0x8e], 0
mov byte [edi + 0x8f], 0
mov byte [edi + 0x90], 0
mov byte [edi + 0x91], 0
mov byte [edi + 0x92], 0
mov byte [edi + 0x93], 0
mov byte [edi + 0x94], 0
mov byte [edi + 0x95], 0
mov byte [edi + 0x96], 0
mov byte [edi + 0x97], 0
mov byte [edi + 0x98], 0
mov byte [edi + 0x99], 0
mov byte [edi + 0x9a], 0
mov byte [edi + 0x9b], 0
mov byte [edi + 0x9c], 0
mov byte [edi + 0x9d], 0
mov byte [edi + 0x9e], 0
mov byte [edi + 0x9f], 0
mov byte [edi + 0xa0], 0
mov byte [edi + 0xa1], 0
mov byte [edi + 0xa2], 0
mov byte [edi + 0xa3], 0
mov byte [edi + 0xa4], 0
mov byte [edi + 0xa5], 0
mov byte [edi + 0xa6], 0
mov byte [edi + 0xa7], 0
mov byte [edi + 0xa8], 0
mov byte [edi + 0xa9], 0
mov byte [edi + 0xaa], 0
mov byte [edi + 0xab], 0
mov byte [edi + 0xac], 0
mov byte [edi + 0xad], 0
mov byte [edi + 0xae], 0
mov byte [edi + 0xaf], 0
mov byte [edi + 0xb0], 0
mov byte [edi + 0xb1], 0
mov byte [edi + 0xb2], 0
mov byte [edi + 0xb3], 0
mov byte [edi + 0xb4], 0
mov byte [edi + 0xb5], 0
mov byte [edi + 0xb6], 0
mov byte [edi + 0xb7], 0
mov byte [edi + 0xb8], 0
mov byte [edi + 0xb9], 0
mov byte [edi + 0xba], 0
mov byte [edi + 0xbb], 0
mov byte [edi + 0xbc], 0
mov byte [edi + 0xbd], 0
mov byte [edi + 0xbe], 0
mov byte [edi + 0xbf], 0
mov byte [edi + 0xc0], 0
mov byte [edi + 0xc1], 0
mov byte [edi + 0xc2], 0
mov byte [edi + 0xc3], 0
mov byte [edi + 0xc4], 0
mov byte [edi + 0xc5], 0
mov byte [edi + 0xc6], 0
mov byte [edi + 0xc7], 0
mov byte [edi + 0xc8], 0
mov byte [edi + 0xc9], 0
mov byte [edi + 0xca], 0
mov byte [edi + 0xcb], 0
mov byte [edi + 0xcc], 0
mov byte [edi + 0xcd], 0
mov byte [edi + 0xce], 0
mov byte [edi + 0xcf], 0
mov byte [edi + 0xd0], 0
mov byte [edi + 0xd1], 0
mov byte [edi + 0xd2], 0
mov byte [edi + 0xd3], 0
mov byte [edi + 0xd4], 0
mov byte [edi + 0xd5], 0
mov byte [edi + 0xd6], 0
mov byte [edi + 0xd7], 0
mov byte [edi + 0xd8], 0
mov byte [edi + 0xd9], 0
mov byte [edi + 0xda], 0
mov byte [edi + 0xdb], 0
mov byte [edi + 0xdc], 0
mov byte [edi + 0xdd], 0
mov byte [edi + 0xde], 0
mov byte [edi + 0xdf], 0
mov byte [edi + 0xe0], 0
mov byte [edi + 0xe1], 0
mov byte [edi + 0xe2], 0
mov byte [edi + 0xe3], 0
mov byte [edi + 0xe4], 0
mov byte [edi + 0xe5], 0
mov byte [edi + 0xe6], 0
mov byte [edi + 0xe7], 0
mov byte [edi + 0xe8], 0
mov byte [edi + 0xe9], 0
mov byte [edi + 0xea], 0
mov byte [edi + 0xeb], 0
mov byte [edi + 0xec], 0
mov byte [edi + 0xed], 0
mov byte [edi + 0xee], 0
mov byte [edi + 0xef], 0
mov byte [edi + 0xf0], 0
mov byte [edi + 0xf1], 0
mov byte [edi + 0xf2], 0
mov byte [edi + 0xf3], 0
mov byte [edi + 0xf4], 0
mov byte [edi + 0xf5], 0
mov byte [edi + 0xf6], 0
mov byte [edi + 0xf7], 0
mov byte [edi + 0xf8], 0
mov byte [edi + 0xf9], 0
mov byte [edi + 0xfa], 0
mov byte [edi + 0xfb], 0
mov byte [edi + 0xfc], 0
mov byte [edi + 0xfd], 0
mov byte [edi + 0xfe], 0
mov byte [edi + 0xff], 0
mov byte [edi + 0x100], 0
mov byte [edi + 0x101], 0
mov byte [edi + 0x102], 0
mov byte [edi + 0x103], 0
mov byte [edi + 0x104], 0
mov byte [edi + 0x105], 0
mov byte [edi + 0x106], 0
mov byte [edi + 0x107], 0
mov byte [edi + 0x108], 0
mov byte [edi + 0x109], 0
mov byte [edi + 0x10a], 0
mov byte [edi + 0x10b], 0
mov byte [edi + 0x10c], 0
mov byte [edi + 0x10d], 0
mov byte [edi + 0x10e], 0
mov byte [edi + 0x10f], 0
mov byte [edi + 0x110], 0
mov byte [edi + 0x111], 0
mov byte [edi + 0x112], 0
mov byte [edi + 0x113], 0
mov byte [edi + 0x114], 0
mov byte [edi + 0x115], 0
mov byte [edi + 0x116], 0
mov byte [edi + 0x117], 0
mov byte [edi + 0x118], 0
mov byte [edi + 0x119], 0
mov byte [edi + 0x11a], 0
mov byte [edi + 0x11b], 0
mov byte [edi + 0x11c], 0
mov byte [edi + 0x11d], 0
mov byte [edi + 0x11e], 0
mov byte [edi + 0x11f], 0
mov byte [edi + 0x120], 0
mov byte [edi + 0x121], 0
mov byte [edi + 0x122], 0
mov byte [edi + 0x123], 0
mov byte [edi + 0x124], 0
mov byte [edi + 0x125], 0
mov byte [edi + 0x126], 0
mov byte [edi + 0x127], 0
jmp 0x5935c9
add esp, 0xc
jmp 0x5936ba
push edi
mov esi, eax
call fcn.005a3660
mov eax, esi
add esp, 4
mov ecx, 0x5ad850
mov edx, 0x5aa620
mov dword [esp + 8], 0x5a66b0
mov dword [esp + 4], fcn.005aa750
mov dword [esp], 0x5a6640
mov ebp, 0x5a6510
mov ebx, 0x5a5d80
mov esi, 0x5a4910
cmp eax, 1
jne 0x593605
mov eax, 0x5ad770
jmp 0x593652
call fcn.005963f0
mov edx, 0x5aa620
mov ecx, 0x5ad850
test eax, eax
mov eax, 0x5ad770
je 0x593652
mov ecx, 0x5a4770
mov edx, 0x5a4650
mov eax, 0x5a4530
mov dword [esp + 8], 0x5a3d10
mov dword [esp + 4], 0x5a3ba0
mov dword [esp], 0x5a35d0
mov ebp, 0x5a33c0
mov ebx, 0x5a3290
mov esi, 0x5a2270
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
mov ebx, dword [esp]
mov dword [edi + 0xc], ebx
mov ebx, dword [esp + 4]
mov dword [edi + 0x10], ebx
mov ebx, dword [esp + 8]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], ecx
mov ebp, dword [esp + 0x28]
cmp ebp, 0x18
movzx eax, byte [0x889bec]
lea eax, [eax + eax + 0xa]
mov ecx, 0xc
cmovne ecx, eax
add ecx, dword [0x889b1c]
cmp ebp, 0x20
mov ebx, 0xe
cmovne ebx, ecx
mov ecx, esi
call dword [0x834360]
push dword [esp + 0x30]
push ebx
push ebp
push dword [esp + 0x30]
push edi
call esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret