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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x620556
sub esp, 0xa4
mov ebx, dword [esp + 0xa8]
mov ecx, dword [ebx + 0x20]
cmp ecx, 0x20
sbb ebp, ebp
mov esi, 1
shl esi, cl
and esi, ebp
mov ebp, dword [esp + 0xb0]
mov edi, dword [ebp]
cmp edi, esi
jb 0x61feb8
mov edi, esi
cmp edi, 0x20000
jbe 0x61fec5
mov edi, 0x20000
mov dword [esp + 0x68], esi
mov eax, esi
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x620018
cmp esi, 1
jne 0x620009
mov esi, dword [ebx + 0x14e4]
mov edx, dword [ebx + 0x14ec]
test esi, esi
je 0x61ff18
cmp edi, edx
jg 0x61ff18
ja 0x62054e
mov dword [ebx + 0x14e8], edi
mov edx, dword [ebx + 0x14f8]
cmp edi, edx
ja 0x620547
mov dword [ebx + 0x14f4], edi
jmp 0x61ffc5
mov dword [esp + 0x64], edi
lea eax, [0x7347e0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edi
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xa8]
mov dword [edx + 0x14e8], ecx
mov dword [edx + 0x14ec], ecx
mov ebx, dword [0x901e80]
test ebx, ebx
jne 0x61ff5f
mov dword [edx + 0x14e4], eax
jmp 0x61ff6a
lea edi, [edx + 0x14e4]
call fcn.00456ac0
lea eax, [0x734860]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xa8]
mov dword [edx + 0x14f4], ecx
mov dword [edx + 0x14f8], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x61ffad
mov dword [edx + 0x14f0], eax
jmp 0x61ffb8
lea edi, [edx + 0x14f0]
call fcn.00456ac0
mov eax, dword [esp + 0x68]
mov ebx, edx
mov ebp, dword [esp + 0xb0]
mov edx, dword [ebx + 0x14e4]
mov dword [esp + 0x98], edx
mov esi, dword [ebx + 0x14e8]
mov edi, dword [ebx + 0x14ec]
mov ebp, dword [ebx + 0x14f0]
mov edx, dword [ebx + 0x14f4]
mov ebx, dword [ebx + 0x14f8]
mov ecx, ebx
mov dword [esp + 0x9c], ebp
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xb0]
jmp 0x620034
mov byte [esp + 0xb8], 0
add esp, 0xa4
ret
xor ecx, ecx
xor edx, edx
xor edi, edi
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x9c], ecx
xor ecx, ecx
mov dword [esp + 0x98], ecx
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], esi
jmp 0x62005b
mov eax, dword [esp + 0xac]
mov eax, edx
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
mov edx, dword [ebx + 0x1520]
cmp edx, 1
jne 0x620099
movzx edi, byte [ebx + 0x13e]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x620079
mov edi, dword [esp + 0x70]
jmp 0x620099
mov dword [esp], ebx
call fcn.0061fda0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xb0]
jmp 0x620046
test edx, edx
jne 0x6204fd
mov edi, dword [ebp]
test edi, edi
jne 0x6200bb
mov esi, dword [esp + 0xac]
test esi, esi
je 0x6204f8
mov esi, dword [esp + 0x6c]
cmp edi, eax
jbe 0x6200c3
mov edx, eax
jmp 0x6200c7
mov edx, eax
mov eax, edi
cmp eax, edi
jne 0x6200e6
mov esi, dword [esp + 0xac]
cmp esi, 2
sete dl
cmp eax, edi
mov esi, dword [esp + 0x6c]
mov edi, edx
mov edx, dword [esp + 0x68]
jmp 0x6200eb
mov edi, 0
xchg edi, eax
mov byte [esp + 0x5e], al
xchg edi, eax
jne 0x620115
mov esi, dword [esp + 0xac]
cmp esi, 1
xchg edi, ebx
sete bl
xchg edi, ebx
mov esi, dword [esp + 0x6c]
xchg edi, eax
mov byte [esp + 0x5f], al
xchg edi, eax
movzx edi, byte [esp + 0x5e]
jmp 0x620129
mov dword [esp + 0x90], eax
xor eax, eax
mov byte [esp + 0x5f], al
mov eax, dword [esp + 0x90]
movzx esi, byte [ebx + 0x13e]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], 0
movzx esi, byte [esp + 0x5f]
xchg esi, eax
test al, al
xchg esi, eax
je 0x62015d
test eax, eax
jne 0x62015d
mov dword [ebx + 0x1520], 1
jmp 0x620046
mov dword [esp + 0x60], eax
shl eax, 1
lea edx, [eax + 0x1f7]
nop
cmp dword [ebx + 0x148], edx
jge 0x6201e1
mov dword [esp + 0x8c], edx
lea eax, [0x734860]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004426a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0xa8]
mov dword [edx + 0x148], ecx
mov dword [edx + 0x14c], ecx
mov ecx, dword [0x901e80]
test ecx, ecx
jne 0x6201bf
mov dword [edx + 0x144], eax
jmp 0x6201ca
lea edi, [edx + 0x144]
call fcn.00456ac0
mov ecx, dword [esp + 0x78]
mov ebx, edx
mov ebp, dword [esp + 0xb0]
movzx esi, byte [esp + 0x5f]
movzx edi, byte [esp + 0x5e]
movzx edx, word [ebx + 0x13c]
mov esi, dword [ebx + 0x148]
mov ebp, dword [ebx + 0x144]
mov edi, dword [ebx + 0x14c]
test esi, esi
jbe 0x62053e
mov byte [ebp], dl
movzx edx, word [ebx + 0x13c]
cmp esi, 1
jbe 0x620532
mov dword [esp + 0x84], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x88], edi
shr dx, 8
mov byte [ebp + 1], dl
mov eax, dword [ebx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc], ecx
call fcn.0061cb00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
jne 0x620344
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0xb4]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov esi, dword [esi + 8]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
movzx esi, byte [esp + 0x5e]
xchg esi, eax
mov byte [esp + 0x10], al
xchg esi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0xa8]
lea ecx, [eax + 0x1160]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], pe_nt_image_headers32
mov dword [esp + 0x2c], pe_nt_image_headers32
lea ecx, [eax + 0x11e0]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], pe_nt_image_headers32
mov dword [esp + 0x38], pe_nt_image_headers32
lea ecx, [eax + 0x14e0]
mov dword [esp + 0x3c], ecx
lea ecx, [eax + 0x12e0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x200
mov dword [esp + 0x48], 0x200
lea ecx, [esp + 0x80]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x54], edx
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x58], ebp
call fcn.00617b70
jmp 0x6203ed
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb4]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xc], ebp
movzx esi, byte [esp + 0x5e]
xchg esi, eax
mov byte [esp + 0x10], al
xchg esi, eax
mov edi, dword [esp + 0x98]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x48], edx
call fcn.0061c870
mov edi, dword [esp + 0xb4]
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
mov ebp, dword [edi + 8]
mov eax, dword [esp + 0x60]
cmp eax, ecx
ja 0x62052d
sub ecx, eax
mov dword [edi + 4], ecx
sub ebp, eax
mov dword [edi + 8], ebp
mov esi, dword [0x901e80]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
test esi, esi
jne 0x62042d
mov dword [edi], ebx
jmp 0x620438
mov ecx, eax
mov eax, ebx
call fcn.00456ac0
mov eax, ecx
mov ebx, dword [esp + 0xb0]
sub dword [ebx], eax
mov ecx, dword [esp + 0x80]
shr ecx, 3
mov edx, dword [esp + 0x88]
cmp edx, ecx
jb 0x620528
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00620bf0
mov eax, dword [esp + 0x80]
shr eax, 3
mov ecx, dword [esp + 0x84]
cmp ecx, eax
jbe 0x620523
mov edx, dword [esp + 0xa0]
movzx edx, byte [edx + eax]
mov ebx, dword [esp + 0xa8]
mov word [ebx + 0x13c], dx
mov edx, dword [esp + 0x80]
and edx, 7
mov byte [ebx + 0x13e], dl
movzx edx, byte [esp + 0x5f]
test dl, dl
je 0x6204d1
mov dword [ebx + 0x1520], 1
movzx edx, byte [esp + 0x5e]
test dl, dl
je 0x6204e4
mov dword [ebx + 0x1520], 2
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0xb0]
jmp 0x620046
cmp edx, 1
jmp 0x620500
cmp edx, 1
nop
jne 0x620514
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x620514
mov dword [ebx + 0x1520], 0
mov byte [esp + 0xb8], 1
add esp, 0xa4
ret
call fcn.00456b50
call fcn.00456b90
call fcn.00456bb0
mov eax, 1
mov ecx, eax
call fcn.00456b40
xor eax, eax
mov ecx, eax
call fcn.00456b40
mov ecx, edi
call fcn.00456b90
mov ecx, edi
call fcn.00456b90
nop
call fcn.00455690
jmp fcn.0061fe70