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

Disassembly:
push 0xffffffffffffffff
push 0x419942
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0xf4]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0xc4], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], 1
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 2
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 3
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 5
je 0x5a5e19
lea eax, [esp + 0x20]
push 5
push eax
lea ecx, [esp + 0xf4]
call fcn.005b486a
mov eax, dword [eax]
push 0x422878
push eax
call fcn.005a7f0e
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x13]
call fcn.005b51ac
cmp byte [esp + 0x13], bl
je 0x5a5ac1
mov ecx, dword [esp + 0x48]
mov dx, word [esp + 0x4c]
mov dword [esp + 0x58], ecx
jmp 0x5a5be9
lea eax, [esp + 0x20]
push 5
push eax
lea ecx, [esp + 0xf4]
call fcn.005b486a
mov eax, dword [eax]
push 0x422870
push eax
call fcn.005a7f0e
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x13]
call fcn.005b51ac
cmp byte [esp + 0x13], bl
je 0x5a5b0c
mov ecx, dword [esp + 0x50]
mov dx, word [esp + 0x54]
mov dword [esp + 0x58], ecx
jmp 0x5a5be9
lea eax, [esp + 0x20]
push 5
push eax
lea ecx, [esp + 0xf4]
call fcn.005b486a
mov eax, dword [eax]
push 0x422868
push eax
call fcn.005a7f0e
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x13]
call fcn.005b51ac
cmp byte [esp + 0x13], bl
je 0x5a5b57
mov ecx, dword [esp + 0x38]
mov dx, word [esp + 0x3c]
mov dword [esp + 0x58], ecx
jmp 0x5a5be9
lea eax, [esp + 0x20]
push 5
push eax
lea ecx, [esp + 0xf4]
call fcn.005b486a
mov eax, dword [eax]
push 0x422860
push eax
call fcn.005a7f0e
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x13]
call fcn.005b51ac
cmp byte [esp + 0x13], bl
je 0x5a5b9f
mov ecx, dword [esp + 0x40]
mov dx, word [esp + 0x44]
mov dword [esp + 0x58], ecx
jmp 0x5a5be9
lea eax, [esp + 0x20]
push 5
push eax
lea ecx, [esp + 0xf4]
call fcn.005b486a
mov eax, dword [eax]
push 0x422858
push eax
call fcn.005a7f0e
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete byte [esp + 0x13]
call fcn.005b51ac
cmp byte [esp + 0x13], bl
je 0x5a5eb8
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x28]
mov dword [esp + 0x58], ecx
mov word [esp + 0x5c], dx
mov dword [esp + 0x84], 0x41b3ac
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
lea eax, [esp + 0x20]
push 6
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0xcc], 2
call fcn.005b4735
push 0x2d
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0xd0], 3
call fcn.005b467b
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 5
call fcn.005b51ac
push ebx
push 0x2d
lea ecx, [esp + 0x20]
xor edi, edi
call fcn.005b5586
mov esi, eax
cmp esi, ebx
je 0x5a5ce1
cmp esi, 0xffffffff
je 0x5a5ce1
mov edx, esi
lea eax, [esp + 0x38]
sub edx, edi
lea ecx, [esp + 0x18]
push edx
push edi
push eax
call fcn.005b4758
mov eax, dword [eax]
mov byte [esp + 0xc4], 6
push eax
call fcn.005a8625
mov edi, eax
mov eax, dword [esp + 0x90]
add esp, 4
mov ebp, eax
inc eax
lea ecx, [esp + 0x84]
push 0xffffffffffffffff
push eax
call fcn.005a7288
mov ecx, dword [esp + 0x88]
mov byte [esp + 0xc4], 5
mov dword [ecx + ebp*4], edi
lea ecx, [esp + 0x38]
call fcn.005b51ac
lea edi, [esi + 1]
lea ecx, [esp + 0x18]
push edi
push 0x2d
call fcn.005b5586
mov esi, eax
cmp esi, ebx
jne 0x5a5c6a
mov edi, dword [esp + 0x8c]
cmp edi, 1
jl 0x5a5e72
cmp edi, 8
jg 0x5a5e72
cmp edi, ebx
jle 0x5a5d22
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x9c]
lea eax, [esp + 0x9c]
sub edx, ecx
mov esi, edi
mov ecx, dword [edx + eax]
mov dword [eax], ecx
add eax, 4
dec esi
jne 0x5a5d17
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
mov edx, dword [esp + 0xb4]
push eax
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
push edi
push edx
call dword [fcn.0041b00c]
test eax, eax
mov byte [esp + 0xc4], 2
lea ecx, [esp + 0x18]
jne 0x5a5ded
call fcn.005b51ac
mov eax, dword [esp + 0x88]
mov byte [esp + 0xc4], 1
cmp eax, ebx
mov dword [esp + 0x84], 0x41b3ac
je 0x5a5daf
push eax
call fcn.005b56a3
add esp, 4
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5a5dc2
push eax
call dword [0x41b000]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x5a5dd3
push eax
call fcn.005b56a3
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x5a65c3
mov edi, dword [fcn.0041b1e8]
push eax
call edi
jmp 0x5a65c9
call fcn.005b51ac
mov eax, dword [esp + 0x88]
mov byte [esp + 0xc4], 1
cmp eax, ebx
mov dword [esp + 0x84], 0x41b3ac
je 0x5a5e19
push eax
call fcn.005b56a3
add esp, 4
mov edx, dword [esp + 0xd4]
mov edi, dword [esp + 0xd0]
lea eax, [esp + 0x98]
lea ecx, [esp + 0x60]
push eax
push ebx
push ecx
push ebx
push ebx
push edx
push edi
push 0xff
lea ecx, [esp + 0xec]
call fcn.005b54ef
push eax
call dword [0x41b014]
push 0xffffffffffffffff
lea ecx, [esp + 0xd0]
mov esi, eax
call fcn.005b553e
cmp esi, ebx
je 0x5a5ec2
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
jmp 0x5a65ee
lea ecx, [esp + 0x18]
mov esi, 0x539
mov byte [esp + 0xc4], 2
call fcn.005b51ac
mov eax, dword [esp + 0x88]
mov byte [esp + 0xc4], 1
cmp eax, ebx
mov dword [esp + 0x84], 0x41b3ac
je 0x5a5db3
push eax
call fcn.005b56a3
add esp, 4
jmp 0x5a5db3
mov esi, 0x539
jmp 0x5a5db3
cmp edi, 3
mov edi, dword [esp + 0xd8]
jne 0x5a6087
cmp edi, 4
jne 0x5a6087
push ebx
push edi
push 0x20008
push 0xff
lea ecx, [esp + 0xfc]
call fcn.005b54ef
mov ebp, dword [fcn.0041b018]
lea ecx, [esp + 0x70]
push eax
push ecx
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0xf0]
call fcn.005b553e
mov edi, dword [esp + 0xf4]
cmp edi, ebx
je 0x5a5f29
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push 1
call dword [fcn.0041b01c]
mov esi, eax
cmp esi, ebx
jne 0x5a5db3
push 0xa
push 4
push 0x20008
push 0xff
lea ecx, [esp + 0xfc]
call fcn.005b54ef
push eax
lea eax, [esp + 0x74]
push eax
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0xf0]
call fcn.005b553e
cmp edi, ebx
je 0x5a5f8d
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x68]
push eax
push ecx
push 1
call dword [fcn.0041b01c]
mov esi, eax
cmp esi, ebx
jne 0x5a5db3
push 9
push 4
push 0x20008
push 0xff
lea ecx, [esp + 0xfc]
call fcn.005b54ef
lea edx, [esp + 0x70]
push eax
push edx
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0xf0]
call fcn.005b553e
cmp edi, ebx
je 0x5a5ff1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
push 1
call dword [fcn.0041b01c]
mov esi, eax
cmp esi, ebx
jne 0x5a5db3
push 0xb
push 4
push 0x20008
push 0xff
lea ecx, [esp + 0xfc]
call fcn.005b54ef
lea ecx, [esp + 0x70]
push eax
push ecx
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0xf0]
call fcn.005b553e
cmp edi, ebx
je 0x5a6055
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push 1
call dword [fcn.0041b01c]
mov esi, eax
cmp esi, ebx
jne 0x5a5db3
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
jmp 0x5a6573
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xdc]
push edx
push edi
push eax
push 0xff
lea ecx, [esp + 0xfc]
call fcn.005b54ef
lea ecx, [esp + 0x70]
push eax
push ecx
call dword [fcn.0041b018]
push 0xffffffffffffffff
lea ecx, [esp + 0xf0]
call fcn.005b553e
mov ebp, dword [esp + 0xf4]
cmp ebp, ebx
je 0x5a60dd
mov edx, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edx
cmp dword [esp + 0xf8], 3
jne 0x5a60ef
lea eax, [esp + 0x1c]
push eax
push ebx
jmp 0x5a60f9
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x6c]
push ecx
push 1
call dword [fcn.0041b01c]
mov esi, eax
cmp esi, ebx
je 0x5a64d9
cmp esi, 0x6fd
je 0x5a6124
cmp esi, 0x534
jne 0x5a5db3
cmp ebp, ebx
jne 0x5a5db3
push 0x42200c
lea ecx, [esp + 0xf0]
call fcn.005b4904
mov edi, eax
cmp edi, 0xffffffff
je 0x5a5db3
lea edx, [esp + 0x14]
push edi
push edx
lea ecx, [esp + 0xf4]
call fcn.005b486a
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.005b47ee
mov edi, 0x1000
mov byte [esp + 0xc4], 8
push edi
mov dword [esp + 0x24], edi
call fcn.005b567a
mov edx, dword [0x422960]
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edx
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x38]
push eax
push ecx
push 0x1000
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 9
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x100], 1
call fcn.005b54ef
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x2c]
push edx
push eax
push edi
push ebp
call dword [fcn.0041b020]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.005b553e
cmp edi, ebx
jne 0x5a642c
mov ebp, dword [0x41b1ec]
push 0x20
push ebx
call ebp
push eax
call dword [fcn.0041b1f0]
mov edi, eax
cmp edi, ebx
jne 0x5a625c
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 8
call fcn.005b51ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.005b51ac
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 1
call fcn.005b51ac
jmp 0x5a5db3
push 0x10
push edi
push 0xffffffffffffffff
push 0xff
lea ecx, [esp + 0x24]
call fcn.005b54ef
push eax
push ebx
push ebx
call dword [fcn.0041b1f4]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.005b553e
cmp esi, ebx
jne 0x5a62cc
push edi
push ebx
call ebp
push eax
call dword [0x41b1f8]
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 8
call fcn.005b51ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.005b51ac
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 1
call fcn.005b51ac
jmp 0x5a5db3
lea ecx, [esp + 0x40]
push ecx
push edi
push ebx
call fcn.005a753e
push edi
push ebx
mov dword [esp + 0x58], eax
call ebp
push eax
call dword [0x41b1f8]
cmp dword [esp + 0x50], ebx
je 0x5a6325
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 8
call fcn.005b51ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.005b51ac
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 1
call fcn.005b51ac
jmp 0x5a5db3
push ebx
push ebx
push 0xff
push 0xff
lea ecx, [esp + 0x24]
call fcn.005b54ef
mov edx, dword [esp + 0x4c]
push eax
push 0xffffffffffffffff
push edx
push ebx
push ebx
call dword [fcn.0041b1fc]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.005b553e
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x5a6365
push eax
call fcn.005a7538
cmp esi, ebx
je 0x5a63f4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
cmp ecx, 3
jl 0x5a63f4
mov eax, ecx
lea ecx, [esp + 0x14]
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005b47ee
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 0xa
call fcn.005b5299
lea ecx, [esp + 0x50]
mov byte [esp + 0xc4], 9
call fcn.005b51ac
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x38]
push ecx
push edx
push 0x1000
lea ecx, [esp + 0x30]
call fcn.005b54ef
mov ecx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
push edi
push ebp
call dword [fcn.0041b020]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.005b553e
cmp edi, ebx
jne 0x5a642c
lea ecx, [esp + 0x24]
mov byte [esp + 0xc4], 8
call fcn.005b51ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.005b51ac
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 1
call fcn.005b51ac
jmp 0x5a5db3
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x34]
cmp eax, 3
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], edx
jne 0x5a644f
lea eax, [esp + 0x1c]
push eax
push ebx
jmp 0x5a6459
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x6c]
push ecx
push 1
call dword [fcn.0041b01c]
mov esi, eax
mov byte [esp + 0xc4], 8
cmp esi, ebx
lea ecx, [esp + 0x24]
je 0x5a64a4
call fcn.005b51ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.005b51ac
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 1
call fcn.005b51ac
jmp 0x5a5db3
call fcn.005b51ac
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 7
call fcn.005b51ac
lea ecx, [esp + 0x14]
mov byte [esp + 0xc4], 1
call fcn.005b51ac
mov ebp, dword [esp + 0xf4]
mov edi, dword [esp + 0xd8]
cmp dword [esp + 0xf0], 2
jne 0x5a657e
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
push edx
push edi
push eax
push 0xff
lea ecx, [esp + 0xfc]
call fcn.005b54ef
lea ecx, [esp + 0x70]
push eax
push ecx
call dword [fcn.0041b018]
push 0xffffffffffffffff
lea ecx, [esp + 0xf0]
call fcn.005b553e
cmp ebp, ebx
je 0x5a6546
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], ebx
cmp eax, ebx
jne 0x5a653f
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x5a5dd3
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x68]
push eax
push ecx
push 1
call dword [fcn.0041b01c]
mov esi, eax
cmp esi, ebx
jne 0x5a5db3
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
push eax
mov dword [esp + 0x30], eax
call dword [fcn.0041b1e8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push ebx
push eax
push ebx
push ebx
push ecx
push edx
push 0xff
lea ecx, [esp + 0xe8]
call fcn.005b54ef
push eax
call dword [fcn.0041b024]
push 0xffffffffffffffff
lea ecx, [esp + 0xd0]
mov esi, eax
call fcn.005b553e
jmp 0x5a5db3
mov edi, dword [fcn.0041b1e8]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5a65d4
push eax
call edi
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x5a65e2
push eax
call edi
cmp esi, ebx
je 0x5a6634
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0xd4]
push eax
call fcn.005b4f3f
call fcn.005a6698
add esp, 8
lea ecx, [esp + 0xcc]
mov byte [esp + 0xc4], bl
call fcn.005b51ac
lea ecx, [esp + 0xec]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005b51ac
mov eax, 2
jmp 0x5a667d
cmp dword [0x4261ac], ebx
jne 0x5a6651
mov ecx, dword [esp + 0xcc]
push ecx
push 0x422824
call fcn.005a7ecd
add esp, 8
lea ecx, [esp + 0xcc]
mov byte [esp + 0xc4], bl
call fcn.005b51ac
lea ecx, [esp + 0xec]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005b51ac
xor eax, eax
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret