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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5a8afa
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
lea edx, [0x803820]
mov dword [esp], edx
call fcn.00409f80
mov eax, dword [0xb91180]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5a8ade
mov eax, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov word [ecx + 0xc], 0x303
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x60]
movzx ebx, word [edx + 0x20]
mov word [ecx + 0x5c], bx
mov ecx, dword [eax + 4]
mov ebx, dword [ecx + 0xb4]
test ebx, ebx
je 0x5a8a86
mov ebx, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x28]
xor ebp, ebp
jmp 0x5a812b
inc ebp
cmp ebp, ebx
jge 0x5a8a7f
movzx esi, word [ecx + ebp*2]
cmp si, 0x5600
jne 0x5a812a
mov eax, dword [edx + 0x24]
nop
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.005897c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5a8a77
xor eax, eax
mov ecx, dword [esp + 0x60]
cmp word [ecx + 0x20], ax
jb 0x5a8a1f
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 4]
mov ebx, dword [edx + 0x34]
cmp dword [edx + 0x38], 1
je 0x5a81d7
mov dword [esp], ecx
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x38
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a81ca
lea eax, [0x82d99b]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82d99b]
call fcn.0044f0d0
jmp 0x5a81b8
movzx edx, byte [ebx]
test dl, dl
jne 0x5a817f
lea eax, [0x7ac140]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.0043a890
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x5a8a0c
mov dword [ecx + 0x10], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 0x24]
nop
mov ebx, dword [edx + 4]
mov edx, dword [edx]
test edx, edx
je 0x5a89fb
mov ecx, dword [eax + 8]
nop
mov ebp, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
call fcn.0048a020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x5a89ce
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 0x98]
test ebx, ebx
jne 0x5a8972
movzx ebx, byte [edx + 0xd4]
test bl, bl
jne 0x5a8916
mov ebx, dword [ecx + 8]
mov ebp, dword [edx + 0x24]
mov esi, dword [edx + 0x20]
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], ebp
mov edx, dword [0xb91180]
test edx, edx
jne 0x5a8909
mov dword [ebx + 0x1c], eax
mov eax, dword [ecx + 8]
mov byte [eax + 0x2a], 0
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x24]
movzx edx, byte [edx + 0x5c]
test dl, dl
je 0x5a88bc
nop
lea eax, [0xb91000]
mov dword [esp], eax
lea eax, [0x835628]
mov dword [esp + 4], eax
call fcn.00463c00
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [0xb7dc0c]
mov ebx, dword [0xb7dc08]
mov ebp, dword [ecx + 0x2c]
mov esi, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], ebx
xor edi, edi
jmp 0x5a833d
mov ecx, dword [esp + 0x48]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x6c]
cmp edi, edx
jge 0x5a837b
mov dword [esp + 0x48], edi
movzx eax, word [ebx + edi*2]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov word [esp + 0xc], ax
call fcn.00588ce0
mov eax, dword [0xb91180]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x5a88a7
mov eax, dword [esp + 0x74]
mov dword [eax + 0x10], ecx
test ecx, ecx
je 0x5a8322
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5a884b
movzx ecx, word [ecx]
mov edx, dword [esp + 0x60]
mov word [edx + 0x2e], cx
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0x10]
movzx ebx, word [ebx]
mov word [ecx + 0x28], bx
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.004ff1c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x74]
mov dword [edx + 0x58], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a883c
mov dword [edx + 0x5c], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x24]
nop
test ecx, ecx
je 0x5a83ec
mov ebx, dword [ecx + 0x90]
mov ecx, dword [ecx + 0x8c]
test ebx, ebx
jne 0x5a8831
mov ecx, dword [0xb770d4]
mov ebx, dword [0xb770d0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], ebx
xor ebp, ebp
xor esi, esi
jmp 0x5a8485
mov ebp, dword [esp + 0x64]
add ebp, 0x10
mov ebx, edi
mov esi, ecx
mov ecx, ebp
movzx ebp, word [esp + 0x26]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x44], esi
mov edi, ebx
movzx ebx, word [ecx]
mov esi, dword [ecx + 8]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov word [edx], bx
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x5a8803
mov dword [edx + 4], ebp
movzx ecx, word [edx]
movzx ebx, word [esp + 0x26]
cmp bx, cx
je 0x5a84fe
mov ecx, dword [esp + 0x44]
inc ecx
cmp ecx, edi
jl 0x5a8406
movzx ecx, word [esp + 0x24]
test cx, cx
je 0x5a84d8
mov edi, dword [esp + 0x48]
lea ebp, [edi + 1]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
mov esi, ecx
mov ecx, dword [esp + 0x28]
cmp ebp, ecx
jge 0x5a8826
mov dword [esp + 0x48], ebp
mov word [esp + 0x24], si
movzx eax, word [ebx + ebp*2]
mov word [esp + 0x26], ax
lea ecx, [0x7cd2a0]
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 4]
mov ebx, dword [ecx + 0xcc]
mov ecx, dword [ecx + 0xc8]
test ebx, ebx
jle 0x5a881c
movzx ebp, word [esp + 0x26]
xor esi, esi
jmp 0x5a8418
mov edx, dword [eax + 4]
mov ebp, dword [edx + 0x54]
mov edx, dword [edx + 0x50]
xor esi, esi
jmp 0x5a84e6
inc esi
cmp esi, ebp
jge 0x5a84fa
movzx edi, word [edx + esi*2]
cmp di, bx
jne 0x5a84e5
mov ecx, edi
jmp 0x5a846c
mov edi, ecx
jmp 0x5a84f3
test cx, cx
je 0x5a87a7
mov word [esp + 0x24], cx
test edx, edx
je 0x5a875d
mov dword [esp + 0x5c], edx
mov word [esp], cx
call fcn.005aed50
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x24]
cmp cx, 0x1d
je 0x5a8539
test al, al
je 0x5a8701
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 0x24]
nop
mov ebx, dword [edx + 4]
mov edx, dword [edx]
test edx, edx
je 0x5a86f0
mov dword [esp], edx
mov dword [esp + 4], ebx
mov word [esp + 8], cx
call fcn.005aeaf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x5a86c3
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], ebx
mov eax, dword [ebx + 0x14]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
movzx esi, word [esp + 0x24]
mov word [ecx + 0x60], si
mov dword [ecx + 0x68], ebx
mov dword [ecx + 0x6c], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x5a86b4
mov dword [ecx + 0x64], ebp
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov ebp, dword [esp + 0x50]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x30], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a86a5
mov dword [ebx + 0x28], edx
test edx, edx
je 0x5a8649
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x44]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x64], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x5a863f
mov dword [ecx + 0x60], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x70
ret
lea edi, [ecx + 0x60]
call fcn.0044f0d0
jmp 0x5a862b
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a8698
lea eax, [0x82125d]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82125d]
call fcn.0044f0d0
jmp 0x5a8686
lea edi, [ebx + 0x28]
mov eax, edx
call fcn.0044f0d0
jmp 0x5a860a
lea edi, [ecx + 0x64]
mov eax, ebp
call fcn.0044f0d0
jmp 0x5a85ba
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov ebx, dword [0xb7d444]
mov edx, dword [0xb7d440]
jmp 0x5a854e
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x30
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a8750
lea eax, [0x82aed9]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82aed9]
call fcn.0044f0d0
jmp 0x5a873e
mov dword [esp], eax
mov word [esp + 4], cx
call fcn.005a9690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5a879b
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
test ecx, ecx
jbe 0x5a8af3
movzx ecx, word [esp + 0x24]
jmp 0x5a8514
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x37
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a87f6
lea eax, [0x82d68e]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82d68e]
call fcn.0044f0d0
jmp 0x5a87e4
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.0044f0d0
mov eax, esi
mov edi, ebx
jmp 0x5a8448
movzx ebx, word [esp + 0x26]
jmp 0x5a8462
mov eax, edx
mov ecx, esi
xor edx, edx
jmp 0x5a84fe
mov ebp, ecx
mov ecx, ebx
mov ebx, ebp
jmp 0x5a83f8
lea edi, [edx + 0x5c]
mov eax, ecx
call fcn.0044f0d0
jmp 0x5a83cc
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x38
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a889a
lea eax, [0x82da43]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82da43]
call fcn.0044f0d0
jmp 0x5a8888
mov edx, dword [esp + 0x74]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0044f0d0
mov eax, edx
jmp 0x5a8377
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x28]
mov dword [esp + 0x4c], eax
nop
lea ebx, [0xb91000]
mov dword [esp], ebx
lea ebx, [0x835628]
mov dword [esp + 4], ebx
call fcn.00463c00
mov ebp, dword [0xb7dc0c]
mov esi, dword [0xb7dc08]
mov ecx, dword [0xb7dc10]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
jmp 0x5a830a
lea edi, [ebx + 0x1c]
call fcn.0044f0d0
jmp 0x5a82bb
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x6e
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x26
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a8965
lea eax, [0x826911]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x826911]
call fcn.0044f0d0
jmp 0x5a8953
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x3c
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a89c1
lea eax, [0x82e47b]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82e47b]
call fcn.0044f0d0
jmp 0x5a89af
mov dword [esp + 0x40], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.0058e890
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
add esp, 0x70
ret
mov ebx, dword [0xb7d444]
mov edx, dword [0xb7d440]
jmp 0x5a823b
lea edi, [ecx + 0x10]
mov ecx, eax
mov eax, edx
call fcn.0044f0d0
mov eax, ecx
jmp 0x5a8226
mov dword [esp], ecx
mov byte [esp + 4], 0x56
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x31
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a8a6a
lea eax, [0x82b708]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82b708]
call fcn.0044f0d0
jmp 0x5a8a58
movzx eax, word [ecx]
jmp 0x5a8161
mov ecx, edx
jmp 0x5a816f
mov dword [esp], edx
mov byte [esp + 4], 0x2f
call fcn.0058e890
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x3e
mov eax, dword [0xb91180]
test eax, eax
jne 0x5a8ad1
lea eax, [0x82e984]
mov dword [edi], eax
lea eax, [0x8b3870]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edi
add esp, 0x70
ret
lea eax, [0x82e984]
call fcn.0044f0d0
jmp 0x5a8abf
mov edx, dword [esp + 0x74]
lea edi, [edx + 8]
mov eax, ecx
call fcn.0044f0d0
mov eax, edx
jmp 0x5a80fa
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.005a80b0