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

Disassembly:
sub esp, 0x1c
xor eax, eax
push edi
mov edi, dword [esp + 0x24]
cmp edi, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
jne 0x61b450
mov eax, 0xffffff9a
pop edi
add esp, 0x1c
ret
cmp dword [edi + 0x38], eax
je 0x61b446
cmp dword [edi + 0x9c], 8
push ebx
push ebp
push esi
mov dword [edi + 0x44], eax
jne 0x61b4b8
cmp dword [edi + 0xa0], eax
jne 0x61b4b8
lea ebx, [edi + 0x40]
mov ebp, 0x10000
cmp dword [edi + 0x50], 0
jne 0x61b48d
mov esi, edi
call fcn.0061b220
lea eax, [edi + 0xa4]
mov dword [edi + 0x50], ebp
mov dword [edi + 0x4c], eax
mov esi, dword [edi + 0x54]
push 4
push ebx
call fcn.0061fbb0
mov ecx, dword [edi + 0x54]
sub ecx, esi
add dword [edi + 0x7c], ecx
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x61b474
cmp eax, 1
jne 0x61b4b8
mov dword [esp + 0x10], 0
or ebx, 0xffffffff
cmp dword [edi + 0x7c], 0
jbe 0x61b4d7
cmp dword [esp + 0x10], 0
jne 0x61b4d7
mov esi, edi
call fcn.0061b220
cmp eax, ebx
jne 0x61b4d7
mov dword [esp + 0x10], ebx
cmp dword [edi + 0x9c], 8
jne 0x61b507
cmp dword [edi + 0xa0], 0
jne 0x61b530
lea edx, [edi + 0x40]
push edx
call fcn.0061e8e0
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x61b500
mov dword [esp + 0x10], eax
mov dword [edi + 0x78], 0
cmp dword [edi + 0xa0], 0
jne 0x61b530
mov eax, dword [edi + 0x100a8]
mov ecx, dword [edi + 0x100c8]
mov ebp, dword [edi + 0x100cc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
jmp 0x61b534
mov ebp, dword [esp + 0x38]
mov eax, dword [edi + 0x100e0]
cdq
add eax, dword [edi + 0x100c0]
adc edx, dword [edi + 0x100c4]
mov dword [esp + 0x1c], eax
test edx, edx
mov dword [esp + 0x20], edx
ja 0x61b576
jb 0x61b559
cmp eax, ebx
jae 0x61b576
test ebp, ebp
ja 0x61b576
jb 0x61b565
cmp dword [esp + 0x34], ebx
jae 0x61b576
cmp dword [edi + 0x84], 0
ja 0x61b576
cmp dword [edi + 0x80], ebx
jb 0x61b5a0
mov eax, dword [edi + 0x88]
add eax, 4
mov byte [eax], 0x2d
mov byte [eax + 1], 0
mov eax, dword [edi + 0x88]
add eax, 6
mov byte [eax], 0x2d
mov byte [eax + 1], 0
jmp 0x61b5a0
mov eax, dword [edi + 0x88]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
add eax, 0x10
mov byte [eax], dl
shrd edx, ecx, 8
mov dword [esp + 0x28], ecx
shr ecx, 8
mov byte [eax + 1], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 2], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 3], dl
shrd edx, ecx, 8
shr ecx, 8
or edx, ecx
je 0x61b5e4
mov dword [eax], 0xffffffff
mov esi, dword [esp + 0x20]
test esi, esi
mov cl, 0xff
ja 0x61b5f7
mov edx, dword [esp + 0x1c]
cmp edx, 0xffffffff
jb 0x61b60d
mov eax, dword [edi + 0x88]
add eax, 0x14
mov byte [eax], cl
mov byte [eax + 1], cl
mov byte [eax + 2], cl
mov byte [eax + 3], cl
jmp 0x61b64b
mov ecx, dword [edi + 0x88]
add ecx, 0x14
mov byte [ecx], dl
mov eax, esi
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 1], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 2], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 3], dl
shrd edx, eax, 8
shr eax, 8
or edx, eax
je 0x61b649
mov dword [ecx], 0xffffffff
mov cl, 0xff
cmp dword [edi + 0x6c], 1
jne 0x61b661
mov eax, dword [edi + 0x88]
add eax, 0x24
mov byte [eax], 1
mov byte [eax + 1], 0
test ebp, ebp
ja 0x61b66e
mov edx, dword [esp + 0x34]
cmp edx, 0xffffffff
jb 0x61b684
mov eax, dword [edi + 0x88]
add eax, 0x18
mov byte [eax], cl
mov byte [eax + 1], cl
mov byte [eax + 2], cl
mov byte [eax + 3], cl
jmp 0x61b6c0
mov ecx, dword [edi + 0x88]
add ecx, 0x18
mov byte [ecx], dl
mov eax, ebp
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 1], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 2], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 3], dl
shrd edx, eax, 8
shr eax, 8
or edx, eax
je 0x61b6c0
mov dword [ecx], 0xffffffff
or ecx, 0xffffffff
test ebp, ebp
ja 0x61b6cd
cmp dword [esp + 0x34], ecx
jb 0x61b6d4
mov eax, 8
jmp 0x61b6d8
mov eax, dword [esp + 0x14]
test esi, esi
ja 0x61b6e2
cmp dword [esp + 0x1c], ecx
jb 0x61b6e5
add eax, 8
cmp dword [edi + 0x84], 0
ja 0x61b6f6
cmp dword [edi + 0x80], ecx
jb 0x61b6f9
add eax, 8
test ax, ax
jle 0x61b8f0
movsx esi, ax
lea edx, [esi + 4]
cmp edx, dword [edi + 0x94]
jbe 0x61b71d
pop esi
pop ebp
pop ebx
mov eax, 0xffffff99
pop edi
add esp, 0x1c
ret
mov ecx, dword [edi + 0x90]
add ecx, dword [edi + 0x88]
mov eax, esi
cdq
mov byte [ecx], 1
mov byte [ecx + 1], 0
add ecx, 2
mov byte [ecx], al
shrd eax, edx, 8
shr edx, 8
mov byte [ecx + 1], al
shrd eax, edx, 8
shr edx, 8
or eax, edx
je 0x61b752
mov word [ecx], 0xffff
mov edx, dword [esp + 0x34]
add ecx, 2
test ebp, ebp
ja 0x61b762
cmp edx, 0xffffffff
jb 0x61b7c2
mov byte [ecx], dl
mov eax, ebp
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 1], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 2], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 3], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 4], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 5], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 6], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 7], dl
shrd edx, eax, 8
shr eax, 8
or edx, eax
je 0x61b7bf
or eax, 0xffffffff
mov dword [ecx], eax
mov dword [ecx + 4], eax
add ecx, 8
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x1c]
ja 0x61b7d2
cmp edx, 0xffffffff
jb 0x61b834
mov eax, dword [esp + 0x20]
mov byte [ecx], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 1], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 2], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 3], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 4], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 5], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 6], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 7], dl
shrd edx, eax, 8
shr eax, 8
or edx, eax
je 0x61b831
or eax, 0xffffffff
mov dword [ecx], eax
mov dword [ecx + 4], eax
add ecx, 8
mov eax, dword [edi + 0x84]
test eax, eax
mov edx, dword [edi + 0x80]
ja 0x61b849
cmp edx, 0xffffffff
jb 0x61b8a4
mov byte [ecx], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 1], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 2], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 3], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 4], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 5], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 6], dl
shrd edx, eax, 8
shr eax, 8
mov byte [ecx + 7], dl
shrd edx, eax, 8
shr eax, 8
or edx, eax
je 0x61b8a4
or eax, 0xffffffff
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, 0xfffffffc
sub eax, esi
add dword [edi + 0x94], eax
mov eax, dword [edi + 0x88]
lea ecx, [esi + 4]
add dword [edi + 0x90], ecx
add esi, 4
add dword [edi + 0x8c], esi
mov edx, dword [edi + 0x8c]
xor ecx, ecx
add eax, 0x1e
mov byte [eax], dl
shrd edx, ecx, 8
shr ecx, 8
mov byte [eax + 1], dl
shrd edx, ecx, 8
shr ecx, 8
or edx, ecx
je 0x61b8f0
mov word [eax], 0xffff
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x61b918
mov edx, dword [edi + 0x90]
mov eax, dword [edi + 0x88]
push edx
push eax
lea ecx, [edi + 0x30]
push ecx
call fcn.00619cd0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
mov edx, dword [edi + 0x88]
push edx
call fcn.005b525b
add esp, 4
test esi, esi
jne 0x61ba6c
mov eax, dword [edi + 0x2c]
push eax
push edi
call fcn.0061e6d0
mov ecx, dword [edi + 0x80]
mov dword [esp + 0x20], edx
mov edx, dword [edi + 0x84]
add ecx, 0xe
push esi
adc edx, esi
push edx
mov ebp, eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
push edi
call fcn.0061e670
add esp, 0x1c
test eax, eax
je 0x61b96e
mov dword [esp + 0x10], 0xffffffff
jmp 0x61b98c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edi + 0x2c]
push ecx
push edx
mov esi, 4
call fcn.00619db0
add esp, 8
mov dword [esp + 0x10], eax
cmp dword [esp + 0x38], 0
ja 0x61b99a
cmp dword [esp + 0x34], 0xffffffff
jb 0x61ba0c
mov eax, dword [edi + 0x100bc]
test eax, eax
mov ecx, dword [edi + 0x100b8]
ja 0x61b9b2
test ecx, ecx
jbe 0x61ba4e
add ecx, 4
push 0
adc eax, 0
push eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
push edi
call fcn.0061e670
add esp, 0x14
test eax, eax
je 0x61b9d7
mov dword [esp + 0x10], 0xffffffff
jmp 0x61ba4e
cmp dword [esp + 0x10], 0
jne 0x61ba4e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebx, dword [edi + 0x2c]
push ecx
push edx
mov esi, 8
call fcn.00619db0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x61ba4e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x61ba3f
cmp dword [esp + 0x10], 0
jne 0x61ba4e
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ebx, dword [edi + 0x2c]
push edx
push eax
mov esi, 4
call fcn.00619db0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x61ba4e
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ebx, dword [edi + 0x2c]
call fcn.00619db0
mov dword [esp + 0x18], eax
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x2c]
push 0
push eax
push ebp
push ecx
push edi
call fcn.0061e670
add esp, 0x14
test eax, eax
je 0x61ba6c
or eax, 0xffffffff
jmp 0x61ba70
mov eax, dword [esp + 0x10]
add dword [edi + 0x100f8], 1
pop esi
pop ebp
adc dword [edi + 0x100fc], 0
pop ebx
mov dword [edi + 0x38], 0
pop edi
add esp, 0x1c
ret