Function at 0x410630
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 0x4110a4
sub esp, 0xc0
mov edx, dword [0x592f84]
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 0x41068b
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 0x410697
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 0x410948
cmp esi, 0xc
je 0x410824
lea esi, [esi + edi - 1]
shr esi, 0x16
cmp ebx, esi
je 0x4106d6
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 0x4107d0
mov dword [esp + 0xa8], ebp
mov edx, dword [edi]
mov esi, dword [esp + 0xcc]
cmp esi, edx
jbe 0x410786
mov dword [esp + 0x64], edx
mov ebx, dword [edi + 4]
shr ebx, 2
cmp ebx, 0x19
ja 0x41074a
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 0x410ffb
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 0x410f83
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 0x410c2f
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.004110b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jmp 0x410a07
mov eax, dword [esp + 0x9c]
movzx eax, byte [eax]
mov esi, dword [esp + 0xd0]
cmp dword [esi], 4
jne 0x41083f
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 0x41088c
test ecx, ecx
jne 0x410877
movzx ecx, byte [ebp]
and ecx, 0xffffff88
or ecx, eax
or ecx, 0x10
mov byte [ebp], cl
jmp 0x410941
movzx eax, byte [ebp]
and eax, 0x11
shl esi, 1
or esi, eax
xchg esi, eax
mov byte [ebp], al
xchg esi, eax
jmp 0x410941
xchg esi, eax
mov byte [esp + 0x29], al
xchg esi, eax
cmp ecx, 2
jne 0x4108ea
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 0x4108b7
nop
lea eax, [ebp + 1]
jmp 0x4108d8
mov dword [esp], ebp
mov dword [esp + 4], 3
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040f880
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 0x410941
cmp ecx, 3
jne 0x410941
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 0x41090f
nop
lea eax, [ebp + 1]
jmp 0x41092c
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0040f880
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 0x4109a4
mov eax, dword [esp + 0xcc]
cmp eax, 4
jne 0x410986
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 0x41099d
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 0x410ad2
mov eax, dword [0x592f84]
test byte [eax], al
mov ecx, dword [esp + 0x6c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x410a43
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 0x410a52
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 0x410b8b
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 0x410a80
nop
inc edx
xor ebp, ebp
jmp 0x410ac2
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.0040f880
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 0x410b8b
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.0040f9d0
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.0045e3f0
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 0x410ad9
cmp ebx, 2
jne 0x410c1a
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 0x410bba
lea ebx, [ebp + 1]
jmp 0x410bee
cmp edx, eax
je 0x410bc3
inc edx
xor ebx, ebx
jmp 0x410bee
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040f880
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 0x410c12
cmp eax, edx
jne 0x410c12
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040f880
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.0045e220
jmp 0x410ad2
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x410c5a
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 0x410c60
cmp esi, edx
mov ebp, dword [esp + 0x34]
jne 0x410c6a
mov edx, dword [edi + 4]
shr edx, 2
jmp 0x410c98
test edx, edx
je 0x410f7e
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 0x410f11
test ecx, ecx
jne 0x410ce5
mov esi, ebp
and ebp, 0xf
or ebp, 0xf0
cmp edx, 4
ja 0x410cc7
mov ecx, eax
mov esi, 4
mov eax, dword [esp + 0xa8]
jmp 0x410e6a
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 0x410d57
cmp ecx, 2
jne 0x410efb
mov esi, ebp
and ebp, 3
shl ebp, 2
mov edi, ebp
or ebp, 0x40
cmp edx, 1
jbe 0x410d08
or edi, 0xc0
jmp 0x410d0a
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 0x410d36
mov esi, 6
xor ebp, ebp
jmp 0x410e6a
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 0x410d76
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 0x410e5c
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 0x410dca
cmp ebp, 8
jae 0x410dc5
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 0x410e42
add ebp, 0xfffffff8
jmp 0x410e42
test ebx, ebx
je 0x410e1e
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 0x410e00
mov ebp, dword [esp + 0x9c]
movzx ebx, byte [ebp]
mov ecx, esi
shl ebx, cl
or eax, ebx
lea ebx, [ebp + 1]
jmp 0x410e0f
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 0x410e42
cmp ebp, 8
jae 0x410e3f
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 0x410d5c
inc edi
jmp 0x410e62
mov ecx, esi
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x6c]
mov ebp, eax
mov eax, edi
cmp esi, edx
jbe 0x410e99
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 0x410eb6
xchg ebp, ebx
mov byte [eax], bl
xchg ebp, ebx
nop
lea ebp, [esi + 4]
inc eax
jmp 0x410ef1
add edx, 2
cmp esi, edx
jne 0x410eda
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 0x410a07
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
cmp eax, edx
jmp 0x410a07
mov byte [eax], 0
add ebp, 4
nop
inc eax
cmp ebp, edx
jbe 0x410ee9
mov esi, ebp
xor ebp, ebp
jmp 0x410eb6
lea eax, [0x4dca75]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.004353e0
mov dword [esp], edi
call fcn.00456d60
mov eax, dword [esp + 4]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
call fcn.00436b00
lea eax, [0x4d9ab7]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004373e0
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.004373e0
call fcn.00436d20
call fcn.00436b70
lea eax, [0x4de942]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.004353e0
call fcn.00433ae0
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 0x410c2f
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 0x410fa9
mov ebx, edx
shr edx, 2
lea ebp, [edx + edx]
cmp ebp, 0x19
ja 0x41101a
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0x54]
jmp 0x41104c
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], edx
xor ebx, ebx
mov dword [esp + 0x34], ebp
xor ebp, ebp
jmp 0x410f83
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 0x41102f
mov edx, dword [esp + 0x38]
test dl, dl
je 0x41109e
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 0x41101e
call fcn.00433ae0
nop
call fcn.0045c720
jmp fcn.00410630