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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x46692b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46692b
dec edx
inc edx
jb 0x4666c3
js 0x4666d8
pushf
test dword [esp + 4], edi
or edx, edx
shr esp, 0
popf
nop
jae 0x4666d5
jns 0x4666d8
add eax, 0x7424343b
add byte [ebp + 0x7e177b00], cl
add byte [edx], dh
cmp esi, dword [esp]
je 0x4666dd
lea eax, [eax]
jnp 0x4666f8
jle 0x4666e3
jb 0x4666e5
lea edi, [edi + 0x4af2]
lea edi, [edi - 0x4af2]
ja 0x4666f3
jp 0x4666f8
mov esi, 0x738b59cd
cmp al, 3
dec ecx
mov esi, dword [ebx + 0x3c]
add esi, ebx
dec ecx
inc ecx
test edi, esi
jge 0x46670a
jnp 0x466705
xchg ecx, ecx
jl 0x46670a
xor eax, 0x857c468b
ror byte [ecx - 0x7bf013bb], 0x13
add al, byte [eax]
add byte [ebx - 0x3f7a87ba], cl
mov eax, dword [esi + 0x7c]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x46692b
mov eax, dword [esi + 0x78]
test eax, eax
je 0x46692b
shr edx, 0
jae 0x46673a
pushf
ror eax, 0x18
ror eax, 8
nop
dec edi
inc edi
popf
jp 0x466737
jb 0x46673a
mov edi, 0x378768b
mov dword [ebp - 0x10], esi
mov esi, dword [esi + 0x78]
add esi, ebx
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x46692b
mov eax, dword [esi + 0x24]
test eax, eax
je 0x46692b
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x46692b
shr edx, 0
je 0x466771
jnp 0x46676a
jno 0x46676c
jb 0x46676e
jne 0x466771
lcall 0x2046, 0x8b244e8b
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
add ecx, ebx
add eax, ebx
mov dword [ebp - 0xc], ecx
test edx, eax
jbe 0x46678d
pushf
mov edi, edi
popf
jno 0x46678a
ja 0x46678d
mov edx, 0x8b1c4e8b
jle 0x4667ab
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
add ecx, ebx
test edi, edi
mov dword [ebp - 8], ecx
je 0x46692b
xor esp, 0
lea ebx, [ebx + 0x461f]
lea ebx, [ebx - 0x461f]
js 0x4667b9
loope 0x466766
invalid
jns 0x4667b3
js 0x4667b5
jns 0x4667b9
mov eax, 0x85db336d
push dword [esi + 0x47]
xor ebx, ebx
test edi, edi
jbe 0x466806
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
add ecx, eax
push ecx
push edx
call fcn.0047b620
add esp, 8
test eax, eax
je 0x4667f3
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 4
cmp ebx, edi
mov dword [ebp - 4], ecx
jb 0x4667c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
jmp 0x466809
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov ax, word [ecx + ebx*2]
mov ecx, dword [esi + 0x10]
add eax, ecx
mov ecx, dword [ebp - 8]
jmp 0x466809
mov eax, dword [ebp + 8]
cmp ebx, edi
je 0x46692b
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
sub eax, edi
cmp edx, eax
jbe 0x46692b
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x46682b
add edi, dword [ebp + 8]
mov esi, esi
nop
mov esp, esp
jbe 0x46684a
pushf
jl 0x466836
shr ecx, 0
jo 0x46683b
xor esp, 0
popf
mov edx, edx
lea esp, [esp]
je 0x466847
ja 0x46684a
or dword [ebx - 0x7c40fbb], 0xae820f
add byte [eax], al
mov eax, dword [ebp - 0x10]
cmp edi, eax
jb 0x466903
mov edx, dword [ebp - 0x14]
add eax, edx
cmp edi, eax
jae 0x466903
push 0x64
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.0046a0b0
push edi
call fcn.00460da0
mov ecx, dword [0x45833c]
add esp, 0x10
lea edi, [eax + edi + 1]
ror esp, 0
mov eax, eax
xor edx, edi
xor edx, edi
rol esi, 0x18
ror esi, 0x18
jns 0x4668a5
pushf
mov ebx, ebx
rol edx, 6
ror edx, 6
jno 0x46689e
popf
jnp 0x4668a2
js 0x4668a5
mov esp, 0x5288558d
lea edx, [ebp - 0x78]
push edx
call ecx
test eax, eax
jne 0x4668d6
mov ecx, dword [0x458338]
mov esp, esp
jne 0x4668cc
pushf
jmp 0x4668bd
test dword [esp], esi
popf
lea esp, [esp]
mov eax, eax
jne 0x4668c9
je 0x4668cc
mov ebx, 0x5088458d
lea eax, [ebp - 0x78]
push eax
call ecx
test eax, eax
je 0x46692b
ror esp, 0
jp 0x4668f7
pushf
je 0x4668df
add ecx, dword [esp]
sub ecx, dword [esp]
cmp esp, 0x349a
and esp, 0xffffffff
popf
jns 0x4668f2
xchg esp, esp
jnp 0x4668f7
jmp 0xa32eb952
push edi
push eax
call fcn.004666a0
add esp, 8
mov edi, eax
xor esi, dword [esp + 0x10]
xor esi, dword [esp + 0x10]
ja 0x466922
lea esi, [esi + 0x2bfa]
lea esi, [esi - 0x2bfa]
jae 0x46691b
mov ebx, ebx
mov edx, edx
jbe 0x466922
mov ecx, 0x5e5fc78b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret