Function at 0x53ed30
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f2968
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edx, dword [0x65ae4c]
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [0x65ae48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x338]
mov dword [eax + 0x114], ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x33c]
mov dword [eax + 0x118], edx
movzx ecx, word [ebx + 0x344]
mov dword [eax + 0x10c], ecx
mov edx, dword [ebx + 0x10c]
mov edi, dword [ebx + 0x124]
mov esi, dword [ebx + 0x94]
mov ecx, dword [ebx + 0x7c]
add edi, edx
add edi, dword [ebx + 0xf4]
mov dword [esp + 0x10], ebx
add edi, esi
add edi, ecx
mov dword [eax + 0x2c], edi
mov esi, dword [ebx + 0xc4]
mov edi, dword [ebx + 0xdc]
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x4c]
add edi, esi
add edi, dword [ebx + 0xac]
lea esi, [ebx + 0x21c]
add edi, edx
add edi, ecx
mov dword [eax + 0x28], edi
mov ecx, dword [ebx + 0x7c]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 0x30], ecx
mov edx, dword [ebx + 0x240]
mov dword [eax + 0x48], edx
mov ecx, dword [ebx + 0x244]
mov dword [eax + 0x4c], ecx
mov edx, dword [ebx + 0x248]
mov dword [eax + 0x50], edx
mov ecx, dword [ebx + 0x24c]
mov dword [eax + 0x54], ecx
mov edx, dword [ebx + 0x250]
mov dword [eax + 0x58], edx
lea edi, [eax + 0xc]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x334]
mov dword [eax + 0x100], ecx
mov edx, dword [ebx + 0x40]
mov dword [eax + 0x104], edx
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0x108], ecx
mov edx, dword [ebx + 0x2f0]
lea edi, [ebx + 0x280]
mov dword [eax + 0x110], edx
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esp + 0x2c], eax
je 0x53ee7c
mov edx, dword [edi + 8]
sub edx, ecx
sar edx, 3
jne 0x53ee88
mov dword [eax + 0x8c], 0xffffffff
jmp 0x53eed2
mov eax, dword [ebx + 0x1a0]
sub eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x1a4]
sbb ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.004b2800
add esp, 8
push 0
push 0xf4240
push edx
push eax
call fcn.005c05d0
mov ecx, dword [ebx + 0x138]
mov edx, dword [ecx + 0x94]
add edx, dword [ebx + 0x2e0]
add edx, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], edx
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.005387c0
mov edx, dword [eax]
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x80], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x84], eax
mov ecx, dword [ebx + 0x2e4]
mov dword [esi + 0x88], ecx
mov dl, byte [ebx + 0x15c]
mov byte [esi + 0xa4], dl
mov al, byte [ebx + 0x15d]
mov byte [esi + 0xa5], al
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x8c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x53ef47
mov dword [esi + 0x68], 0xffffffff
jmp 0x53ef4a
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x53ef5a
mov dword [esi + 0x6c], 0xffffffff
jmp 0x53ef5d
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0x1c8]
mov ecx, dword [ebx + 0x1cc]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x53ef80
xor ecx, ecx
jmp 0x53ef88
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
mov edx, dword [ebx + 0x274]
test edx, edx
jne 0x53ef96
xor eax, eax
jmp 0x53efa1
mov eax, dword [ebx + 0x278]
sub eax, edx
sar eax, 3
add eax, ecx
mov dword [esi + 0xb0], eax
mov eax, dword [ebx + 0x2c4]
test eax, eax
jne 0x53efb7
xor edx, edx
jmp 0x53efc2
mov edx, dword [ebx + 0x2c8]
sub edx, eax
sar edx, 2
mov ecx, dword [ebx + 0x274]
test ecx, ecx
jne 0x53efd0
xor eax, eax
jmp 0x53efdb
mov eax, dword [ebx + 0x278]
sub eax, ecx
sar eax, 3
add eax, edx
mov dword [esi + 0xbc], eax
test byte [ebx + 0x34b], 0x10
mov eax, 1
jne 0x53eff8
movzx eax, byte [ebx + 0x347]
mov dword [esi + 0xc0], eax
mov eax, dword [ebx + 0x264]
xor ecx, ecx
cmp eax, ecx
jne 0x53f00e
xor eax, eax
jmp 0x53f026
mov edx, dword [ebx + 0x268]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], ecx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x24], eax
jbe 0x53f04d
call fcn.005b8b18
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
jbe 0x53f066
call fcn.005b8b18
mov eax, dword [esp + 0x18]
cmp edi, edi
je 0x53f073
call fcn.005b8b18
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x24]
je 0x53f0c6
cmp eax, dword [edi + 8]
jb 0x53f087
call fcn.005b8b18
mov eax, dword [esp + 0x18]
test byte [eax + 6], 2
je 0x53f094
add dword [esi + 0xb4], 1
cmp eax, dword [edi + 8]
jb 0x53f0a2
call fcn.005b8b18
mov eax, dword [esp + 0x18]
test byte [eax + 6], 4
je 0x53f0af
add dword [esi + 0xb8], 1
cmp eax, dword [edi + 8]
jb 0x53f0bd
call fcn.005b8b18
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x18], eax
jmp 0x53f066
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call edx
mov al, byte [esp + 0x4c]
neg al
sbb eax, eax
test eax, 0x533140
je 0x53f107
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi + 0xcc], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0xd0], edx
mov dword [esi + 0xd8], ecx
jmp 0x53f11e
or eax, 0xffffffff
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
xor eax, eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xd4], eax
mov edi, dword [ebx + 0x254]
mov ebx, dword [ebx + 0x258]
add esi, 0x5c
add ebx, ebx
sar ebx, 1
mov dword [esp + 0x24], esi
call fcn.00489810
lea eax, [ebx + 7]
cdq
and edx, 7
add eax, edx
mov edx, dword [esi]
sar eax, 3
push eax
push edi
push edx
call fcn.005c3120
add esp, 0xc
test byte [esi + 4], 7
je 0x53f18e
mov edi, dword [esi + 4]
mov ecx, dword [esi]
lea eax, [edi + edi]
sar eax, 1
add eax, 7
cdq
and edx, 7
add eax, edx
and edi, 7
sar eax, 3
lea eax, [eax + ecx - 1]
add edi, edi
sar edi, 1
mov ecx, 8
sub ecx, edi
or dl, 0xff
shl dl, cl
and byte [eax], dl
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x170]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 0x174]
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x20]
mov edi, ecx
sbb edi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edi
mov edi, dword [esi + 0x19c]
cmp edi, dword [esi + 0x194]
lea edx, [esi + 0x190]
ja 0x53f1d8
jb 0x53f1de
mov edi, dword [esi + 0x198]
cmp edi, dword [edx]
jb 0x53f1de
lea edx, [esi + 0x198]
mov edi, dword [edx]
mov edx, dword [edx + 4]
sub eax, edi
sbb ecx, edx
mov dword [ebx + 0x7c], ecx
xor edi, edi
mov dword [ebx + 0x78], eax
mov dword [ebx], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ebx
mov ecx, esi
call edx
mov eax, esi
call fcn.00542f40
neg al
sbb eax, eax
and eax, 0x400
or dword [ebx], eax
movzx eax, byte [esi + 0x34b]
mov ecx, dword [ebx]
and eax, 2
shl eax, 0xb
or eax, ecx
mov dword [ebx], eax
movzx ecx, byte [esi + 0x34b]
and ecx, 1
shl ecx, 0xd
or ecx, eax
mov dword [ebx], ecx
movzx eax, byte [esi + 0x34b]
and eax, 0x10
shl eax, 0xa
or eax, ecx
mov dword [ebx], eax
movzx ecx, byte [esi + 0x34b]
and ecx, 0x40
shl ecx, 9
or ecx, eax
mov dword [ebx], ecx
mov eax, dword [esi + 0x31c]
cmp eax, edi
je 0x53f29d
mov edx, dword [eax + 0x20]
shr edx, 8
and edx, 0x3f
mov dword [ebx + 4], edx
mov ecx, dword [eax + 0x18]
and ecx, 0x1f
mov dword [ebx + 0xc8], ecx
movzx edx, byte [eax + 0x16]
mov dword [ebx + 0xa0], edx
movzx ecx, byte [eax + 0x24]
and ecx, 4
shl ecx, 7
or dword [ebx], ecx
movzx edx, byte [eax + 0x1c]
mov ecx, dword [ebx]
and edx, 2
shl edx, 0xa
or edx, ecx
mov dword [ebx], edx
jmp 0x53f2ac
mov dword [ebx + 4], edi
mov dword [ebx + 0xc8], edi
mov dword [ebx + 0xa0], edi
mov eax, dword [esi + 0x330]
mov edi, dword [ebx + 0x60]
mov dword [ebx + 0xfc], eax
mov eax, dword [esi + 0x204]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x200]
mov dword [ebx + 0x94], eax
mov ecx, dword [esi + 0x304]
add ecx, dword [esi + 0x1e8]
add edi, edi
sub ecx, dword [esi + 0x1e0]
sar edi, 1
mov dword [ebx + 0x98], ecx
mov edx, dword [esi + 0x300]
mov dword [ebx + 0x9c], edx
mov al, byte [esi + 8]
mov byte [ebx + 9], al
mov cl, byte [esi + 9]
mov byte [ebx + 8], cl
jne 0x53f31b
fldz
xor edi, edi
fstp dword [ebx + 0x11c]
mov dword [ebx + 0x120], edi
jmp 0x53f374
mov edx, dword [esp + 0x24]
push edx
call fcn.00535140
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, edi
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x53f341
fadd dword [0x61cf74]
fdivp st(1)
mov ecx, dword [esp + 0x24]
push ecx
fstp dword [ebx + 0x11c]
call fcn.00535140
push 0
cdq
push 0xf4240
push edx
push eax
call fcn.005c0590
push 0
push edi
push edx
push eax
call fcn.005c3850
mov dword [ebx + 0x120], eax
xor edi, edi
mov edx, dword [esi + 0x340]
mov dword [ebx + 0x124], edx
mov dword [esp + 0x1c], edi
call fcn.005d95d0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.00506a90
mov dword [esp + 0x70], edi
mov edi, dword [eax]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x30]
call fcn.005645d0
add ebx, 0x128
mov esi, eax
mov ecx, 7
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53f3f8
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x53f3f8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x53f3f8
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4