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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x4668f7
sub esp, 0xe0
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 4]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [edx]
test edi, edi
mov eax, edx
sete dl
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x466841
mov edx, dword [esp + 0xec]
test edx, edx
je 0x4668de
cmp ebx, 1
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edi, edi
mov ecx, edx
setae dl
cmp ebx, 1
mov esi, ebx
seta bl
nop
nop
and edx, ebp
or ebx, edx
test bl, bl
je 0x466834
mov edx, esi
xor ebx, ebx
mov ebp, 0x20
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x50], ebp
cmp esi, 0x10000
setae dl
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, edi
or edx, ebp
test dl, dl
je 0x466827
shr esi, 0x10
mov edx, ebx
shl ebx, 0x10
or ebx, esi
shr edx, 0x10
mov ebp, dword [esp + 0x50]
add ebp, 0x10
mov dword [esp + 0x2c], edx
test edx, edx
xchg edi, ebx
seta bl
xchg edi, ebx
cmp ebx, 0x100
mov esi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
test edx, edx
sete dl
and ebp, edx
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x46681a
shr ebx, 8
mov edx, dword [esp + 0x2c]
mov ebp, edx
shl edx, 0x18
or edx, ebx
shr ebp, 8
lea ebx, [esi + 8]
test ebp, ebp
jne 0x4668d0
cmp edx, 0x100
jae 0x4668c4
mov dword [esp + 0x50], ebx
lea ebp, [0x7e6380]
movzx edx, byte [ebp + edx]
mov dword [esp + 0x88], edx
lea ecx, [edx + ebx - 0x40]
neg ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x90]
mov edi, esi
shl esi, cl
and esi, ebp
mov dword [eax], esi
lea esi, [ecx - 0x20]
mov dword [esp + 0x84], esi
cmp esi, 0x20
sbb edx, edx
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb ebx, ebx
mov ecx, dword [esp + 0x84]
shl edi, cl
and edi, edx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x8c]
shl edx, cl
mov ecx, esi
mov eax, dword [esp + 0x90]
shr eax, cl
and eax, ebx
and edx, ebp
or edx, eax
or edx, edi
mov eax, dword [esp + 0xe4]
mov dword [eax + 4], edx
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x88]
add ebx, ebp
lea edx, [edx + ebx - 0x40]
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.00465ed0
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 8]
neg edx
mov dword [esp + 0x88], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x90], ebx
lea ecx, [edx - 0x20]
mov dword [esp + 0x8c], ecx
cmp ecx, 0x20
sbb ebp, ebp
mov dword [esp + 0x84], ebp
mov esi, ecx
neg ecx
mov dword [esp + 0x80], ecx
cmp ecx, 0x20
sbb edi, edi
mov dword [esp + 0x7c], edi
mov ebx, dword [eax + 4]
mov dword [esp + 0x78], ebx
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov ecx, esi
shr ebx, cl
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
shl esi, cl
mov ecx, edx
shr eax, cl
and ebx, ebp
and esi, edi
mov edi, dword [esp + 0x90]
and eax, edi
or eax, esi
or eax, ebx
mov dword [esp + 0x70], eax
mov ebx, eax
shl eax, cl
and eax, edi
mov esi, dword [esp + 0x74]
sub esi, eax
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x8c]
shl ebx, cl
and ebx, ebp
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x70]
shr edi, cl
mov edx, dword [esp + 0x7c]
and edi, edx
or edi, ebx
mov ebx, dword [esp + 0x74]
sub ebx, eax
mov eax, dword [esp + 0x78]
sbb eax, edi
mov ebx, dword [esp + 4]
mov dword [esp + 0x60], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb4]
jmp 0x466371
mov ebx, eax
mov eax, 0xa
mul edx
mov ebp, dword [esp + 0x54]
inc ebp
mov esi, dword [esp + 0x44]
lea esi, [esi + esi*4]
lea edx, [edx + esi*2]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
mov eax, ebx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x84]
mov ebp, dword [esp + 0x54]
cmp ebp, 0x14
jge 0x466813
mov edx, dword [esp + 0x40]
cmp edx, edi
xchg esi, ebx
seta bl
xchg esi, ebx
mov ebx, dword [esp + 0x44]
test ebx, ebx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
and esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x466338
mov edx, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0xec]
cmp ebx, edx
jge 0x466801
mov ebp, edx
sub edx, ebx
cmp edx, 0x14
jae 0x4668b8
lea esi, [0x7e5360]
lea edx, [esi + edx*8]
mov esi, dword [edx]
mov edx, dword [edx + 4]
test esi, esi
je 0x4668b3
mov dword [esp + 0x3c], edx
mov eax, edi
xor edx, edx
div esi
mov edx, eax
imul eax, esi
sub edi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edi
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.0045af88
mov eax, 0x20
jmp 0x466423
add edi, 0x30
xchg edi, eax
mov byte [esp + ecx + 0xbb], al
xchg edi, eax
mov ecx, esi
mov esi, eax
mov eax, ecx
test edx, edx
jbe 0x46644b
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul edx
shr edx, 3
mov eax, esi
lea esi, [edx + edx*4]
shl esi, 1
sub edi, esi
lea esi, [ecx - 1]
cmp esi, 0x20
jb 0x466411
jmp 0x4668a7
mov dword [esp + 0x38], esi
mov dword [esp + 0x68], ebp
mov edx, dword [esp + 0xe8]
mov ecx, eax
jmp 0x466477
xchg ebp, ecx
mov byte [ebx + eax], cl
xchg ebp, ecx
lea eax, [edi + 1]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
cmp eax, 0x20
jge 0x46649f
mov edi, eax
sub eax, ecx
cmp edi, 0x20
jae 0x46689b
mov esi, dword [edx + 4]
mov ebx, dword [edx]
movzx ebp, byte [esp + edi + 0xbc]
cmp eax, esi
jb 0x46645e
jmp 0x466894
lea edi, [ecx - 0x20]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [edx + 0xc], edi
mov eax, edi
mov edi, dword [esp + 0x60]
add ebp, edi
mov dword [edx + 0x10], ebp
lea ebx, [ecx + ebx - 0x20]
test ebx, ebx
jle 0x4667d3
mov ebp, dword [esp + 0x34]
test ebp, ebp
jne 0x46687c
mov edi, dword [esp + 0x3c]
test edi, edi
mov ecx, edi
xchg edi, ebx
setne bl
xchg edi, ebx
cmp esi, 1
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x46687c
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xa4], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov ecx, 1
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
jmp 0x4665dd
mov edi, ebp
shl ebp, cl
and ebp, esi
mov eax, dword [esp + 0x58]
sub eax, ebp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xdc]
mov byte [eax + edx], bl
mov eax, ecx
mov ecx, dword [esp + 0x80]
mov ebx, edi
shr edi, cl
mov ecx, eax
mov edx, dword [esp + 0x64]
shl edx, cl
mov ecx, dword [esp + 0x8c]
shl ebx, cl
and edx, esi
mov esi, dword [esp + 0x7c]
and edi, esi
or edx, edi
mov edi, dword [esp + 0x84]
and ebx, edi
or edx, ebx
mov ebx, dword [esp + 0x58]
sub ebx, ebp
mov ebx, dword [esp + 0x78]
sbb ebx, edx
mov edx, dword [esp + 0x4c]
inc edx
mov ebp, dword [esp + 0x48]
dec ebp
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xe8]
mov ebx, ebp
mov ebp, dword [esp + 0x34]
test ebx, ebx
jle 0x466709
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ebp, 0xa
mul ebp
mov dword [esp + 0x78], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mul ebp
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x28]
lea ebp, [ebp + ebp*4]
lea edx, [edx + ebp*2]
mov dword [esp + 0x74], edx
shl edx, 1
shr eax, 0x1f
or eax, edx
mov ecx, dword [esp + 0x8c]
mov edx, 1
shl edx, cl
mov ecx, esi
mov ebp, 1
shr ebp, cl
mov ebx, dword [esp + 0x7c]
and ebp, ebx
and edx, edi
or edx, ebp
cmp edx, eax
setb dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov eax, edi
mov edi, dword [esp + 0x24]
shl edi, 1
mov ecx, dword [esp + 0x88]
mov ebx, 1
shl ebx, cl
mov esi, dword [esp + 0x90]
and ebx, esi
cmp ebx, edi
setb bl
mov edi, dword [esp + 0x5c]
lea edi, [edi + edi*4]
mov esi, dword [esp + 0x78]
lea esi, [esi + edi*2]
and ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4666fa
mov dword [esp + 0x78], esi
mov edx, ecx
mov ecx, dword [esp + 0x80]
mov ebx, esi
shl esi, cl
mov ecx, dword [esp + 0x8c]
mov edi, ebx
shr ebx, cl
mov ecx, edx
mov ebp, dword [esp + 0x58]
shr ebp, cl
mov edx, dword [esp + 0x90]
and ebp, edx
mov edx, dword [esp + 0x7c]
and esi, edx
or esi, ebp
and ebx, eax
or ebx, esi
mov ebp, ebx
add ebx, 0x30
shr edi, cl
mov esi, dword [esp + 0x90]
and edi, esi
mov dword [esp + 0x64], edi
mov edx, dword [esp + 0xe8]
mov edi, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x4c]
cmp edx, edi
jb 0x466539
jmp 0x466873
mov byte [esp + 0xf0], 0
add esp, 0xe0
ret
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp], edx
mov ecx, dword [esp + 0x88]
shl ebp, cl
mov edx, dword [esp + 0x90]
and ebp, edx
mov edx, dword [esp + 0x58]
or edx, ebp
mov dword [esp + 4], edx
mov edx, ecx
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x34]
shl ebp, cl
and ebp, edi
mov ecx, esi
mov edi, dword [esp + 0x34]
shr edi, cl
mov esi, dword [esp + 0x7c]
and edi, esi
or edi, ebp
mov ebp, dword [esp + 0x5c]
or ebp, edi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
call fcn.00466910
movzx eax, byte [esp + 0x20]
test al, al
je 0x4667c4
mov edx, dword [esp + 0xe8]
mov ebx, dword [edx + 0xc]
dec ebx
jmp 0x466796
dec ebx
test ebx, ebx
jl 0x4667b5
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
cmp ebx, ecx
jae 0x46686c
add ebp, ebx
cmp byte [ebp], 0x30
je 0x466795
lea eax, [ebx + 1]
mov dword [edx + 0xc], eax
mov byte [esp + 0xf0], 1
add esp, 0xe0
ret
mov byte [esp + 0xf0], 0
add esp, 0xe0
ret
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
xor eax, eax
mov ebx, 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x466714
mov ebp, edx
mov edx, edi
xor edi, edi
xor eax, eax
mov esi, 1
jmp 0x4663f4
xor edx, edx
jmp 0x4663a9
mov edx, ebx
mov ebp, dword [esp + 0x2c]
mov ebx, esi
jmp 0x466195
mov edx, ebx
mov ebx, esi
mov ebp, dword [esp + 0x50]
jmp 0x466152
mov edx, esi
mov ebx, edx
mov esi, edi
xor ebp, ebp
jmp 0x466107
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
movzx eax, byte [eax + 0xc]
mov byte [ecx + 0x14], al
mov byte [esp + 0xf0], 1
add esp, 0xe0
ret
mov eax, ebx
call fcn.0045ad60
mov eax, edx
mov ecx, edi
call fcn.0045ad60
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c5580]
mov dword [esp + 4], eax
call fcn.00430630
mov ecx, esi
call fcn.0045ad60
mov eax, edi
mov ecx, 0x20
call fcn.0045ad60
mov eax, esi
mov ecx, 0x20
call fcn.0045ad60
call fcn.0042f460
mov eax, edx
mov ecx, 0x14
call fcn.0045ad60
mov eax, edx
mov ecx, 0x100
call fcn.0045ad70
mov esi, ebp
mov eax, edx
mov ecx, 0x100
call fcn.0045ae50
lea eax, [0x633ac0]
mov dword [esp], eax
lea eax, [0x6c5578]
mov dword [esp + 4], eax
call fcn.00430630
nop
call fcn.00459790
jmp fcn.00466080