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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18c
mov eax, dword [0x906580]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x6ac6a6
mov esi, dword [eax + 4]
test esi, esi
jne 0x6ac47a
jmp 0x6ac6a6
mov esi, dword [esi]
test esi, esi
je 0x6ac6a6
cmp ebx, dword [esi + 0x20]
jne 0x6ac470
mov edi, dword [esi + 0x60]
mov dword [esp], 0x81e9e3
call fcn.007101e8
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x5200001
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.004dbff0
mov dword [ebp - 0x12c], eax
mov ecx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call fcn.004dbf50
sub esp, 0x10
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp], 2
call fcn.004e6b70
mov edi, dword [esi + 0x60]
sub esp, 8
mov ebx, eax
mov dword [esp], 0x81e9ef
call fcn.007101e8
mov dword [esp + 4], edi
mov ecx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp], eax
call fcn.004da140
mov edi, dword [esi + 0x40]
sub esp, 0x18
test edi, edi
je 0x6ac588
mov dword [esp], 0x81e9f5
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004da140
sub esp, 0x18
mov eax, dword [esi + 0x64]
cmp eax, 3
je 0x6acac0
jg 0x6ac6b0
cmp eax, 1
je 0x6ac9d0
cmp eax, 2
jne 0x6ac675
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ea1f
mov dword [esp], 0
call fcn.007101f0
mov dword [esp], 0x81ea10
cmp eax, 0x81ea1f
mov edi, eax
mov eax, 0x81e4b7
cmove edi, eax
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 4], edi
lea edi, [ebp - 0x11c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp], eax
call fcn.004da140
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
sub esp, 0x18
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x81e4bc
mov dword [esp], edi
call fcn.00723cb0
mov dword [esp], 0x81ea16
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004da140
sub esp, 0x18
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x6ac950
mov eax, dword [esi + 0x8c]
or eax, dword [esi + 0x88]
jne 0x6ac740
cmp byte [esi + 0x3c], 0
jne 0x6ac6f0
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call fcn.004d5540
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
jne 0x6ac675
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ea3c
mov dword [esp], 0
call fcn.007101f0
mov edi, eax
cmp eax, 0x81ea3c
mov eax, 0x81e4c8
mov dword [esp], 0x81ea10
cmove edi, eax
jmp 0x6ac63f
mov dword [esp], 0x81ea68
call fcn.007101e8
mov dword [esp], 0x81ea6c
mov edi, eax
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004da140
sub esp, 0x18
jmp 0x6ac698
mov dword [esp + 8], 0x6c1
mov edi, 0x81eb1f
mov dword [esp + 4], 0x81eb7c
mov dword [esp], 0
call fcn.007101f0
cmp eax, 0x81eb7c
mov ecx, eax
mov eax, 0x81eb06
cmove ecx, eax
mov dword [ebp - 0x140], ecx
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81eb8d
mov dword [esp], 0
call fcn.007101f0
mov edx, eax
cmp eax, 0x81eb8d
mov eax, 0x81eb0a
cmovne eax, edx
mov dword [ebp - 0x130], eax
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ebab
mov dword [esp], 0
call fcn.007101f0
mov ecx, eax
cmp eax, 0x81ebab
mov eax, 0x81eb1b
cmovne eax, ecx
mov dword [ebp - 0x134], eax
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ebbc
mov dword [esp], 0
call fcn.007101f0
cmp eax, 0x81ebbc
cmovne edi, eax
mov dword [ebp - 0x138], edi
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ebcd
mov dword [esp], 0
call fcn.007101f0
cmp eax, 0x81ebcd
mov edx, eax
mov eax, 0x81eb23
cmove edx, eax
mov dword [ebp - 0x13c], edx
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ebe3
mov dword [esp], 0
call fcn.007101f0
mov dword [esp], 0x81e4d2
cmp eax, 0x81ebe3
mov edi, eax
mov eax, 0x81eb2c
cmove edi, eax
call fcn.007101e8
mov ecx, dword [ebp - 0x140]
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], ecx
mov edx, dword [ebp - 0x130]
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x134]
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x138]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 0x81ebf4
mov dword [esp + 8], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 4], eax
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call fcn.00505740
mov dword [esp], 0x81ee5f
mov edi, eax
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004da140
sub esp, 0x18
cmp byte [esi + 0x3c], 0
je 0x6ac698
jmp 0x6ac6f0
lea ecx, [ebp - 0x11c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00502a70
mov dword [esp], 0x81ea50
mov edi, eax
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xe
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004da140
mov eax, dword [esi + 0x8c]
sub esp, 0x18
or eax, dword [esi + 0x88]
je 0x6ac692
jmp 0x6ac740
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ea02
mov dword [esp], 0
call fcn.007101f0
mov dword [esp], 0x81ea10
cmp eax, 0x81ea02
mov edi, eax
mov eax, 0x81e4ad
cmove edi, eax
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 4], edi
lea edi, [ebp - 0x11c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp], eax
call fcn.004da140
mov eax, dword [esi + 0x6c]
sub esp, 0x18
mov dword [esp + 8], eax
mov dword [esp + 4], 0x81e4b1
mov dword [esp], edi
call fcn.00723cb0
mov dword [esp], 0x81ea16
call fcn.007101e8
mov dword [esp + 0x14], 0
mov ecx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004da140
mov eax, dword [esi + 0x70]
sub esp, 0x18
test eax, eax
je 0x6ac675
mov dword [esp + 8], eax
mov dword [esp + 4], 0x81e4b1
mov dword [esp], edi
call fcn.00723cb0
mov dword [esp], 0x81ee54
jmp 0x6ac63f
mov dword [esp + 8], 0x6c1
mov dword [esp + 4], 0x81ea2e
mov dword [esp], 0
call fcn.007101f0
mov edi, eax
cmp eax, 0x81ea2e
mov eax, 0x81e4c4
jmp 0x6ac6dd