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

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, dword [edi + 8]
test esi, esi
jne 0x61a2fc
cmp dword [edi + 0x78], esi
jne 0x61a2f1
mov eax, dword [edi]
test byte [eax + 0x44], 8
jne 0x61a2f1
mov byte [edi + 0x17], 1
push edi
call fcn.0066c560
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x28]
push ebx
push ebp
mov ebp, dword [esi + 0xc]
dec eax
mov dword [esp + 0x10], eax
mov ebx, dword [ebp + 0x44]
lea eax, [ebx + 1]
mov dword [ebp + 0x44], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x61a334
push 0
lea eax, [ebx*8 + 4]
push eax
push dword [ebp + 0x48]
push dword [ebp]
call fcn.00647a80
add esp, 0x10
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x61a342
mov dword [eax + ebx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ebx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x18], eax
jge 0x61a367
mov ecx, dword [esp + 0x38]
push eax
movzx eax, byte [ecx + 0x18]
push eax
push 0x2f
push esi
call fcn.0066bba0
add esp, 0x10
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov ebp, dword [esp + 0x40]
cmp dword [eax + 0x14], ebx
jle 0x61a3e9
mov edi, dword [esp + 0x18]
lea ebx, [ebx]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x88]
mov edx, dword [eax + ebx*4]
mov eax, dword [esi + 0xc]
inc edx
add edx, ebp
cmp dword [eax + 0x30], ecx
jg 0x61a3a9
push 0
push edi
push edx
push 0x32
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a3db
mov ebp, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, dword [eax + 0x14]
jl 0x61a380
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x48], 0
jne 0x61aa30
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x61a600
mov al, byte [edi + 0x13]
test al, al
jne 0x61a40f
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x61a41e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x15c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x88]
mov edx, dword [eax]
mov eax, dword [esi + 0xc]
inc edx
add edx, ebp
cmp dword [eax + 0x30], ecx
jg 0x61a446
push 0
push ebx
push edx
push 0x4c
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a474
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
mov ebp, dword [esi + 0x88]
cmp dword [eax + 0x30], ebp
jg 0x61a496
push 0
push 0
push ebx
push 0x11
push esi
call fcn.0062e2b0
add esp, 0x14
mov ebp, eax
jmp 0x61a4ce
lea eax, [ebp + 1]
mov dword [esi + 0x88], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x58]
add ecx, ebp
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx]
jne 0x61a513
cmp dword [esp + 0x44], 1
jne 0x61a513
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x48]
push 0x35
push esi
call fcn.0066bc10
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x61a50f
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x30]
push 0x68
push eax
push dword [esp + 0x34]
push dword [esp + 0x1c]
push edi
call fcn.0065b970
mov eax, dword [esi + 0xc]
add esp, 0x14
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x61a549
push ebx
push 0
push dword [esp + 0x18]
push 0x20
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a57b
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x18]
push esi
call fcn.00673050
mov edx, dword [esi + 0x88]
add esp, 8
lea ecx, [edx - 2]
test ecx, ecx
jns 0x61a598
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x61a5a7
mov eax, 0xb2e43c
jmp 0x61a5b0
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x88]
test ebp, ebp
jns 0x61a5c0
lea ebp, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x49], 0
je 0x61a5df
mov eax, 0xb2e43c
push ebx
push edi
mov dword [eax + 8], edx
call fcn.006621c0
add esp, 8
jmp 0x61aa30
mov eax, dword [esi + 0x58]
lea ecx, [ebp*4]
add ecx, ebp
push ebx
push edi
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
call fcn.006621c0
add esp, 8
jmp 0x61aa30
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x1c], ebp
cmp ebp, 1
jne 0x61a634
mov al, byte [edi + 0x13]
test al, al
jne 0x61a61f
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], eax
jmp 0x61a662
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x15c]
mov dword [esp + 0x48], eax
jmp 0x61a662
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x48], edx
cmp ebp, ecx
jg 0x61a64f
lea eax, [edx + ebp]
sub ecx, ebp
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], ecx
jmp 0x61a65e
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, ebp
mov dword [esp + 0x48], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 0x34]
mov al, byte [edi + 0x13]
test al, al
jne 0x61a675
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
mov dword [esp + 0x14], ebx
jmp 0x61a688
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x15c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x61a6af
push dword [esp + 0x2c]
push edx
push dword [esp + 0x18]
push 0x68
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a6e2
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x68
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xc], eax
push dword [esp + 0x34]
mov ebx, dword [edi + 8]
push edi
call fcn.00659d70
mov edx, eax
add esp, 8
test edx, edx
je 0x61a723
mov eax, dword [ebx]
cmp byte [eax + 0x49], 0
je 0x61a70e
push edx
push 0xfffffffffffffff7
push eax
call fcn.0061ba30
add esp, 0xc
jmp 0x61a723
mov eax, dword [ebx + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
xor ebx, ebx
test ebp, ebp
jle 0x61a7ad
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
jmp 0x61a740
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esi + 0x88]
inc edx
mov eax, dword [eax + ebx*4]
add edx, eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x61a76d
push 0
push ebp
push edx
push 0x4b
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a79f
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
inc ebp
cmp ebx, edi
jl 0x61a740
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx]
jne 0x61a8e8
cmp dword [esp + 0x44], 1
jne 0x61a8e8
mov eax, dword [esi + 0x88]
xor ebx, ebx
inc eax
add eax, ebp
mov dword [esp + 0x20], eax
test ebp, ebp
jle 0x61a88f
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + ebx*4]
inc eax
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
movzx ecx, word [eax + ebx*2]
mov eax, dword [esp + 0x30]
movsx edx, cx
inc edx
add edx, edi
cmp cx, word [eax + 0x28]
jne 0x61a80e
mov edx, edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x61a832
push edx
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0x34
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a868
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x61a882
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
inc ebx
cmp ebx, ebp
jl 0x61a7e3
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x61a8b2
push 0
push dword [esp + 0x1c]
push 0
push 0xd
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61a8e8
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x34]
push dword [edi]
call fcn.00657f10
mov ecx, dword [esi + 0xc]
add esp, 8
mov edx, dword [esi + 0x88]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x30], edx
jg 0x61a921
push dword [esp + 0x14]
push ebp
push ebx
push 0x63
push esi
call fcn.0062e2b0
add esp, 0x14
mov edx, eax
jmp 0x61a953
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0x10], 0
push ebp
push dword [esp + 0x2c]
push edx
push esi
call fcn.0066c0d0
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 0x1e
push esi
call fcn.0066bd50
add esp, 0x28
cmp dword [esp + 0x14], 0
je 0x61a9c8
mov al, byte [edi + 0x13]
mov byte [esp + 0x28], al
cmp al, 8
jae 0x61a9c8
movzx edx, byte [edi + 0x19]
lea eax, [edi + 0x94]
xor ecx, ecx
test edx, edx
jle 0x61a9b5
lea ebx, [ebx]
mov ebx, dword [esp + 0x14]
cmp dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x48]
je 0x61aa0e
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x61a9a0
movzx eax, byte [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [edi + eax*4 + 0x15c], ecx
inc byte [edi + 0x13]
cmp ebp, 1
jne 0x61aa1a
test ebx, ebx
je 0x61aa30
mov al, byte [edi + 0x13]
mov byte [esp + 0x28], al
cmp al, 8
jae 0x61aa30
movzx edx, byte [edi + 0x19]
lea eax, [edi + 0x94]
xor ecx, ecx
test edx, edx
jle 0x61a9fd
lea esp, [esp]
cmp dword [eax + 0xc], ebx
je 0x61aa14
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x61a9f0
movzx eax, byte [esp + 0x28]
mov dword [edi + eax*4 + 0x15c], ebx
inc byte [edi + 0x13]
jmp 0x61aa30
mov byte [eax + 6], 1
jmp 0x61a9c8
mov byte [eax + 6], 1
jmp 0x61aa30
push ebp
push ebx
push edi
call fcn.00649f80
add esp, 0xc
cmp ebp, dword [edi + 0x1c]
jle 0x61aa30
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x20], ebx
mov edx, dword [esp + 0x38]
mov cl, byte [edx + 0x18]
test cl, cl
jne 0x61aab2
mov eax, dword [edi]
test dword [eax + 0x1c], 0x80000
jne 0x61aab2
cmp dword [edi + 0x78], 0
jne 0x61aab2
cmp byte [edi + 0x14], cl
jne 0x61aab2
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x61aa6d
test byte [eax + 0x44], 8
jne 0x61aa62
mov byte [edi + 0x17], 1
push edi
call fcn.0066c560
add esp, 4
mov ebx, eax
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x61aa76
mov eax, edi
push 0xffffffffffffffff
push 0
push 0
push 2
push 0x313
push 0x42
push ebx
mov byte [eax + 0x15], 1
call fcn.0066bc70
mov eax, dword [ebx + 0x88]
add esp, 0x1c
test eax, eax
jle 0x61ab1f
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [ebx + 0x58]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x61ab1f
mov ebx, dword [esp + 0x44]
test ebx, ebx
jle 0x61aacb
test cl, cl
jne 0x61aacb
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x61aac7
mov eax, edi
mov byte [eax + 0x15], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
movzx edx, byte [edx + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x61aaf1
push 0
push ebx
push edx
push 0x91
push esi
call fcn.0062e2b0
add esp, 0x14
jmp 0x61ab1f
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0xc]
pop ebp
pop ebx
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x61ab40
mov eax, dword [esp + 0x10]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x61ab67
push 0
push 0
push dword [esp + 0x10]
push 0x70
push esi
call fcn.0062e2b0
add esp, 0x14
pop edi
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
pop edi
pop esi
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
add esp, 0x14
ret