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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415ba6
sub esp, 0x74
xor eax, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
xor ebx, ebx
jmp 0x41565d
mov ebp, eax
mov eax, ecx
mov ecx, ebp
mov dword [esp + 0x64], ecx
jmp 0x4157ef
mov dword [esp + 0x60], edx
movzx eax, byte [ecx]
mov dword [esp + 0x5c], eax
mov dword [esp], ecx
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, ecx
and ecx, 0x7f
test edx, 0x80
jne 0x4156ac
test ecx, ecx
je 0x415801
shr ecx, 3
mov dword [esp + 0x24], ecx
xor ebx, ebx
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
jmp 0x415b53
test ecx, ecx
jne 0x4156b9
xor ecx, ecx
xor edx, edx
jmp 0x415a71
mov dword [esp + 0x2c], ecx
xor edx, edx
xor ebx, ebx
jmp 0x41582f
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x2c]
imul ebp, ecx
mov dword [esp + 0x3c], ebp
cmp ecx, 0x19
ja 0x4156f7
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.004133d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
jmp 0x41591f
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov edx, dword [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x14], ecx
lea ebx, [ecx + 7]
shr ebx, 3
mov dword [esp + 4], ebx
call fcn.004133b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
and ecx, 7
test ecx, ecx
jne 0x415734
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
jmp 0x415785
mov dword [esp + 0x38], ecx
lea edx, [ecx - 8]
neg edx
mov dword [esp + 0x5c], edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x58], ebx
movzx ebp, byte [eax]
mov dword [esp + 0x54], ebp
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
shr ebx, cl
mov eax, dword [esp + 0x58]
and ebx, eax
mov ecx, dword [esp + 0x28]
shl ebx, cl
mov eax, dword [esp + 0x40]
or ebx, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x38]
add ecx, edx
mov ebp, dword [esp + 0x3c]
sub ebp, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ecx
mov esi, ebp
shr ebp, 3
mov edx, dword [esp + 0x60]
jmp 0x4158e3
and esi, 7
test esi, esi
jbe 0x4157c6
cmp ecx, 0x20
sbb ebp, ebp
movzx eax, byte [eax]
mov edi, ecx
mov ecx, esi
mov edx, 1
shl edx, cl
dec edx
and edx, eax
mov ecx, edi
shl edx, cl
and edx, ebp
or ebx, edx
add ecx, esi
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
jmp 0x415657
mov byte [edx], bl
mov dword [esp], edx
call fcn.004133c0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff8
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x40]
shr ebx, 8
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], ebx
cmp eax, 8
jae 0x4157cf
jmp 0x415666
mov edx, dword [esp + 0x60]
mov eax, edx
mov ecx, dword [esp + 0x7c]
sub edx, ecx
mov ecx, dword [esp + 0x28]
lea ebp, [ecx + edx*8]
mov dword [esp + 0xc], ebp
mov esi, ecx
neg ecx
and ecx, 7
add ecx, esi
mov edx, dword [esp + 0x40]
jmp 0x415ae9
lea ebx, [ecx + 7]
mov edx, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], edx
cmp ebx, 0x20
sbb ecx, ecx
mov dword [esp + 0x5c], ecx
movzx ebp, byte [eax]
mov dword [esp + 0x58], ebp
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov edx, ecx
and ecx, 0x7f
mov ebx, ecx
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov ebp, dword [esp + 0x5c]
and ebx, ebp
mov ebp, dword [esp + 0x3c]
or ebp, ebx
test edx, 0x80
jne 0x41582a
jmp 0x4156c6
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], ebx
movzx ecx, byte [eax]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x20
sbb eax, eax
mov edx, dword [esp + 0x5c]
shl edx, cl
and edx, eax
mov eax, dword [esp + 0x50]
or eax, edx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 4]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x6c]
mov byte [ebx], al
mov dword [esp], ebx
call fcn.004133c0
mov eax, dword [esp + 0x30]
lea ebp, [eax - 1]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x40]
shr ebx, 8
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], edx
test ebp, ebp
ja 0x41587d
jmp 0x41579b
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
movzx ecx, byte [eax]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
call fcn.004133d0
mov edx, dword [esp + 0x10]
shl edx, 8
mov eax, dword [esp + 0x5c]
or edx, eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x20]
add ecx, 8
mov ebx, dword [esp + 0x2c]
cmp ecx, ebx
jb 0x4158f0
jbe 0x415936
sub ecx, ebx
cmp ecx, 0x20
sbb ebp, ebp
shr edx, cl
and edx, ebp
jmp 0x415938
mov ebx, ecx
cmp ebx, 1
jne 0x415954
cmp edx, 1
jne 0x41594e
mov eax, 0x19
mov edx, 0x1ffffff
jmp 0x415965
mov eax, dword [esp + 0x3c]
jmp 0x415965
lea ebp, [ebx + ebx]
cmp ebp, 0x19
ja 0x415963
mov eax, ebx
jmp 0x415a2e
mov eax, ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x3c]
jmp 0x41598d
mov ebp, dword [esp + 0x3c]
sub ebp, eax
mov ecx, dword [esp + 0x5c]
mov esi, edx
mov edx, ecx
cmp eax, ebp
ja 0x4159a7
mov dword [esp + 0x3c], ebp
cmp esi, 0x20
sbb ebp, ebp
mov ecx, esi
shl edx, cl
and edx, ebp
or ebx, edx
lea edx, [eax + ecx]
jmp 0x415a15
test ebp, ebp
jbe 0x4159e0
mov dword [esp + 0x68], edi
cmp ebp, 0x20
sbb eax, eax
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x5c], edi
mov ecx, ebp
mov edi, 1
shl edi, cl
and edi, eax
lea eax, [edi - 1]
and edx, eax
mov ecx, esi
shl edx, cl
mov eax, dword [esp + 0x5c]
and edx, eax
or ebx, edx
lea esi, [ecx + ebp]
mov edi, dword [esp + 0x68]
mov ecx, esi
mov eax, dword [esp + 0x70]
mov edx, edi
jmp 0x415657
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov byte [edi], bl
mov dword [esp], edi
call fcn.004133c0
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0x48]
shr ebx, 8
mov eax, dword [esp + 0x4c]
lea edx, [eax - 8]
mov eax, dword [esp + 0x58]
cmp edx, 8
jae 0x4159ed
jmp 0x41597f
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 0x415a1f
test eax, eax
je 0x415a67
mov dword [esp + 0x44], 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 + 0x44]
and edx, ebp
mov ebx, ecx
jmp 0x415963
call fcn.004397e0
lea edx, [ecx + 7]
mov ecx, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x5c], ebx
movzx ebp, byte [eax]
mov dword [esp + 0x58], ebp
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov edx, ecx
and ecx, 0x7f
mov ebx, ecx
mov ecx, dword [esp + 0x1c]
shl ebx, cl
mov ebp, dword [esp + 0x5c]
and ebx, ebp
mov ebp, dword [esp + 0x2c]
or ebp, ebx
test edx, 0x80
jne 0x415a6c
mov ecx, ebp
jmp 0x4156b9
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
mov byte [eax], dl
mov dword [esp], eax
call fcn.004133c0
mov eax, dword [esp + 0x28]
lea ecx, [eax - 8]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x40]
shr edx, 8
mov ebp, dword [esp + 0xc]
test ecx, ecx
ja 0x415ac1
mov dword [esp + 0x80], ebp
add esp, 0x74
ret
mov dword [esp + 0x34], ebx
movzx ecx, byte [eax]
mov dword [esp + 0x58], ecx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x58]
shl eax, cl
mov edx, dword [esp + 0x40]
or edx, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ebx, dword [esp + 0x6c]
mov byte [ebx], dl
mov dword [esp], ebx
call fcn.004133c0
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 0x40]
shr esi, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], ebp
cmp ebx, ecx
jb 0x415af8
and edx, 7
test edx, edx
ja 0x415b6c
mov ecx, dword [esp + 0x28]
jmp 0x415b9d
mov dword [esp + 0x2c], edx
movzx ecx, byte [eax]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
call fcn.004133c0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
shl esi, cl
mov eax, dword [esp + 0x40]
or esi, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x2c]
add ecx, edx
mov ebp, dword [esp + 0x6c]
mov edx, ebp
mov ebx, esi
jmp 0x415657
call fcn.00467570
jmp fcn.00415630