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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5251a6
sub esp, 0x64
mov eax, dword [esp + 0x74]
lea ecx, [eax - 0xc]
cmp ecx, 4
ja 0x524fd0
mov ecx, dword [esp + 0x70]
test ecx, ecx
jle 0x524f87
lea eax, [0x656580]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
call fcn.00409810
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x524f45
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x10
jne 0x524efc
lea eax, [0x649be0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x10
call ecx
lea eax, [0x667bc0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [0x8b5080]
test ecx, ecx
jne 0x524da3
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
jmp 0x524db3
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00462690
mov eax, ecx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
nop
nop
mov edx, dword [esp + 0x60]
movzx ebx, byte [edx + 7]
movzx ebp, byte [edx + 6]
mov esi, ebp
shl ebp, 8
or ebx, ebp
movzx ebp, byte [edx + 5]
mov edi, ebp
shl ebp, 0x10
or ebp, ebx
movzx ebx, byte [edx + 4]
mov ecx, ebx
shl ebx, 0x18
or ebx, ebp
movzx ebp, byte [edx + 3]
mov dword [esp + 0x44], ebp
movzx ebp, byte [edx + 2]
mov dword [esp + 0x40], ebp
movzx ebp, byte [edx + 1]
mov dword [esp + 0x3c], ebp
movzx ebp, byte [edx]
mov dword [esp + 0x38], ebp
movzx ebp, byte [edx + 0xf]
mov dword [esp + 0x34], ebp
movzx ebp, byte [edx + 0xe]
mov dword [esp + 0x30], ebp
movzx ebp, byte [edx + 0xd]
mov dword [esp + 0x2c], ebp
movzx ebp, byte [edx + 0xc]
mov dword [esp + 0x28], ebp
movzx ebp, byte [edx + 0xb]
mov dword [esp + 0x24], ebp
movzx ebp, byte [edx + 0xa]
mov dword [esp + 0x4c], ebp
movzx ebp, byte [edx + 9]
movzx edx, byte [edx + 8]
mov dword [esp + 0x50], ebx
shr esi, 0x18
shr edi, 0x10
or esi, edi
shr ecx, 8
or esi, ecx
mov edi, dword [esp + 0x44]
or edi, esi
mov esi, dword [esp + 0x40]
shl esi, 8
or edi, esi
mov esi, dword [esp + 0x3c]
shl esi, 0x10
or esi, edi
mov edi, dword [esp + 0x38]
shl edi, 0x18
or esi, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], esi
mov edi, dword [esp + 0x30]
mov ecx, edi
shl edi, 8
mov esi, dword [esp + 0x34]
or esi, edi
mov edi, dword [esp + 0x2c]
shl edi, 0x10
or edi, esi
mov esi, dword [esp + 0x28]
shl esi, 0x18
or esi, edi
mov dword [esp + 0x58], esi
shr ecx, 0x18
mov edi, dword [esp + 0x2c]
shr edi, 0x10
or ecx, edi
mov edi, dword [esp + 0x28]
shr edi, 8
or ecx, edi
mov edi, dword [esp + 0x24]
or edi, ecx
mov ecx, esi
mov esi, dword [esp + 0x4c]
shl esi, 8
or edi, esi
shl ebp, 0x10
or ebp, edi
shl edx, 0x18
or ebp, edx
mov dword [esp + 0x5c], ebp
mov dword [eax + 0x90], ebx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], ecx
mov dword [eax + 0x9c], ebp
mov ecx, 2
jmp 0x525033
lea eax, [0x658580]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x69681f]
mov dword [eax], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [0x6ee9dc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x64
ret
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ebx
add esp, 0x64
ret
lea eax, [0x658580]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x64
lea ecx, [0x69bce0]
mov dword [eax], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [0x6ee9dc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x64
ret
lea eax, [0x658580]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x6952f8]
mov dword [eax], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea ecx, [0x6ee9dc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x64
ret
shl edx, 4
mov dword [eax + edx + 0x10], edi
mov dword [eax + edx + 0x14], ebp
mov ebx, dword [esp + 0x1c]
mov dword [eax + edx + 0x18], ebx
mov dword [eax + edx + 0x1c], esi
add ecx, 2
cmp ecx, 0x10
jge 0x525159
mov edx, ecx
shr ecx, 0x1f
lea ebx, [edx + ecx]
mov ebp, ebx
sar ebx, 1
mov esi, edx
shl edx, 2
and edx, 0xc
mov edi, esi
sar esi, 2
and esi, 3
or esi, edx
mov edx, esi
shl esi, 1
and esi, 0xa
sar edx, 1
and edx, 5
or edx, esi
shl ebx, 2
and ebx, 0xc
sar ebp, 3
and ebp, 3
or ebp, ebx
mov ebx, ebp
shl ebp, 1
and ebp, 0xa
sar ebx, 1
and ebx, 5
or ebx, ebp
cmp ebx, 0x10
jae 0x525199
mov dword [esp + 0x48], edi
shl ebx, 4
mov ebp, dword [eax + ebx + 0x18]
mov esi, dword [eax + ebx + 0x1c]
mov dword [esp + 0x44], esi
mov ecx, ebp
shr ebp, 1
shl esi, 0x1f
or esi, ebp
mov ebp, dword [esp + 0x44]
shr ebp, 1
mov edi, dword [eax + ebx + 0x10]
mov dword [esp + 0x44], edi
shl edi, 0x1f
or edi, ebp
mov ebx, dword [eax + ebx + 0x14]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x44]
shr ebp, 1
shl ebx, 0x1f
or ebx, ebp
mov ebp, dword [esp + 0x40]
shr ebp, 1
test ecx, 1
je 0x5250e3
xor ebp, 0xe1000000
cmp edx, 0x10
jae 0x52518d
mov dword [esp + 0x44], edi
shl edx, 4
mov dword [eax + edx + 0x10], ebx
mov dword [eax + edx + 0x14], ebp
mov dword [eax + edx + 0x18], esi
mov dword [eax + edx + 0x1c], edi
mov edx, dword [esp + 0x48]
mov ecx, edx
inc edx
mov dword [esp + 0x20], edx
shl edx, 2
and edx, 0xc
mov edi, dword [esp + 0x20]
sar edi, 2
and edi, 3
or edi, edx
mov edx, edi
shl edi, 1
and edi, 0xa
sar edx, 1
and edx, 5
or edx, edi
mov edi, dword [esp + 0x54]
xor ebp, edi
mov edi, dword [esp + 0x50]
xor edi, ebx
mov ebx, dword [esp + 0x58]
xor ebx, esi
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
xor esi, ebx
cmp edx, 0x10
jb 0x525019
jmp 0x525181
lea ecx, [0x6efa1c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x64
ret
mov eax, edx
mov ecx, 0x10
call fcn.00462710
mov eax, edx
mov ecx, 0x10
call fcn.00462710
mov eax, ebx
mov ecx, 0x10
call fcn.00462710
nop
call fcn.00461280
jmp fcn.00524cb0