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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3ac]
cmp eax, dword [ecx + 8]
jbe 0x531ebc
sub esp, 0x42c
lea edi, [esp + 0x1a8]
mov ecx, 0xa0
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x430]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
mov eax, ebx
mov ebx, dword [edx + 0xc]
mov ecx, ebx
mov ebx, dword [edx + 0x10]
mov edi, ebx
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x4c], ebx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0x40], ebx
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0x44], ebx
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x38], ebx
mov ebx, dword [edx + 0x24]
mov dword [esp + 0x3c], ebx
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x30], ebx
mov ebx, dword [edx + 0x2c]
mov dword [esp + 0x34], ebx
mov ebx, dword [edx + 0x30]
mov dword [esp + 0x28], ebx
mov ebx, dword [edx + 0x34]
mov dword [esp + 0x2c], ebx
mov ebx, dword [edx + 0x38]
mov edx, dword [edx + 0x3c]
mov dword [esp + 0x1a0], eax
mov eax, dword [esp + 0x434]
mov dword [esp + 0x428], eax
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x438]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x190], edx
mov edx, dword [esp + 0x43c]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x190]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x198]
jmp 0x531819
mov edi, dword [esp + 0x58]
add eax, edi
mov dword [esp + 0x58], eax
mov edi, dword [esp + 0x5c]
adc ebp, edi
mov edi, dword [esp + 0x50]
add esi, edi
mov edi, dword [esp + 0x54]
adc ecx, edi
mov dword [esp + 0xb0], ecx
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x84]
add edi, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
adc eax, ecx
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
add ecx, eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x80]
adc eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x38]
add ecx, edx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
adc edx, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
add eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
adc ecx, eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
adc ecx, eax
mov dword [esp + 0xa0], ecx
mov eax, dword [esp + 0x20]
add ebx, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x24]
adc eax, ecx
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0xc8]
add ecx, 0xffffff80
mov dword [esp + 0xc8], ecx
mov eax, dword [esp + 0xcc]
add eax, 0xffffff80
mov dword [esp + 0xcc], eax
neg ecx
sar ecx, 0x1f
and ecx, 0x80
mov eax, dword [esp + 0x428]
add eax, ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x428], eax
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x178], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x170], ebx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x168], ebp
mov ebp, dword [esp + 0x178]
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x170]
mov ebp, dword [esp + 0x168]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xcc]
cmp edx, 0x80
jl 0x531946
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x160], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x160]
jmp 0x531a95
mov edx, 0x10
jmp 0x531bc7
mov edx, dword [esp + 0x38]
mov dword [esp + 0x158], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x140], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x138], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x138]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x120], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x118], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x78], esi
mov edx, dword [esp + 0x148]
mov ebx, dword [esp + 0x140]
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x150]
mov ebp, dword [esp + 0x138]
mov esi, dword [esp + 0x118]
jmp 0x531ea3
mov edx, dword [esp + 0x430]
mov dword [edx], eax
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], edi
mov eax, dword [esp + 0x4c]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], ebx
mov eax, dword [esp + 0x24]
mov dword [edx + 0x3c], eax
add esp, 0x42c
ret
lea eax, [esp + edx*8 + 0x1a8]
mov ecx, dword [esp + 0x428]
lea ebx, [ecx + edx*8]
movzx ebx, byte [ebx]
lea ebp, [ecx + edx*8 + 1]
movzx ebp, byte [ebp]
lea esi, [ecx + edx*8 + 2]
movzx esi, byte [esi]
mov dword [esp + 0xc4], esi
lea edi, [ecx + edx*8 + 3]
movzx edi, byte [edi]
mov dword [esp + 0xc0], edi
lea edi, [ecx + edx*8 + 4]
movzx edi, byte [edi]
mov dword [esp + 0xbc], edi
shl edi, 0x18
lea esi, [ecx + edx*8 + 5]
movzx esi, byte [esi]
mov dword [esp + 0xb8], esi
shl esi, 0x10
or esi, edi
lea edi, [ecx + edx*8 + 6]
movzx edi, byte [edi]
mov dword [esp + 0xb4], edi
shl edi, 8
or edi, esi
lea esi, [ecx + edx*8 + 7]
movzx esi, byte [esi]
or esi, edi
mov dword [eax], esi
lea eax, [esp + edx*8 + 0x1ac]
shl ebx, 0x18
shl ebp, 0x10
or ebp, ebx
mov ebx, dword [esp + 0xc4]
shl ebx, 8
or ebx, ebp
mov ebp, dword [esp + 0xc0]
or ebp, ebx
mov ebx, dword [esp + 0xbc]
shr ebx, 8
or ebp, ebx
mov ebx, dword [esp + 0xb8]
shr ebx, 0x10
or ebx, ebp
mov ebp, dword [esp + 0xb4]
shr ebp, 0x18
or ebp, ebx
mov dword [eax], ebp
lea eax, [edx + 1]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
cmp edx, 0x10
jl 0x5319ab
jmp 0x531861
mov dword [esp + 0x18], edx
lea eax, [esp + edx*8 + 0x198]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov eax, dword [eax]
mov dword [esp + 8], eax
shl eax, 0xd
shr ecx, 0x13
or ecx, eax
mov eax, dword [esp + 0xc]
shl eax, 3
mov ebx, dword [esp + 8]
shr ebx, 0x1d
or ebx, eax
xor ebx, ecx
mov eax, dword [esp + 0xc]
mov ecx, eax
shl eax, 0xd
mov ebp, dword [esp + 8]
shr ebp, 0x13
or eax, ebp
mov ebp, dword [esp + 8]
shl ebp, 3
shr ecx, 0x1d
or ecx, ebp
xor eax, ecx
mov ecx, dword [esp + 0xc]
mov ebp, ecx
shr ecx, 6
xor ebx, ecx
mov ecx, dword [esp + 8]
shr ecx, 6
shl ebp, 0x1a
or ebp, ecx
xor ebp, eax
lea eax, [esp + edx*8 + 0x170]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add ebp, ecx
adc ebx, eax
lea eax, [esp + edx*8 + 0x130]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
mov eax, dword [eax]
mov dword [esp], eax
shl eax, 0x1f
shr ecx, 1
or ecx, eax
mov eax, dword [esp]
shl eax, 0x18
mov esi, dword [esp + 4]
shr esi, 8
or esi, eax
xor ecx, esi
mov eax, dword [esp]
mov esi, eax
shr eax, 1
mov edi, dword [esp + 4]
shl edi, 0x1f
or edi, eax
mov eax, esi
shr esi, 8
mov edx, dword [esp + 4]
shl edx, 0x18
or edx, esi
xor edx, edi
mov esi, dword [esp + 4]
mov edi, esi
shr esi, 7
xor ecx, esi
shr eax, 7
shl edi, 0x19
or edi, eax
xor edi, edx
add ebp, edi
adc ebx, ecx
mov eax, dword [esp + 0x18]
lea ecx, [esp + eax*8 + 0x128]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add edx, ebp
adc ecx, ebx
lea ebx, [esp + eax*8 + 0x1a8]
mov dword [ebx], edx
lea edx, [esp + eax*8 + 0x1ac]
mov dword [edx], ecx
lea edx, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
cmp edx, 0x50
jl 0x531aa7
jmp 0x53186b
mov dword [esp + 0x98], ebp
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x94], eax
shl edx, 0x12
mov esi, dword [esp + 0x78]
shr esi, 0xe
or esi, edx
mov edx, dword [esp + 0x74]
shl edx, 0xe
mov ecx, dword [esp + 0x78]
shr ecx, 0x12
or ecx, edx
xor ecx, esi
mov edx, dword [esp + 0x74]
mov esi, edx
shr edx, 0xe
mov ebp, dword [esp + 0x78]
shl ebp, 0x12
or edx, ebp
mov ebp, dword [esp + 0x78]
shl ebp, 0xe
shr esi, 0x12
or ebp, esi
xor edx, ebp
mov ebp, dword [esp + 0x74]
mov esi, ebp
shr ebp, 9
mov eax, dword [esp + 0x78]
shl eax, 0x17
or ebp, eax
xor ebp, ecx
mov eax, esi
shl eax, 0x17
mov ecx, dword [esp + 0x78]
shr ecx, 9
or eax, ecx
xor edx, eax
add edx, ebx
mov eax, dword [esp + 0x60]
adc ebp, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
and eax, ecx
mov ebx, dword [esp + 0x6c]
and ebx, esi
not ecx
mov edi, dword [esp + 0x68]
and ecx, edi
xor ecx, eax
mov eax, esi
not eax
mov esi, dword [esp + 0x64]
and eax, esi
xor eax, ebx
add edx, eax
adc ebp, ecx
mov eax, dword [0xe6dac0]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
add edx, ebx
adc ebp, eax
lea eax, [esp + ecx*8 + 0x1a8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
add edx, ebx
mov dword [esp + 0x10], edx
adc ebp, eax
mov dword [esp + 0xb0], ebp
mov eax, dword [esp + 0x94]
mov ebx, eax
shl eax, 4
mov esi, dword [esp + 0x98]
shr esi, 0x1c
or esi, eax
mov eax, ebx
shr ebx, 2
mov edi, dword [esp + 0x98]
shl edi, 0x1e
or ebx, edi
xor ebx, esi
mov esi, dword [esp + 0x98]
mov edi, esi
shl esi, 4
shr eax, 0x1c
or eax, esi
mov esi, dword [esp + 0x94]
shl esi, 0x1e
shr edi, 2
or edi, esi
xor eax, edi
mov esi, dword [esp + 0x94]
mov edi, esi
shr esi, 7
mov ecx, dword [esp + 0x98]
shl ecx, 0x19
or esi, ecx
xor esi, ebx
mov dword [esp + 0xc4], esi
mov ecx, edi
shl edi, 0x19
mov ebx, dword [esp + 0x98]
shr ebx, 7
or ebx, edi
xor eax, ebx
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x98]
and ebx, edi
mov ebp, dword [esp + 0x8c]
and ecx, ebp
mov edx, dword [esp + 0x88]
and edx, edi
xor edx, ebx
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x84]
and ebx, edi
xor ebx, ecx
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
and ecx, esi
xor ecx, edx
and ebp, edi
xor ebp, ebx
add eax, ebp
mov ebp, dword [esp + 0xc4]
adc ebp, ecx
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x10]
add ecx, ebx
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x80]
adc edx, ecx
add eax, ebx
adc ebp, ecx
mov ecx, dword [esp + 0x14]
inc ecx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xf0], ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x80], ebp
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], edx
mov dword [esp + 0xe0], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x88], eax
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0xf0]
mov edx, dword [esp + 0xc4]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x14]
cmp edi, 0x50
jl 0x531bd5
jmp 0x53168c
call fcn.0045dbb0
jmp fcn.005315a0