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

Disassembly:
push 0xffffffffffffffff
push 0x5d1ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
mov esi, eax
mov edi, dword [esi + 4]
mov ebp, dword [edi]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
cmp ebp, edi
je 0x4a324a
cmp ebp, dword [esi + 4]
jne 0x4a3173
call fcn.0044b7ad
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
cmp eax, 7
jne 0x4a31ea
push 0x5f37d0
lea ecx, [esp + 0x3c]
call fcn.0048cd50
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], 0
lea ecx, [ebx + 8]
jae 0x4a31ac
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push 0
call fcn.0048a450
test eax, eax
sete bl
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x38], 0x5f1558
jb 0x4a31e6
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004274fc
add esp, 4
test bl, bl
jne 0x4a31fc
cmp ebp, dword [esi + 4]
jne 0x4a31f4
call fcn.0044b7ad
mov ebp, dword [ebp]
jmp 0x4a3161
cmp ebp, dword [esi + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov ebx, esi
mov dword [esp + 0x34], ebp
jne 0x4a3214
call fcn.0044b7ad
cmp ebx, esi
mov ebp, dword [ebp]
je 0x4a3220
call fcn.0044b7ad
cmp ebp, edi
je 0x4a324a
cmp ebp, dword [ebx + 4]
jne 0x4a322e
call fcn.0044b7ad
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp eax, 0x13
je 0x4a3242
cmp ebp, dword [ebx + 4]
jmp 0x4a320d
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x4a3256
cmp ebp, esi
je 0x4a325b
call fcn.0044b7ad
cmp dword [esp + 0x24], edi
je 0x4a33a6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a3271
cmp eax, esi
je 0x4a3276
call fcn.0044b7ad
cmp dword [esp + 0x1c], edi
je 0x4a33a6
mov edi, dword [esp + 0x20]
test edi, edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 4]
mov ebx, dword [eax]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
je 0x4a329d
cmp edi, esi
je 0x4a32a2
call fcn.0044b7ad
cmp dword [esp + 0x24], ebx
sete al
test al, al
mov byte [esp + 0x6c], al
jne 0x4a32cf
test edi, edi
jne 0x4a32ba
call fcn.0044b7ad
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
cmp eax, dword [ebp + 4]
mov dword [esp + 0x2c], eax
jne 0x4a32cf
call fcn.0044b7ad
cmp dword [esp + 0x18], 0
jne 0x4a32db
call fcn.0044b7ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
jne 0x4a32ed
call fcn.0044b7ad
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
jmp 0x4a3300
test ebx, ebx
je 0x4a330a
cmp ebx, dword [esp + 0x18]
je 0x4a330f
call fcn.0044b7ad
cmp ebp, edi
je 0x4a3345
test ebx, ebx
jne 0x4a331c
call fcn.0044b7ad
cmp ebp, dword [ebx + 4]
jne 0x4a3326
call fcn.0044b7ad
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4a3336
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 1
call edx
cmp ebp, dword [ebx + 4]
jne 0x4a3340
call fcn.0044b7ad
mov ebp, dword [ebp]
jmp 0x4a3300
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push edi
push eax
push ecx
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.004a5980
cmp byte [esp + 0x6c], 0
je 0x4a337b
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x20]
jmp 0x4a33b5
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x4a3388
call fcn.0044b7ad
mov ebx, dword [esp + 0x2c]
cmp ebx, dword [edi + 4]
jne 0x4a3396
call fcn.0044b7ad
mov eax, dword [ebx]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
lea ebx, [esp + 0x20]
jmp 0x4a33b5
mov ecx, dword [esi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], esi
lea ebx, [esp + 0x30]
push 0x24
call fcn.004274d1
mov ebp, eax
add esp, 4
mov dword [esp + 0x6c], ebp
test ebp, ebp
mov dword [esp + 0x60], 1
je 0x4a3433
push 0x5f37d4
lea ecx, [esp + 0x3c]
call fcn.0048cd50
mov dword [esp + 0x14], 1
lea edi, [ebp + 4]
mov dword [esp + 0x60], 3
mov dword [ebp], 0x5f3880
mov dword [esp + 0x18], edi
push 0xffffffffffffffff
lea ecx, [edi + 4]
mov dword [edi], 0x5f1558
push 0
lea edx, [esp + 0x44]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [esp + 0x6c], 4
mov byte [ecx + 4], 0
call fcn.00402bb0
mov dword [edi], 0x5f1570
jmp 0x4a3435
xor ebp, ebp
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, eax
mov edi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x6c]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x6c], 5
mov dword [esp + 0x78], ebp
mov dword [esp + 0x24], edx
call fcn.005c9550
push 1
mov ecx, esi
mov ebp, eax
call fcn.004b3d50
cmp dword [esp + 0x28], 0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
jne 0x4a3486
call fcn.0044b7ad
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 4]
mov ebp, dword [esp + 0x28]
cmp edi, dword [ebp + 4]
jne 0x4a349b
call fcn.0044b7ad
test byte [esp + 0x14], 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x60], 0xffffffff
je 0x4a34e7
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x38], 0x5f1558
jb 0x4a34ca
mov eax, dword [esp + 0x40]
push eax
call fcn.004274fc
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x38], 0x5f13d0
cmp edi, dword [ebp + 4]
jne 0x4a34f1
call fcn.0044b7ad
mov edi, dword [edi]
push 4
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a350d
mov dword [eax], 0x5f2ca0
mov dword [esp + 0x6c], eax
jmp 0x4a3515
mov dword [esp + 0x6c], 0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x6c]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.005c9550
push 1
mov ecx, esi
mov ebx, eax
call fcn.004b3d50
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edi, dword [edi + 4]
cmp edi, dword [ebp + 4]
jne 0x4a354a
call fcn.0044b7ad
cmp edi, dword [ebp + 4]
mov dword [esp + 0x34], edi
jne 0x4a3558
call fcn.0044b7ad
mov edi, dword [edi]
push 4
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a3574
mov dword [eax], 0x5f2cb8
mov dword [esp + 0x6c], eax
jmp 0x4a357c
mov dword [esp + 0x6c], 0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x6c]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.005c9550
push 1
mov ecx, esi
mov ebx, eax
call fcn.004b3d50
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edi, dword [edi + 4]
cmp edi, dword [ebp + 4]
jne 0x4a35b1
call fcn.0044b7ad
cmp edi, dword [ebp + 4]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], edi
mov dword [eax], ebp
mov dword [eax + 4], edi
jne 0x4a35c8
call fcn.0044b7ad
mov edi, dword [edi]
push 4
call fcn.004274d1
add esp, 4
test eax, eax
je 0x4a35e4
mov dword [eax], 0x5f3808
mov dword [esp + 0x6c], eax
jmp 0x4a35ec
mov dword [esp + 0x6c], 0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x6c]
push ecx
push edx
push edi
mov ecx, esi
mov dword [esp + 0x40], edi
call fcn.005c9550
push 1
mov ecx, esi
mov ebx, eax
call fcn.004b3d50
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov edi, dword [edi + 4]
cmp edi, dword [ebp + 4]
jne 0x4a3621
call fcn.0044b7ad
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret