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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x1a8], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
sub ecx, edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0xc], 0
mov byte [esp + 0x17], 1
cmp ecx, 0xfffffffe
jle 0x6144e7
cmp ecx, 2
jge 0x6144e7
mov ecx, dword [eax + 4]
mov esi, dword [edi + 0xc]
sub esi, ecx
cmp esi, 0xfffffffe
jle 0x6144e7
cmp esi, 2
jge 0x6144e7
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx]
sub edx, esi
cmp edx, 0xfffffffe
jle 0x6144e7
cmp edx, 2
jge 0x6144e7
mov edx, dword [ebx + 4]
sub ecx, edx
cmp ecx, 0xfffffffe
jle 0x6144e7
cmp ecx, 2
jge 0x6144e7
mov ecx, dword [ebp + 0x14]
sub esi, dword [ecx]
cmp esi, 0xfffffffe
jle 0x6144ea
cmp esi, 2
jge 0x6144ea
sub edx, dword [ecx + 4]
cmp edx, 0xfffffffe
jle 0x6144ea
cmp edx, 2
jge 0x6144ea
mov eax, dword [ecx]
mov dword [edi + 8], eax
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0xc]
mov dword [edi + 0xc], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x88], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x94], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x98], edx
mov edx, dword [edi + 0xc]
lea ebx, [esp + 0x88]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov esi, dword [edi]
lea eax, [esp + 0x188]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], esi
cmp ebx, eax
jae 0x61459d
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov eax, ebx
call fcn.00612f10
add esp, 0xc
test al, al
jne 0x614599
cmp byte [edi + 0x14], al
je 0x614586
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
mov ecx, ebx
call fcn.0061b7a0
add ebx, 0x18
mov dword [esp + 0x1c], ebx
jmp 0x614abe
mov esi, dword [esp + 0x10]
cmp byte [esp + 0x17], 0
je 0x614637
cmp byte [edi + 0x14], 0
mov byte [esp + 0x17], 0
je 0x6145ce
mov ebx, esi
push 0
mov esi, edi
call fcn.00613cc0
mov ebx, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x10]
jmp 0x6146c5
mov edx, dword [edi]
push esi
push edx
mov dword [edi + 4], esi
mov dword [esp + 0x14], 0
call fcn.0060b9f0
add esp, 8
test eax, eax
je 0x61462e
mov dword [esp + 0xc], 0
jns 0x6145fb
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
push 0
mov esi, edi
call fcn.006138c0
add esp, 4
test eax, eax
jne 0x6145c5
push eax
mov eax, 1
sub eax, dword [esp + 0x10]
call fcn.006139c0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add esp, 4
jmp 0x6146c5
mov eax, dword [esp + 0xc]
jmp 0x6146c5
mov eax, dword [edi]
push esi
push eax
call fcn.0060b9f0
cdq
xor eax, edx
sub eax, edx
add esp, 8
cmp eax, 0x5a000
jle 0x6146c9
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [esp + 0xc], eax
mov eax, dword [edi]
push esi
push eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [edi + 4], esi
call fcn.0060b9f0
add esp, 8
test eax, eax
je 0x6146bb
mov dword [esp + 0xc], 0
jns 0x614689
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
push 0
mov esi, edi
call fcn.006138c0
add esp, 4
test eax, eax
jne 0x6147e6
push eax
mov eax, 1
sub eax, dword [esp + 0x10]
call fcn.006139c0
mov esi, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x34]
mov dword [edi + 0x30], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x614adf
mov edx, dword [esp + 0x18]
push edx
push esi
mov dword [esp + 0x5c], eax
call fcn.0060b9f0
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call fcn.0060b9f0
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
push edx
sar eax, 1
push esi
mov dword [esp + 0x48], eax
call fcn.0060b9f0
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.0060b9f0
mov ecx, dword [esp + 0x54]
cdq
sub eax, edx
sar eax, 1
add eax, esi
push ecx
mov dword [esp + 0x34], eax
call fcn.0060b710
mov edx, dword [edi + 0x3c]
push eax
push edx
call fcn.006094f0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x5c]
push eax
call fcn.0060b710
mov ecx, dword [edi + 0x3c]
push eax
push ecx
call fcn.006094f0
add esp, 0x38
cmp byte [edi + 0x28], 0
mov dword [esp + 0x64], eax
je 0x61478a
mov edx, dword [ebx + 4]
sub edx, dword [ebx + 0x1c]
mov eax, dword [ebx]
sub eax, dword [ebx + 0x18]
push edx
push eax
call fcn.0060b800
add esp, 8
mov dword [esp + 0x54], eax
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx + 4]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x10]
add ebx, fcn.005a0000
sub eax, edx
sub ecx, edx
lea esi, [edi + 0x40]
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], ecx
jmp 0x6147f4
mov esi, dword [esp + 0x10]
jmp 0x6146bf
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
add eax, ebx
push eax
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.0060b9d0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x88]
add dword [esp + 0x50], ecx
push ebx
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.0060b9d0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
add dword [esp + 0x50], ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [edi + 0x3c]
add dword [esp + 0x54], edx
add eax, ebx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0060b9d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add eax, dword [esp + 0x54]
add ecx, dword [esp + 0x7c]
add esp, 0x24
cmp byte [edi + 0x28], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
je 0x614a2c
mov edx, dword [esi + 8]
mov edi, dword [esi]
mov ebx, dword [edx + edi*8 - 8]
mov edi, dword [edx + edi*8 - 4]
sub ecx, edi
push ecx
sub eax, ebx
push eax
call fcn.0060b800
push eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
push eax
call fcn.0060b9f0
cdq
xor eax, edx
sub eax, edx
add esp, 0x10
cmp eax, fcn.005a0000
jle 0x614a24
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
sub ecx, edi
push ecx
sub edx, ebx
push edx
call fcn.0060b800
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x2c]
push eax
push ecx
call fcn.0060b800
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x90]
sub edx, ebx
sub eax, edi
push ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
call fcn.0060b930
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x24]
push eax
call fcn.0060b740
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
push edx
call fcn.0060b740
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [esp + 0x68]
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.00609430
mov ecx, dword [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
call fcn.0060b9d0
add dword [esp + 0x80], ebx
add dword [esp + 0x84], edi
push 0
lea eax, [esp + 0x84]
mov ecx, esi
mov byte [esi + 0x10], 0
call fcn.00613240
add esp, 0x38
test eax, eax
jne 0x614adf
push eax
lea eax, [esp + 0x24]
mov ecx, esi
call fcn.00613240
add esp, 4
test eax, eax
jne 0x614adf
push 3
call fcn.00613100
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x6149f3
mov edx, dword [esi]
mov eax, dword [esi + 8]
lea ecx, [eax + edx*8]
mov eax, dword [esi + 0xc]
add eax, edx
mov edx, dword [esp + 0x38]
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
mov word [eax], 0x202
mov byte [eax + 2], 1
add dword [esi], 3
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x10], 0
test eax, eax
jne 0x614adf
push eax
lea eax, [esp + 0x24]
mov ecx, esi
call fcn.00613240
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x614adf
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
jmp 0x614a90
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
push 3
call fcn.00613100
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x614a84
mov edx, dword [esi]
mov eax, dword [esi + 8]
lea ecx, [eax + edx*8]
mov eax, dword [esi + 0xc]
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x14], edx
mov word [eax], 0x202
mov byte [eax + 2], 1
add dword [esi], 3
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x10], 0
mov dword [esp + 0xc], eax
test eax, eax
jne 0x614adb
mov eax, dword [esp + 0x34]
inc eax
sub ebx, 0xb40000
add esi, 0x20
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ebx
cmp eax, 1
jle 0x6147f0
sub dword [esp + 0x1c], 0x18
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov dword [edi], eax
lea ecx, [esp + 0x88]
cmp ebx, ecx
jae 0x614545
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [edi + 8], edx
mov eax, dword [eax + 4]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret