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

Disassembly:
test edx, edx
je 0x66633490
push ebp
mov ebp, edx
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x6c
mov dword [esp + 0x18], eax
jmp 0x66633293
cmp byte [ebp + 0xa], 0
setne dl
cmp al, 0x7e
sete al
test dl, al
je 0x66633288
cmp edi, 0x80
je 0x6663329d
mov ebp, dword [ebp + 0x20]
test ebp, ebp
je 0x66633480
movzx edx, byte [ebp + 8]
mov eax, edx
cmp edx, edi
jne 0x66633270
movzx eax, byte [ebp + 9]
cmp eax, dword [esp + 0x84]
jne 0x66633288
mov eax, dword [ebp + 0x10]
mov edx, dword [esp + 0x80]
call fcn.66591740
test eax, eax
je 0x66633288
cmp byte [ebp + 0xa], 0
je 0x66633498
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x74]
test esi, esi
jne 0x66633288
mov ebx, dword [eax + 8]
mov dword [esp + 0x34], ebx
mov ebx, dword [eax + 0x80]
mov eax, dword [eax]
mov dword [esp + 0x30], ebx
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx]
mov dword [esp + 0x28], ebx
test ecx, ecx
jle 0x666336ea
lea eax, [ebx + 4]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], ebp
jmp 0x666333ba
cmp al, 0x8c
jne 0x66633330
mov eax, dword [edx + 0x10]
cmp byte [eax], 0xb3
je 0x66633662
mov ebx, dword [esp + 0x1c]
mov dword [esp], 0
xor ecx, ecx
mov eax, ebx
call fcn.665a7430
mov edx, esi
mov ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
call fcn.66599380
cmp byte [ebx + 0x53], 0
mov esi, eax
mov eax, ebx
jne 0x666333a0
mov ebx, dword [esp + 0x24]
mov edx, dword [ebx + 4]
test edx, edx
je 0x666333a0
mov ebx, dword [esi]
call fcn.66591c60
sub ebx, 1
lea edx, [ebx + ebx*4]
mov ebx, dword [esp + 0x28]
lea edx, [esi + edx*4]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
movzx ecx, byte [ebx + eax*4 + 0x10]
movzx eax, byte [edx + 0x10]
and ecx, 3
and eax, 0xfffffffc
or eax, ecx
mov byte [edx + 0x10], al
lea esi, [esi]
mov ebx, dword [esp + 0x28]
add dword [esp + 0x20], 1
add dword [esp + 0x24], 0x14
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx]
jge 0x666334d6
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
test edx, edx
je 0x666333a0
movzx eax, byte [edx]
cmp al, 0xb3
jne 0x66633320
cmp word [edi + 0x2a], 0
jle 0x666333a0
xor ebx, ebx
jmp 0x666333eb
movsx eax, word [edi + 0x2a]
add ebx, 1
cmp ebx, eax
jge 0x666333a0
mov eax, dword [edi + 4]
lea ebp, [ebx + ebx*4]
lea eax, [eax + ebp*4]
test byte [eax + 0x10], 2
jne 0x666333e0
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
je 0x666334cf
mov dword [esp], eax
call sub.msvcrt.dll_strlen
and eax, 0x3fffffff
mov dword [esp], 0
lea ecx, [esp + 0x40]
mov edx, 0x3b
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
call fcn.6658c010
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esi]
call fcn.66599380
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x53], 0
jne 0x666333e0
mov eax, dword [esi]
lea ecx, [eax - 1]
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + ebp*4]
mov eax, dword [esp + 0x1c]
call fcn.66591c60
mov ecx, dword [esp + 0x2c]
mov edx, eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
and byte [eax + 0x10], 0xfc
mov dword [eax + 8], edx
jmp 0x666333e0
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
ret
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x88]
mov edx, ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
call fcn.66633140
jmp 0x66633288
xor eax, eax
jmp 0x66633415
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp byte [eax + 0x53], 0
je 0x6663367b
test esi, esi
je 0x66633288
xor edx, edx
xor eax, eax
mov dword [esp + eax + 0x40], edx
add eax, 4
cmp eax, 0x20
jb 0x666334f8
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x60]
test eax, eax
jne 0x66633528
mov eax, dword [esi]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x60], eax
mov eax, dword [ecx + 0x28]
lea edx, [eax + 1]
mov dword [ecx + 0x28], edx
mov dword [ebx + 0x5c], eax
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x58], 0x400
mov edx, esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
movzx eax, byte [ebp + 8]
mov byte [ebx + 0x90], al
mov eax, dword [esp + 0x88]
mov dword [ebx + 0x78], eax
lea eax, [esp + 0x40]
call fcn.665baed0
test eax, eax
jne 0x66633642
mov ecx, dword [esi]
mov eax, dword [ebx + 0x2c]
mov edx, ebx
mov dword [esp + 0x18], edx
lea ebx, [eax + 1]
lea eax, [ecx + eax + 2]
mov dword [esp + 0x1c], ecx
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0x30]
mov eax, ebx
mov dword [esp + 0x20], ebx
mov dword [edx + 0x64], ebx
mov edx, ecx
test ecx, ecx
jle 0x66633700
mov ecx, eax
add eax, edx
mov dword [esp + 0x28], esi
lea ebx, [esi + 4]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x2c], ebp
mov ebp, eax
mov dword [esp + 0x38], edi
mov edi, ecx
mov edx, dword [ebx]
mov ecx, edi
mov eax, esi
add edi, 1
add ebx, 0x14
call fcn.66614790
cmp ebp, edi
jne 0x666335b9
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov edx, 0x5c
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
call fcn.6659fdb0
mov ecx, dword [esp + 0x30]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov ecx, dword [ecx + 0x5c]
mov dword [esp], edx
mov edx, 0x7a
mov dword [esp + 4], 0
call fcn.6659fdb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [ecx + 0x5c]
mov dword [esp + 4], edx
mov edx, 0x7b
mov dword [esp], ebx
call fcn.6659fdb0
mov edx, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
call fcn.66597980
mov byte [esi + 0x90], 0
mov dword [esi + 0x78], 0
jmp 0x66633288
mov eax, dword [esp + 0x18]
mov dword [esp + 4], str.RETURNING_may_not_use__TABLE.__wildcards
mov dword [esp], eax
call fcn.665b3dd0
jmp 0x666333cf
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov ebx, dword [eax + 8]
mov eax, ebx
call fcn.665944f0
mov edx, dword [esi]
xor ecx, ecx
xor eax, eax
test edx, edx
jle 0x666334f4
mov dword [esp + 0x1c], ebp
mov ebp, eax
mov dword [esp + 0x20], edi
mov edi, ecx
lea esi, [esi]
mov eax, dword [ebx]
cmp byte [eax + 0x53], 0
jne 0x666336d3
mov eax, dword [ebx + 0x74]
mov edx, dword [esi + edi + 8]
mov dword [esp + 4], 0xffffffff
mov ecx, 0xffffffff
mov dword [esp], 1
lea eax, [eax + edi*2]
call fcn.665a4a40
add ebp, 1
add edi, 0x14
cmp ebp, dword [esi]
jl 0x666336a8
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
jmp 0x666334f4
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x53], 0
jne 0x66633288
jmp 0x66679fbe
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x20]
jmp 0x666335de
mov eax, dword [pe_dos_header]
ud2