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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x4163d8
sub esp, 0x8c
xor eax, eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
xor ebp, ebp
jmp 0x415ae3
mov ebx, esi
mov edi, eax
mov eax, ecx
mov ecx, edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x88], ecx
jmp 0x415d51
mov dword [esp + 0x78], ebx
movzx eax, byte [ecx]
mov dword [esp + 0x74], eax
mov dword [esp], ecx
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
mov edx, ecx
and ecx, 0x7f
test edx, 0x80
jne 0x415b51
test ecx, ecx
jne 0x415b3b
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x415dca
mov ecx, dword [esp + 0x28]
xor edx, edx
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x48]
jmp 0x415adb
shr ecx, 3
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x48]
jmp 0x41625a
test ecx, ecx
jne 0x415b5c
xor edx, edx
jmp 0x4161f8
mov dword [esp + 0x2c], ecx
xor edx, edx
xor ebx, ebx
jmp 0x415e37
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x2c]
imul eax, ecx
mov dword [esp + 0x44], eax
cmp ecx, 0x19
ja 0x415bc6
mov ebx, dword [esp + 0x9c]
cmp ebx, 1
jne 0x415ba9
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004133d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
jmp 0x4161e2
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004133d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
jmp 0x415fdd
mov ebx, dword [esp + 0x28]
sub ecx, ebx
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x9c]
cmp ebp, 1
jne 0x415c6c
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea edx, [ecx + 7]
shr edx, 3
mov dword [esp + 4], edx
call fcn.004133b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
and ecx, 7
test ecx, ecx
jne 0x415c15
mov ebx, dword [esp + 0x44]
mov edx, eax
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
jmp 0x415c56
mov dword [esp + 0x40], ecx
movzx ecx, byte [eax]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 0x40]
lea ecx, [eax - 8]
neg ecx
cmp ecx, 0x20
sbb ebp, ebp
mov edx, dword [esp + 0x74]
shr edx, cl
and ebp, edx
mov ecx, dword [esp + 0x28]
shl ebp, cl
mov edx, dword [esp + 0x48]
or ebp, edx
mov edx, dword [esp + 4]
add ecx, eax
mov ebx, dword [esp + 0x44]
sub ebx, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ecx
mov eax, ebx
shr ebx, 3
mov esi, dword [esp + 0x78]
jmp 0x415f69
mov eax, dword [esp + 0x78]
mov dword [esp], eax
lea edx, [ecx + 3]
shr edx, 2
mov dword [esp + 4], edx
call fcn.004133b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
and ecx, 3
test ecx, ecx
jne 0x415ca1
mov ebx, dword [esp + 0x44]
mov edx, eax
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x48]
jmp 0x415ce5
mov dword [esp + 0x3c], ecx
movzx ecx, byte [eax]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 4]
neg ecx
cmp ecx, 0x20
sbb ebp, ebp
mov edx, dword [esp + 0x74]
and edx, 0xf
shr edx, cl
and ebp, edx
mov ecx, dword [esp + 0x28]
shl ebp, cl
mov edx, dword [esp + 0x48]
or ebp, edx
mov edx, dword [esp + 4]
add ecx, eax
mov ebx, dword [esp + 0x44]
sub ebx, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ecx
mov eax, ebx
shr ebx, 2
mov esi, dword [esp + 0x78]
jmp 0x415ef0
and eax, 3
test eax, eax
jbe 0x415d29
cmp ecx, 0x20
sbb ebx, ebx
movzx edx, byte [edx]
mov edi, ecx
mov ecx, eax
mov esi, 1
shl esi, cl
dec esi
and esi, edx
mov ecx, edi
shl esi, cl
and esi, ebx
or ebp, esi
add ecx, eax
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
jmp 0x415adb
mov esi, dword [esp + 0x28]
add esi, 0xfffffff8
mov edx, dword [esp + 0x7c]
mov ebx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x88]
mov eax, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ebp
cmp eax, 8
jb 0x415af3
mov esi, dword [esp + 0x9c]
cmp esi, 1
jne 0x415d87
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov dword [esp], ebx
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
shr ecx, 8
jmp 0x415d39
and ebp, 0xf
or ebp, 0xf0
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov dword [esp], ebx
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
shr ecx, 4
and ecx, 0xf
or ecx, 0xf0
mov byte [eax], cl
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
shr ecx, 8
jmp 0x415d39
mov eax, dword [esp + 0x9c]
cmp eax, 1
jne 0x415e02
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov ecx, dword [esp + 0x98]
sub ebx, ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ebx*8]
mov dword [esp + 0xc], edx
mov esi, ecx
neg ecx
and ecx, 7
add ecx, esi
mov ebx, dword [esp + 0x48]
jmp 0x4163d2
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov ecx, dword [esp + 0x98]
sub ebx, ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ebx*4]
mov dword [esp + 0xc], edx
mov esi, ecx
neg ecx
and ecx, 3
add ecx, esi
mov ebx, dword [esp + 0x48]
jmp 0x416398
lea ebx, [ecx + 7]
mov ecx, eax
mov eax, edx
mov edx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], edx
movzx ecx, byte [eax]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x74]
mov ebp, ebx
and ebx, 0x7f
shl ebx, cl
and ebx, eax
mov eax, dword [esp + 0x44]
or eax, ebx
test ebp, 0x80
jne 0x415e2e
jmp 0x415b69
mov dword [esp + 0x30], ebx
mov dword [esp + 0x70], ebp
movzx eax, byte [edx]
mov dword [esp + 0x74], eax
mov dword [esp], edx
call fcn.004133c0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x74]
and edx, 0xf
shl edx, cl
and edx, eax
mov eax, dword [esp + 0x70]
or eax, edx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 4]
mov dword [esp + 0x78], edx
and eax, 0xf
or eax, 0xf0
mov ebp, dword [esp + 0x88]
mov byte [ebp], al
mov dword [esp], ebp
call fcn.004133c0
mov eax, dword [esp + 0x30]
lea ebx, [eax - 1]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x48]
shr ebp, 4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x88], esi
test ebx, ebx
ja 0x415e7b
jmp 0x415cfb
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], ebp
movzx eax, byte [edx]
mov dword [esp + 0x74], eax
mov dword [esp], edx
call fcn.004133c0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x74]
shl edx, cl
and edx, eax
mov eax, dword [esp + 0x6c]
or eax, edx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 4]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x88]
mov byte [ebx], al
mov dword [esp], ebx
call fcn.004133c0
mov eax, dword [esp + 0x34]
lea ebx, [eax - 1]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x48]
shr ebp, 8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x88], esi
test ebx, ebx
ja 0x415f00
and eax, 7
test eax, eax
jbe 0x415d29
cmp ecx, 0x20
sbb ebx, ebx
movzx edx, byte [edx]
mov edi, ecx
mov ecx, eax
mov esi, 1
shl esi, cl
dec esi
and esi, edx
mov ecx, edi
shl esi, cl
and esi, ebx
or ebp, esi
add ecx, eax
mov esi, dword [esp + 0x88]
jmp 0x415d29
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
movzx ecx, byte [eax]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.004133d0
mov edx, dword [esp + 0x10]
shl edx, 4
mov eax, dword [esp + 0x74]
and eax, 0xf
or edx, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
add ecx, 4
mov ebx, dword [esp + 0x2c]
cmp ecx, ebx
jb 0x415fab
cmp ecx, ebx
jbe 0x415ff6
sub ecx, ebx
cmp ecx, 0x20
sbb ebp, ebp
shr edx, cl
and edx, ebp
jmp 0x415ff8
mov ebx, ecx
cmp ebx, 1
jne 0x416014
cmp edx, 1
jne 0x41600e
mov eax, 0x19
mov edx, 0x1ffffff
jmp 0x416025
mov eax, dword [esp + 0x44]
jmp 0x416025
lea ebp, [ebx + ebx]
cmp ebp, 0x19
ja 0x416023
mov eax, ebx
jmp 0x416175
mov eax, ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], eax
mov esi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
jmp 0x416060
mov ebx, dword [esp + 0x44]
sub ebx, eax
mov edi, dword [esp + 0x74]
mov edi, edx
mov edx, dword [esp + 0x74]
mov edx, ecx
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], ebx
cmp eax, ecx
ja 0x41609c
mov dword [esp + 0x44], ecx
cmp edi, 0x20
sbb ebx, ebx
mov ecx, edi
shl edx, cl
and edx, ebx
or ebp, edx
lea edx, [eax + ecx]
cmp esi, 1
jne 0x416090
mov ecx, dword [esp + 0x88]
jmp 0x41615c
mov ecx, dword [esp + 0x88]
jmp 0x416121
test ecx, ecx
jbe 0x4160d3
cmp ecx, 0x20
sbb eax, eax
cmp edi, 0x20
sbb esi, esi
mov ebx, 1
shl ebx, cl
and ebx, eax
lea eax, [ebx - 1]
and edx, eax
mov eax, ecx
mov ecx, edi
shl edx, cl
and edx, esi
or ebp, edx
lea edi, [ecx + eax]
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x9c]
mov ecx, edi
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov esi, ebx
jmp 0x415adb
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebp
and ebp, 0xf
or ebp, 0xf0
xchg ebp, eax
mov byte [ecx], al
xchg ebp, eax
mov dword [esp], ecx
call fcn.004133c0
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 0x60]
shr ebp, 4
mov eax, dword [esp + 0x64]
lea edx, [eax - 4]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x9c]
cmp edx, 4
jae 0x4160e7
jmp 0x416046
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebp
xchg ebp, eax
mov byte [ecx], al
xchg ebp, eax
mov dword [esp], ecx
call fcn.004133c0
mov ecx, dword [esp + 4]
mov ebp, dword [esp + 0x58]
shr ebp, 8
mov eax, dword [esp + 0x5c]
lea edx, [eax - 8]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x9c]
cmp edx, 8
jae 0x41612b
jmp 0x416046
sbb ebp, ebp
mov ecx, ebx
mov esi, edx
shl edx, cl
and edx, ebp
or edx, esi
lea ebx, [ecx + ecx]
cmp ebx, 0x20
jbe 0x416166
test eax, eax
je 0x4161ae
mov dword [esp + 0x4c], edx
mov ecx, eax
mov eax, 0x19
xor edx, edx
div ecx
imul ecx, eax
cmp ecx, 0x20
sbb edx, edx
mov ebp, 1
shl ebp, cl
and ebp, edx
lea edx, [ebp - 1]
mov ebp, dword [esp + 0x4c]
and edx, ebp
mov ebx, ecx
jmp 0x416023
call fcn.00436960
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
movzx ecx, byte [eax]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.004133d0
mov edx, dword [esp + 0x50]
shl edx, 8
mov eax, dword [esp + 0x74]
or edx, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x54]
add ecx, 8
mov ebx, dword [esp + 0x2c]
cmp ecx, ebx
jb 0x4161b3
jmp 0x415fe5
lea ebx, [ecx + 7]
mov ecx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
movzx ebx, byte [eax]
mov dword [esp + 0x74], ebx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x74]
mov ebp, ebx
and ebx, 0x7f
shl ebx, cl
and ebx, eax
mov eax, dword [esp + 0x2c]
or eax, ebx
test ebp, 0x80
jne 0x4161ef
mov ecx, eax
mov eax, edx
jmp 0x415b5c
mov edi, dword [esp + 0x38]
lea ebx, [edi + 1]
mov edx, dword [esp + 0x74]
mov ebp, eax
mov esi, ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x48], esi
mov dword [esp + 0x88], ebp
cmp ebx, ecx
jae 0x416314
mov dword [esp + 0x38], ebx
movzx ecx, byte [eax]
mov dword [esp + 0x68], ecx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
shl eax, cl
mov edx, dword [esp + 0x48]
or edx, eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x9c]
cmp ebx, 1
jne 0x4162cc
mov eax, dword [esp + 0x88]
mov byte [eax], dl
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
shr ecx, 8
jmp 0x416240
and edx, 0xf
or edx, 0xf0
mov ecx, dword [esp + 0x88]
mov byte [ecx], dl
mov dword [esp], ecx
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
shr ecx, 4
and ecx, 0xf
or ecx, 0xf0
mov byte [eax], cl
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
shr ecx, 8
jmp 0x416240
and edx, 7
test edx, edx
ja 0x416321
mov ecx, dword [esp + 0x28]
jmp 0x416355
mov dword [esp + 0x2c], edx
movzx ecx, byte [eax]
mov dword [esp + 0x74], ecx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
shl esi, cl
mov eax, dword [esp + 0x48]
or esi, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x2c]
add ecx, edx
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x7c]
mov ebp, esi
mov esi, dword [esp + 0x88]
jmp 0x415adb
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], ebx
and ebx, 0xf
or ebx, 0xf0
mov byte [eax], bl
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 0x28]
lea ecx, [eax - 4]
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x48]
shr ebx, 4
mov edx, dword [esp + 0xc]
test ecx, ecx
ja 0x416367
mov dword [esp + 0xa0], edx
add esp, 0x8c
ret
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], ebx
mov byte [eax], bl
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 0x28]
lea ecx, [eax - 8]
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x48]
shr ebx, 8
mov edx, dword [esp + 0xc]
test ecx, ecx
ja 0x4163aa
jmp 0x41639c
call fcn.00463a70
jmp fcn.00415aa0