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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x61d0ac
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x61d0ab
push esi
push ebx
call fcn.0061cbc3
add esp, 8
test byte [esi + 8], 8
je 0x61cfa9
movzx eax, word [esi + 0x14]
mov ecx, dword [esi + 0x10]
push eax
push ecx
push ebx
call fcn.00626813
add esp, 0xc
test byte [esi + 8], 0x10
push edi
je 0x61ce35
test dword [ebx + 0x74], 0x80000
je 0x61ce1a
cmp byte [esi + 0x19], 3
jne 0x61ce1a
xor edx, edx
xor eax, eax
cmp dx, word [esi + 0x16]
jae 0x61ce1a
mov edi, dword [esi + 0x50]
or dl, 0xff
sub dl, byte [edi + eax]
inc eax
mov byte [edi + eax - 1], dl
movzx ecx, word [esi + 0x16]
cmp eax, ecx
jl 0x61ce04
movzx edx, byte [esi + 0x19]
movzx eax, word [esi + 0x16]
push edx
mov edx, dword [esi + 0x50]
push eax
lea ecx, [esi + 0x54]
push ecx
push edx
push ebx
call fcn.00627fb3
add esp, 0x14
test byte [esi + 8], 0x20
je 0x61ce4d
movzx eax, byte [esi + 0x19]
push eax
lea ecx, [esi + 0x5e]
push ecx
push ebx
call fcn.00628103
add esp, 0xc
test byte [esi + 8], 0x40
je 0x61ce68
movzx edx, word [esi + 0x14]
mov eax, dword [esi + 0x80]
push edx
push eax
push ebx
call fcn.006268f3
add esp, 0xc
test dword [esi + 8], 0x100
je 0x61ce87
movzx ecx, byte [esi + 0x70]
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push ebx
call fcn.00628263
add esp, 0x10
test dword [esi + 8], 0x400
je 0x61cecc
mov ecx, dword [esi + 0xb4]
mov edx, dword [esi + 0xb0]
movzx eax, byte [esi + 0xb9]
push ecx
movzx ecx, byte [esi + 0xb8]
push edx
mov edx, dword [esi + 0xac]
push eax
mov eax, dword [esi + 0xa8]
push ecx
mov ecx, dword [esi + 0xa4]
push edx
push eax
push ecx
push ebx
call fcn.00626ed3
add esp, 0x20
test dword [esi + 8], 0x4000
je 0x61cef4
mov edx, dword [esi + 0xe8]
mov eax, dword [esi + 0xe4]
movzx ecx, byte [esi + 0xe0]
push edx
push eax
push ecx
push ebx
call fcn.006282e3
add esp, 0x10
test byte [esi + 8], 0x80
je 0x61cf10
movzx edx, byte [esi + 0x7c]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
push edx
push eax
push ecx
push ebx
call fcn.006283a3
add esp, 0x10
mov edi, 0x200
test dword [esi + 8], edi
je 0x61cf2a
lea edx, [esi + 0x3c]
push edx
push ebx
call fcn.00628423
add esp, 8
or dword [ebx + 0x6c], edi
test dword [esi + 8], 0x2000
je 0x61cf63
xor edi, edi
cmp dword [esi + 0xdc], edi
jle 0x61cf63
mov dword [ebp + 8], edi
lea ecx, [ecx]
mov eax, dword [esi + 0xd8]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00627c73
add dword [ebp + 8], 0x10
inc edi
add esp, 8
cmp edi, dword [esi + 0xdc]
jl 0x61cf43
xor edi, edi
mov dword [ebp + 8], edi
cmp dword [esi + 0x30], edi
jle 0x61d01f
mov edi, edi
mov ecx, dword [esi + 0x38]
mov eax, dword [edi + ecx]
test eax, eax
jle 0x61cfbe
mov edx, dword [edi + ecx + 0x18]
lea eax, [edi + ecx]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push ebx
call fcn.00626d53
mov ecx, dword [esi + 0x38]
add esp, 0x18
mov dword [edi + ecx], 0xfffffffd
jmp 0x61d00c
cmp byte [esi + 0x19], 3
jne 0x61cde4
push 0x1010ff08
push ebx
call fcn.00619d53
jne 0x61cfe6
mov edx, dword [edi + ecx + 8]
lea eax, [edi + ecx]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push 0
push edx
push eax
push ebx
call fcn.00626c33
mov ecx, dword [esi + 0x38]
add esp, 0x14
mov dword [edi + ecx], 0xfffffffe
jmp 0x61d00c
cmp eax, 0xffffffff
jne 0x61d00c
mov edx, dword [edi + ecx + 4]
lea eax, [edi + ecx]
mov ecx, dword [eax + 8]
push 0
push ecx
push edx
push ebx
call fcn.00626b83
mov eax, dword [esi + 0x38]
add esp, 0x10
mov dword [edi + eax], 0xfffffffd
mov eax, dword [ebp + 8]
inc eax
add edi, 0x1c
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x30]
jl 0x61cf73
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x61d0aa
mov ecx, dword [esi + 0xc0]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
cmp ecx, eax
jae 0x61d0aa
lea edi, [ecx + 0x10]
lea ecx, [ecx]
lea eax, [edi - 0x10]
push eax
push ebx
call fcn.0061a4c3
add esp, 8
cmp eax, 1
je 0x61d08e
mov cl, byte [edi]
test cl, cl
je 0x61d08e
test cl, 2
je 0x61d08e
test cl, 4
jne 0x61d08e
test byte [edi - 0xd], 0x20
jne 0x61d079
cmp eax, 3
je 0x61d079
test dword [ebx + 0x70], 0x10000
je 0x61d08e
mov ecx, dword [edi - 4]
mov edx, dword [edi - 8]
push ecx
push edx
lea eax, [edi - 0x10]
push eax
push ebx
call fcn.006274c3
add esp, 0x10
mov eax, dword [esi + 0xc4]
mov ecx, dword [esi + 0xc0]
lea eax, [eax + eax*4]
add edi, 0x14
lea edx, [ecx + eax*4]
lea eax, [edi - 0x10]
cmp eax, edx
jb 0x61d043
pop edi
pop esi
pop ebx
pop ebp
ret