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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x411eb4
sub esp, 0xc0
mov edx, dword [0x6e99c4]
test byte [edx], al
nop
mov ebx, dword [esp + 0xc4]
mov ebp, ebx
shr ebx, 0x16
mov edx, dword [edx + ebx*4]
test edx, edx
je 0x41149b
mov esi, ebp
shr ebp, 4
and ebp, 0x3ffff
add ebp, edx
mov edi, esi
shr esi, 2
and esi, 3
add edx, 0x3ffff
mov eax, ebx
jmp 0x4114a7
mov eax, ebx
mov edi, ebp
xor ebp, ebp
xor esi, esi
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x44], esi
mov ecx, esi
mov esi, dword [esp + 0xd0]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0xc8]
cmp esi, 8
je 0x411758
cmp esi, 0xc
je 0x411634
lea esi, [esi + edi - 1]
shr esi, 0x16
cmp ebx, esi
je 0x4114e6
mov ebp, edi
xor edx, edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0xd0]
movzx esi, byte [edi + 0xf]
xchg esi, eax
test al, 0x40
xchg esi, eax
jne 0x4115e0
mov dword [esp + 0xa8], ebp
mov edx, dword [edi]
mov esi, dword [esp + 0xcc]
cmp esi, edx
jbe 0x411596
mov dword [esp + 0x64], edx
mov ebx, dword [edi + 4]
shr ebx, 2
cmp ebx, 0x19
ja 0x41155a
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x70], ecx
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
jmp 0x411e0b
add ebx, 7
shr ebx, 3
lea ebp, [ebx - 1]
nop
shr edx, 2
shl ebp, 3
sub edx, ebp
mov ebp, dword [esp + 0x9c]
lea ebx, [ebp + ebx - 1]
mov ebp, dword [esp + 0x9c]
xor ebp, ebp
mov dword [esp + 0x38], ebp
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x9c]
jmp 0x411d93
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x88], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0xac], ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
jmp 0x411a3f
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x9c]
add ecx, 4
mov dword [esp + 0x20], ecx
call fcn.00411ec0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jmp 0x411817
mov eax, dword [esp + 0x9c]
movzx eax, byte [eax]
mov esi, dword [esp + 0xd0]
cmp dword [esi], 4
jne 0x41164f
mov eax, 7
and eax, 7
mov esi, eax
shl eax, 4
or eax, esi
mov esi, eax
or eax, 0x10
and eax, 0x40
shr al, 1
or esi, eax
mov eax, esi
or esi, 0x10
cmp ecx, 1
ja 0x41169c
test ecx, ecx
jne 0x411687
movzx ecx, byte [ebp]
and ecx, 0xffffff88
or ecx, eax
or ecx, 0x10
mov byte [ebp], cl
jmp 0x411751
movzx eax, byte [ebp]
and eax, 0x11
shl esi, 1
or esi, eax
xchg esi, eax
mov byte [ebp], al
xchg esi, eax
jmp 0x411751
xchg esi, eax
mov byte [esp + 0x29], al
xchg esi, eax
cmp ecx, 2
jne 0x4116fa
movzx eax, byte [ebp]
and eax, 0x33
mov ecx, esi
and esi, 0x33
shl esi, 2
or esi, eax
xchg esi, eax
mov byte [ebp], al
xchg esi, eax
cmp ebp, edx
je 0x4116c7
nop
lea eax, [ebp + 1]
jmp 0x4116e8
mov dword [esp], ebp
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00410690
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x29]
movzx edx, byte [eax]
and edx, 0xffffffee
shr cl, 2
and ecx, 0x11
or ecx, edx
mov byte [eax], cl
jmp 0x411751
cmp ecx, 3
jne 0x411751
movzx eax, byte [ebp]
and eax, 0x77
mov edi, esi
and esi, 0x11
shl esi, 3
or esi, eax
xchg esi, eax
mov byte [ebp], al
xchg esi, eax
cmp ebp, edx
je 0x41171f
nop
lea eax, [ebp + 1]
jmp 0x41173c
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00410690
mov eax, dword [esp + 0x10]
movzx edi, byte [esp + 0x29]
movzx ecx, byte [eax]
and ecx, 0xffffffcc
xchg edi, eax
shr al, 1
xchg edi, eax
and edi, 0x33
or edi, ecx
xchg edi, ebx
mov byte [eax], bl
xchg edi, ebx
add esp, 0xc0
ret
mov eax, dword [esp + 0xd0]
cmp dword [eax], 4
jne 0x4117b4
mov eax, dword [esp + 0xcc]
cmp eax, 4
jne 0x411796
cmp ecx, 0x20
sbb eax, eax
movzx edx, byte [ebp]
mov ebx, 0x33
shl ebx, cl
and ebx, eax
not ebx
and ebx, edx
mov edx, 0x11
shl edx, cl
and edx, eax
or edx, ebx
mov byte [ebp], dl
jmp 0x4117ad
cmp ecx, 0x20
sbb eax, eax
movzx edx, byte [ebp]
mov ebx, 0x33
shl ebx, cl
and eax, ebx
or edx, eax
mov byte [ebp], dl
add esp, 0xc0
ret
mov eax, dword [eax + 4]
shr eax, 2
cmp eax, 0x20
sbb edx, edx
cmp ecx, 0x20
sbb ebx, ebx
sbb esi, esi
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x9c]
movzx edi, byte [edi]
and edi, 3
mov ecx, eax
mov esi, 0x10
shl esi, cl
and esi, edx
lea eax, [esi - 1]
and eax, 0xf0
or edi, eax
movzx eax, byte [ebp]
mov ecx, dword [esp + 0x44]
mov edx, 0x33
shl edx, cl
and ebx, edx
not ebx
and ebx, eax
shl edi, cl
mov eax, dword [esp + 0x60]
and edi, eax
or edi, ebx
xchg edi, eax
mov byte [ebp], al
xchg edi, eax
add esp, 0xc0
ret
je 0x4118e2
mov eax, dword [0x6e99c4]
test byte [eax], al
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x411853
mov edx, dword [esp + 0xc4]
mov ebp, edx
shr edx, 4
and edx, 0x3ffff
add edx, eax
mov esi, ebp
shr ebp, 2
and ebp, 3
add eax, 0x3ffff
jmp 0x411862
mov esi, dword [esp + 0xc4]
xor edx, edx
xor eax, eax
xor ecx, ecx
xor ebp, ebp
mov ebx, dword [esp + 0xc8]
shr ebx, 2
mov edi, esi
cmp ebp, 2
jne 0x41199b
movzx ebp, byte [edx]
and ebp, 0x33
movzx edi, byte [esi]
or edi, ebp
xchg edi, eax
mov byte [edx], al
xchg edi, eax
cmp eax, edx
je 0x411890
nop
inc edx
xor ebp, ebp
jmp 0x4118d2
mov dword [esp + 0x50], ebx
mov dword [esp + 0xbc], esi
mov dword [esp], edx
mov dword [esp + 4], 3
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00410690
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0xbc]
mov ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0x50]
add ebx, 0xfffffffe
inc esi
mov edi, dword [esp + 0xc4]
jmp 0x41199b
add esp, 0xc0
ret
mov dword [esp + 0xa4], edx
mov dword [esp + 0x50], ebx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
shr ebx, 2
shl ebx, 2
mov dword [esp + 0x10], ebx
call fcn.004107e0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xb4], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 4], esi
shr eax, 2
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.004617b0
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
sub ebx, eax
nop
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x98]
lea esi, [ecx + eax]
mov edi, dword [esp + 0xc4]
mov edx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x98], esi
cmp ebx, 4
jae 0x4118e9
cmp ebx, 2
jne 0x411a2a
movzx ebx, byte [edx]
and ebx, 0xffffffcc
movzx edi, byte [esi]
or edi, ebx
xchg edi, eax
mov byte [edx], al
xchg edi, eax
nop
cmp ebp, 3
jae 0x4119ca
lea ebx, [ebp + 1]
jmp 0x4119fe
cmp edx, eax
je 0x4119d3
inc edx
xor ebx, ebx
jmp 0x4119fe
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00410690
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x98]
cmp ebx, 3
jb 0x411a22
cmp eax, edx
jne 0x411a22
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00410690
mov esi, dword [esp + 0x98]
inc esi
mov edi, dword [esp + 0xc4]
mov eax, edi
mov dword [esp], edi
sub esi, eax
mov dword [esp + 4], esi
call fcn.004615e0
jmp 0x4118e2
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x411a6a
movzx ebp, byte [ebx]
nop
inc ebx
cmp esi, edx
mov dword [esp + 0x80], eax
mov eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
jmp 0x411a70
cmp esi, edx
mov ebp, dword [esp + 0x34]
jne 0x411a7a
mov edx, dword [edi + 4]
shr edx, 2
jmp 0x411aa8
test edx, edx
je 0x411d8e
mov dword [esp + 0xb0], ebx
mov eax, esi
mov ebx, edx
xor edx, edx
div ebx
lea edx, [eax - 1]
imul edx, ebx
add edx, dword [edi + 4]
shr edx, 2
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb0]
test edx, edx
je 0x411d21
test ecx, ecx
jne 0x411af5
mov esi, ebp
and ebp, 0xf
or ebp, 0xf0
cmp edx, 4
ja 0x411ad7
mov ecx, eax
mov esi, 4
mov eax, dword [esp + 0xa8]
jmp 0x411c7a
mov edi, dword [esp + 0xa8]
xchg ebp, eax
mov byte [edi], al
xchg ebp, eax
nop
shr esi, 4
mov ebp, dword [esp + 0x38]
add ebp, 0xfffffffc
inc edi
mov ecx, 4
jmp 0x411b67
cmp ecx, 2
jne 0x411d0b
mov esi, ebp
and ebp, 3
shl ebp, 2
mov edi, ebp
or ebp, 0x40
cmp edx, 1
jbe 0x411b18
or edi, 0xc0
jmp 0x411b1a
mov edi, ebp
mov ebp, dword [esp + 0xa8]
mov ecx, eax
movzx eax, byte [ebp]
and eax, 0x33
or edi, eax
xchg edi, eax
mov byte [ebp], al
xchg edi, eax
nop
lea eax, [ebp + 1]
cmp edx, 2
ja 0x411b46
mov esi, 6
xor ebp, ebp
jmp 0x411c7a
shr esi, 2
mov ebp, edx
mov edx, dword [esp + 0x38]
add edx, 0xfffffffe
mov ecx, 2
mov edi, eax
mov eax, dword [esp + 0x6c]
mov eax, edx
mov edx, ebp
mov ebp, eax
mov eax, dword [esp + 0x6c]
add ebp, 0xfffffffc
jmp 0x411b86
mov byte [edi + 1], al
nop
mov eax, dword [esp + 0x54]
shr eax, 4
add edi, 2
mov ecx, dword [esp + 0x34]
mov ecx, esi
mov esi, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x54], esi
and esi, 0xf
or esi, 0xf0
lea eax, [ecx + 4]
cmp edx, eax
jbe 0x411c6c
mov dword [esp + 0x30], ecx
xchg esi, eax
mov byte [edi], al
xchg esi, eax
nop
mov eax, dword [esp + 0x54]
shr eax, 4
mov esi, dword [esp + 0xac]
cmp ebx, esi
je 0x411bda
cmp ebp, 8
jae 0x411bd5
movzx esi, byte [ebx]
mov ecx, ebp
shl esi, cl
or eax, esi
inc ebx
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0xac]
jmp 0x411c52
add ebp, 0xfffffff8
jmp 0x411c52
test ebx, ebx
je 0x411c2e
cmp ebp, 0x20
sbb esi, esi
movzx ebx, byte [ebx]
mov ecx, ebp
shl ebx, cl
and esi, ebx
or eax, esi
mov ebx, dword [esp + 0x4c]
lea esi, [ecx + ebx]
cmp esi, 8
jae 0x411c10
mov ebp, dword [esp + 0x9c]
movzx ebx, byte [ebp]
mov ecx, esi
shl ebx, cl
or eax, ebx
lea ebx, [ebp + 1]
jmp 0x411c1f
lea esi, [ecx + ebx - 8]
mov ebp, dword [esp + 0x9c]
mov ebx, ebp
mov ecx, esi
mov esi, dword [esp + 0xac]
mov ebp, ecx
mov ecx, dword [esp + 0x30]
jmp 0x411c52
cmp ebp, 8
jae 0x411c4f
mov ecx, ebp
mov esi, dword [esp + 0x34]
shl esi, cl
or eax, esi
mov esi, dword [esp + 0x4c]
lea ebp, [ecx + esi]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0xac]
add ebp, 0xfffffff8
mov dword [esp + 0x54], eax
and eax, 0xf
or eax, 0xf0
lea esi, [ecx + 8]
cmp edx, esi
ja 0x411b6c
inc edi
jmp 0x411c72
mov ecx, esi
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x6c]
mov ebp, eax
mov eax, edi
cmp esi, edx
jbe 0x411ca9
mov ebx, esi
sub esi, edx
lea edx, [esi - 4]
neg edx
cmp edx, 0x20
sbb esi, esi
mov ecx, edx
mov edi, 1
shl edi, cl
and edi, esi
lea edx, [edi - 1]
mov esi, edx
shl edx, 4
or edx, esi
and ebp, edx
mov ecx, dword [esp + 0x6c]
mov esi, ebx
mov edx, dword [esp + 0xc8]
mov ebx, edx
shr edx, 2
cmp esi, edx
ja 0x411cc6
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
nop
lea ebp, [esi + 4]
inc eax
jmp 0x411d01
add edx, 2
cmp esi, edx
jne 0x411cea
movzx edx, byte [eax]
and edx, 0xffffffcc
or ebp, edx
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
cmp eax, edx
jmp 0x411817
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
cmp eax, edx
jmp 0x411817
mov byte [eax], 0
add ebp, 4
nop
inc eax
cmp ebp, edx
jbe 0x411cf9
mov esi, ebp
xor ebp, ebp
jmp 0x411cc6
lea eax, [0x5be806]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00436390
mov dword [esp], edi
call fcn.00459900
mov eax, dword [esp + 4]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
call fcn.00437df0
lea eax, [0x5badd6]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004386d0
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.004386d0
call fcn.00438010
call fcn.00437e60
lea eax, [0x5c180b]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.00436390
call fcn.004349b0
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xa8]
jmp 0x411a3f
cmp ebp, 0x20
sbb eax, eax
lea ecx, [ebp + 8]
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0xa0]
movzx esi, byte [edi]
mov ecx, ebp
shl esi, cl
and esi, eax
mov eax, dword [esp + 0x54]
or eax, esi
nop
lea esi, [edi + 1]
mov ecx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa8]
mov edi, dword [esp + 0xd0]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0xcc]
mov ebp, dword [esp + 0x40]
cmp ebp, ebx
jb 0x411db9
mov ebx, edx
shr edx, 2
lea ebp, [edx + edx]
cmp ebp, 0x19
ja 0x411e2a
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0x54]
jmp 0x411e5c
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], edx
xor ebx, ebx
mov dword [esp + 0x34], ebp
xor ebp, ebp
jmp 0x411d93
mov dword [esp + 0x34], ebp
sbb eax, eax
mov ecx, edx
shl ebp, cl
and ebp, eax
mov eax, dword [esp + 0x34]
or ebp, eax
lea edx, [ecx + ecx]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
cmp edx, 0x20
jbe 0x411e3f
mov edx, dword [esp + 0x38]
test dl, dl
je 0x411eae
movzx edx, dl
mov word [esp + 0x2a], dx
mov edx, 0x19
movzx edx, dl
mov eax, edx
movzx ecx, word [esp + 0x2a]
xor edx, edx
div cx
movzx ecx, al
mov edx, dword [esp + 0x38]
imul ecx, edx
cmp ecx, 0x20
sbb edx, edx
mov eax, edx
mov edx, 1
shl edx, cl
and edx, eax
dec edx
and ebp, edx
mov eax, dword [esp + 0x6c]
mov edx, ecx
mov ecx, dword [esp + 0x44]
jmp 0x411e2e
call fcn.004349b0
nop
call fcn.0045fa50
jmp fcn.00411440