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

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0xa0
push ebx
push ebp
push esi
xor esi, esi
test ch, 0x20
push edi
je 0xb5a01f
mov eax, dword [0x1007331c]
lea ebx, [eax + 0x20]
jmp 0xb5a021
xor ebx, ebx
mov edi, dword [esp + 0xb4]
cmp edi, esi
je 0xb5a5c9
mov eax, dword [esp + 0xb8]
cmp eax, esi
je 0xb5a5c9
test cl, 4
je 0xb5a04d
test cl, 0xe3
jne 0xb5a5c9
test cl, 1
jne 0xb5a05b
test cl, 2
jne 0xb5a5c9
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
lea eax, [eax + edx*2]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0xa
xor eax, eax
mov edx, dword [esp + 0x44]
mov dword [edx + eax*4], esi
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
jb 0xb5a097
push 0x928
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov word [esp + 0x80], 0xffff
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [edi], 0xfed7
mov dword [edi + 8], esi
mov dword [edi + 0xc], 2
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0x1007c010
call fcn.00b69da0
mov ebp, eax
add esp, 4
cmp ebp, esi
mov dword [edi + 0x14], ebp
jne 0xb5a142
lea eax, [esp + 0x14]
push 0xc
push eax
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
lea edi, [ebp + 0x3c]
lea ecx, [esp + 0x14]
push edi
push ecx
mov dword [ebp + 0x10], esi
call fcn.00b5ea40
mov dword [esp + 0x80], edi
mov dword [ebp + 0x920], esi
mov dword [ebp + 0x924], esi
mov dword [ebp + 0x14], esi
mov edx, dword [esp + 0x80]
push esi
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00b5f5b0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp eax, esi
je 0xb5a1a7
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
push 0xa
push 0x14
push 0x64
call fcn.00b60c70
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x94], eax
jne 0xb5a1da
lea edx, [esp + 0x14]
push 0xc
push edx
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
lea eax, [esp + 0x14]
push eax
call fcn.00b60e00
add esp, 4
cmp eax, esi
jle 0xb5a25a
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00b60e00
add esp, 4
push eax
call fcn.00b60c70
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp ecx, esi
mov dword [esp + 0x9c], eax
je 0xb5a22b
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00b60e10
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0xac], eax
call fcn.00b5c340
mov edx, dword [esp + 0xac]
push esi
push esi
push edx
call fcn.00b60d30
add esp, 0x1c
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0xb5a27b
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
lea ecx, [esp + 0x14]
push ecx
call fcn.00b5d0b0
mov al, byte [esp + 0x30]
add esp, 4
test al, 0xc0
je 0xb5a2c2
call fcn.00b5e9d0
mov edx, dword [esp + 0x78]
and eax, 0xffff
push eax
push edx
call fcn.00b5ebb0
mov ecx, dword [esp + 0x7c]
mov word [esp + 0x84], ax
mov eax, dword [esp + 0x80]
push eax
push ecx
call fcn.00b5f200
add esp, 0x10
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0xb5a4f9
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
push 0x70
lea eax, [esp + 0x20]
push 0x65
push eax
call fcn.00b5a7c0
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp eax, esi
je 0xb5a313
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov edx, dword [esp + 0x74]
push edx
call fcn.00b5fea0
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, esi
je 0xb5a341
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
cmp ebx, esi
je 0xb5a36f
push 0x1007dc10
push ebx
call dword [0x10073320]
mov ecx, dword [esp + 0x7c]
push ebx
push ecx
call fcn.00b60c60
mov edx, dword [esp + 0x94]
push 1
push ebx
push edx
call fcn.00b5ce60
add esp, 0x1c
mov eax, dword [esp + 0x84]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00b60c60
mov edx, dword [esp + 0x8c]
push 1
push edx
call fcn.00b5cb20
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x94]
push eax
call fcn.00b5cb60
lea ecx, [esp + 0x28]
push ecx
call fcn.00b5cb90
add esp, 0x18
cmp ebx, esi
je 0xb5a3d4
push 0x1007dbec
push ebx
call dword [0x10073320]
mov edx, dword [esp + 0x8c]
push 1
push ebx
push edx
call fcn.00b5ce60
add esp, 0x14
mov eax, dword [esp + 0x84]
push ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00b5cbd0
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 8]
or edx, eax
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, esi
mov dword [ecx + 8], edx
jne 0xb5a4f9
mov eax, dword [esp + 0xac]
mov edi, 1
cmp eax, edi
jle 0xb5a46c
mov dword [esp + 0x10], 0x44
cmp ebx, esi
je 0xb5a431
push edi
push 0x1007dbcc
push ebx
call dword [0x10073320]
add esp, 0xc
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
push ebx
add ecx, eax
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00b5cc20
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb8]
add esp, 0xc
inc edi
add ecx, 0x44
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0xb5a41d
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0xb5a4c7
mov ecx, dword [esp + 0x84]
test byte [ecx + 1], 2
je 0xb5a484
mov eax, dword [esp + 0x14]
or dword [eax + 8], 0x2000
cmp ebx, esi
je 0xb5a497
push 0x1007dbac
push ebx
call dword [0x10073320]
add esp, 8
mov edx, dword [esp + 0x74]
push ebx
push edx
call fcn.00b5ff50
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, esi
jne 0xb5a4c7
mov ecx, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00b5a6b0
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, esi
je 0xb5a4e0
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov ecx, dword [esp + 0x74]
lea eax, [ebp + 0x14]
push eax
push ecx
call fcn.00b60a00
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, esi
je 0xb5a512
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov dword [esp + 0x14], esi
mov dword [ebp], 0xfed9
mov edx, dword [esp + 0x2c]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov ecx, dword [esp + 0x84]
mov dword [ebp + 0x10], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x84], esi
mov dword [ebp + 0x38], edx
test byte [esp + 0x2c], 8
mov ecx, 0x100087e0
jne 0xb5a56a
mov ecx, 0x100087c0
mov dword [ebp + 0x91c], ecx
mov ecx, dword [esp + 0xa8]
mov dword [ebp + 0x920], ecx
mov ecx, dword [esp + 0xc0]
test ch, 8
mov edx, dword [esp + 0xac]
mov dword [esp + 0xa8], esi
mov dword [ebp + 0x924], edx
je 0xb5a5b0
mov ecx, dword [0x1007331c]
add ecx, 0x20
push ecx
push eax
call fcn.00b60c60
add esp, 8
lea edx, [esp + 0x14]
push esi
push edx
call fcn.00b5a5e0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
add esp, 0xa0
ret