Function at 0x61fe20
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 0x620500
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 0x61fe68
mov edi, esi
cmp edi, 0x20000
jbe 0x61fe75
mov edi, 0x20000
mov dword [esp + 0x7c], esi
mov eax, esi
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x61ffc8
cmp esi, 1
jne 0x61ffb9
mov esi, dword [ebx + 0x14e4]
mov edx, dword [ebx + 0x14ec]
test esi, esi
je 0x61fec8
cmp edi, edx
jg 0x61fec8
ja 0x6204f8
mov dword [ebx + 0x14e8], edi
mov edx, dword [ebx + 0x14f8]
cmp edi, edx
ja 0x6204f1
mov dword [ebx + 0x14f4], edi
jmp 0x61ff75
mov dword [esp + 0x64], edi
lea eax, [0x734760]
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 [0x900e70]
test ebx, ebx
jne 0x61ff0f
mov dword [edx + 0x14e4], eax
jmp 0x61ff1a
lea edi, [edx + 0x14e4]
call fcn.00456ac0
lea eax, [0x7347e0]
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 [0x900e70]
test ecx, ecx
jne 0x61ff5d
mov dword [edx + 0x14f0], eax
jmp 0x61ff68
lea edi, [edx + 0x14f0]
call fcn.00456ac0
mov eax, dword [esp + 0x7c]
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 + 0xa0], ebp
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xb0]
jmp 0x61ffe4
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 + 0xa0], ecx
xor ecx, ecx
mov dword [esp + 0x98], ecx
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
jmp 0x620014
mov eax, dword [esp + 0xac]
mov eax, edx
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov edx, dword [ebx + 0x1520]
cmp edx, 1
jne 0x620055
movzx edi, byte [ebx + 0x13e]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x620032
mov edi, dword [esp + 0x6c]
jmp 0x620055
mov dword [esp], ebx
call fcn.0061fd50
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xb0]
jmp 0x61fffc
test edx, edx
jne 0x6204a7
mov edi, dword [ebp]
test edi, edi
jne 0x620077
mov esi, dword [esp + 0xac]
test esi, esi
je 0x6204a2
mov esi, dword [esp + 0x68]
cmp edi, eax
jbe 0x62007f
mov edx, eax
jmp 0x620083
mov edx, eax
mov eax, edi
cmp eax, edi
jne 0x6200a2
mov esi, dword [esp + 0xac]
cmp esi, 2
sete dl
cmp eax, edi
mov esi, dword [esp + 0x68]
mov edi, edx
mov edx, dword [esp + 0x7c]
jmp 0x6200a7
mov edi, 0
xchg edi, eax
mov byte [esp + 0x5f], al
xchg edi, eax
jne 0x6200d1
mov esi, dword [esp + 0xac]
cmp esi, 1
xchg edi, ebx
sete bl
xchg edi, ebx
mov esi, dword [esp + 0x68]
xchg edi, eax
mov byte [esp + 0x5e], al
xchg edi, eax
movzx edi, byte [esp + 0x5f]
jmp 0x6200e5
mov dword [esp + 0x90], eax
xor eax, eax
mov byte [esp + 0x5e], al
mov eax, dword [esp + 0x90]
movzx esi, byte [ebx + 0x13e]
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], 0
movzx esi, byte [esp + 0x5e]
xchg esi, eax
test al, al
xchg esi, eax
je 0x620119
test eax, eax
jne 0x620119
mov dword [ebx + 0x1520], 1
jmp 0x61fffc
mov dword [esp + 0x60], eax
shl eax, 1
lea edx, [eax + 0x1f7]
nop
cmp dword [ebx + 0x148], edx
jge 0x6201a0
mov dword [esp + 0x8c], edx
lea eax, [0x7347e0]
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 [0x900e70]
test ecx, ecx
jne 0x62017b
mov dword [edx + 0x144], eax
jmp 0x620186
lea edi, [edx + 0x144]
call fcn.00456ac0
mov ecx, dword [esp + 0x88]
mov ebx, edx
mov ebp, dword [esp + 0xb0]
movzx esi, byte [esp + 0x5e]
movzx edi, byte [esp + 0x5f]
movzx edx, word [ebx + 0x13c]
mov esi, dword [ebx + 0x148]
mov ebp, dword [ebx + 0x144]
mov edi, dword [ebx + 0x14c]
test esi, esi
jbe 0x6204e8
mov byte [ebp], dl
movzx edx, word [ebx + 0x13c]
cmp esi, 1
jbe 0x6204dc
mov dword [esp + 0x70], esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x74], 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 + 0x80]
mov dword [esp + 0xc], ecx
call fcn.0061cac0
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 0x6202fa
mov ebp, dword [esp + 0x80]
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 + 0x5f]
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 + 0x78]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], edx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x58], ebp
call fcn.00617b30
jmp 0x6203a3
mov ebx, dword [esp + 0x80]
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 + 0x5f]
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 + 0x68]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x88]
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 + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x48], edx
call fcn.0061c830
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 0x6204d7
sub ecx, eax
mov dword [edi + 4], ecx
sub ebp, eax
mov dword [edi + 8], ebp
mov esi, dword [0x900e70]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
test esi, esi
jne 0x6203e3
mov dword [edi], ebx
jmp 0x6203ee
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 + 0x78]
shr ecx, 3
mov edx, dword [esp + 0x74]
cmp edx, ecx
jb 0x6204d2
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00620ba0
mov eax, dword [esp + 0x78]
shr eax, 3
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jbe 0x6204cd
mov edx, dword [esp + 0x9c]
movzx edx, byte [edx + eax]
mov ebx, dword [esp + 0xa8]
mov word [ebx + 0x13c], dx
mov edx, dword [esp + 0x78]
and edx, 7
mov byte [ebx + 0x13e], dl
movzx edx, byte [esp + 0x5e]
test dl, dl
je 0x620478
mov dword [ebx + 0x1520], 1
movzx edx, byte [esp + 0x5f]
test dl, dl
je 0x62048b
mov dword [ebx + 0x1520], 2
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
mov ebp, dword [esp + 0xb0]
jmp 0x61fffc
cmp edx, 1
jmp 0x6204aa
cmp edx, 1
nop
jne 0x6204be
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x6204be
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.0061fe20