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

Disassembly:
push 0xffffffffffffffff
push 0x70ae91
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x4c], edi
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x80]
mov ebx, 1
cmp esi, ebx
jne 0x5a3bce
cmp dword [esp + 0x84], ebx
jne 0x5a3bce
mov eax, dword [esp + 0x7c]
mov dword [eax], 0x750280
mov ecx, dword [edi + 4]
cmp ecx, ebp
mov dword [eax + 4], ecx
je 0x5a3bc3
add dword [ecx + 4], ebx
mov dword [eax], 0x7526a0
jmp 0x5a403f
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 0x7526a0
mov ecx, edi
mov dword [esp + 0x74], ebx
call fcn.005a14d0
test al, al
je 0x5a4016
cmp esi, ebp
jle 0x5a4016
cmp dword [esp + 0x84], ebp
jle 0x5a4016
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
jle 0x5a4004
cmp eax, ebp
jle 0x5a4004
cdq
idiv esi
push ebp
mov ebx, eax
mov eax, ecx
cdq
idiv dword [esp + 0x88]
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], ebx
mov esi, eax
push esi
push ebx
call fcn.005a1890
lea ecx, [esp + 0x64]
call fcn.005a1cc0
cmp eax, ebp
je 0x5a3ffd
mov ecx, dword [edi + 4]
cmp byte [ecx + 0x14], 0
mov edx, dword [ecx + 0x10]
mov ebx, eax
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], 0
mov eax, ecx
je 0x5a3cb0
movzx ecx, byte [eax + 0x15]
movzx edx, byte [eax + 0x16]
movzx eax, byte [eax + 0x17]
push eax
push edx
mov byte [esp + 0x1d], cl
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x20], 1
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], al
call fcn.005a1d60
jmp 0x5a3cd1
mov ebp, dword [eax + 0x18]
test ebp, ebp
je 0x5a3cd1
push 0
push 0
lea ecx, [esp + 0x6c]
call fcn.005a1ce0
lea ecx, [esp + 0x64]
call fcn.005a1d40
mov dword [esp + 0x24], eax
test esi, esi
jle 0x5a3e7c
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x84]
imul ecx, edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x58]
xor esi, esi
cmp eax, esi
jle 0x5a3e6d
mov dword [esp + 0x38], esi
mov dword [esp + 0x50], eax
jmp 0x5a3d12
xor esi, esi
xor ecx, ecx
cmp edx, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
jle 0x5a3de7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
xor edi, edi
cmp dword [esp + 0x80], edi
jle 0x5a3dc8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
lea esi, [ecx + eax]
lea eax, [edx + esi*2]
lea ecx, [esi + eax + 2]
mov dl, byte [ecx - 2]
or al, 0xff
test ebp, ebp
je 0x5a3d6c
lea eax, [esi + edi]
mov al, byte [eax + ebp]
cmp byte [esp + 0x14], 0
je 0x5a3d8a
cmp dl, byte [esp + 0x15]
jne 0x5a3d8a
mov dl, byte [ecx - 1]
cmp dl, byte [esp + 0x16]
jne 0x5a3d8a
mov dl, byte [ecx]
cmp dl, byte [esp + 0x17]
je 0x5a3db1
test al, al
jbe 0x5a3da5
movzx edx, byte [ecx - 2]
add dword [esp + 0x28], edx
movzx edx, byte [ecx - 1]
add dword [esp + 0x2c], edx
movzx edx, byte [ecx]
add dword [esp + 0x30], edx
movzx eax, al
add dword [esp + 0x20], eax
add dword [esp + 0x1c], 1
add edi, 1
add ecx, 3
cmp edi, dword [esp + 0x80]
jl 0x5a3d5d
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x40]
sub dword [esp + 0x48], 1
mov dword [esp + 0x44], eax
jne 0x5a3d3c
test ecx, ecx
jne 0x5a3e02
mov edi, dword [esp + 0x4c]
mov ecx, dword [edi + 4]
mov dl, byte [ecx + 0x15]
mov byte [ebx], dl
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x16]
add ebx, 1
mov byte [ebx], cl
mov edx, dword [edi + 4]
mov al, byte [edx + 0x17]
jmp 0x5a3e40
test ebp, ebp
je 0x5a3e1c
mov eax, dword [esp + 0x20]
xor edx, edx
div ecx
mov edx, dword [esp + 0x24]
add edx, 1
mov dword [esp + 0x24], edx
mov byte [edx - 1], al
mov eax, dword [esp + 0x28]
xor edx, edx
div ecx
xor edx, edx
mov edi, dword [esp + 0x4c]
add ebx, 1
mov byte [ebx - 1], al
mov eax, dword [esp + 0x2c]
div ecx
xor edx, edx
mov byte [ebx], al
mov eax, dword [esp + 0x30]
div ecx
mov ecx, dword [esp + 0x80]
add dword [esp + 0x38], ecx
mov edx, dword [esp + 0x84]
add ebx, 1
mov byte [ebx], al
add ebx, 1
sub dword [esp + 0x50], 1
mov dword [esp + 0x34], ebx
jne 0x5a3d10
mov ecx, dword [esp + 0x60]
add dword [esp + 0x3c], ecx
sub dword [esp + 0x54], 1
jne 0x5a3cf7
push 0x75b3c4
lea ecx, [esp + 0x58]
call fcn.00402474
lea edx, [esp + 0x54]
push edx
mov ecx, edi
mov byte [esp + 0x78], 2
call fcn.005a2010
mov ecx, dword [esp + 0x54]
add ecx, 0xfffffff4
mov bl, al
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov byte [esp + 0x74], 1
je 0x5a3ebc
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5a3ebc
call fcn.005fb120
test bl, bl
je 0x5a3f25
push 0x75b3c4
lea ecx, [esp + 0x54]
call fcn.00402474
push 0x75b3c4
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 3
call fcn.00402474
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov byte [esp + 0x78], 4
call fcn.005a36a0
cdq
idiv dword [esp + 0x80]
lea ecx, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.005a1f70
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 3
call fcn.00418698
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 1
call fcn.00418698
push 0x75b3b0
lea ecx, [esp + 0x84]
call fcn.00402474
lea edx, [esp + 0x80]
push edx
mov ecx, edi
mov byte [esp + 0x78], 5
call fcn.005a2010
mov ecx, dword [esp + 0x80]
add ecx, 0xfffffff4
mov bl, al
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov byte [esp + 0x74], 1
je 0x5a3f6e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5a3f6e
call fcn.005fb120
test bl, bl
je 0x5a3fe0
push 0x75b3b0
lea ecx, [esp + 0x58]
call fcn.00402474
mov bl, 6
push 0x75b3b0
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], bl
call fcn.00402474
lea eax, [esp + 0x54]
push eax
mov ecx, edi
mov byte [esp + 0x78], 7
call fcn.005a36a0
cdq
idiv dword [esp + 0x84]
lea ecx, [esp + 0x80]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.005a1f70
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], bl
call fcn.00418698
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 1
call fcn.00418698
lea edx, [esp + 0x64]
push edx
mov esi, dword [esp + 0x80]
mov ecx, esi
call fcn.00580650
mov dword [esp + 0x18], 1
jmp 0x5a4027
lea eax, [esp + 0x64]
push eax
jmp 0x5a3fe5
mov esi, dword [esp + 0x7c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.00580650
jmp 0x5a4023
mov esi, dword [esp + 0x7c]
mov dword [esi], 0x7526a0
mov dword [esi + 4], ebp
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x74], 0
mov dword [esp + 0x64], 0x750280
call fcn.005fd8d0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0xc