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

Disassembly:
push 0xffffffffffffffff
push 0x552b90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov al, byte [edi + 0x6c]
not al
and al, 1
jne 0x52ecf7
mov eax, dword [edi + 0x6c]
mov ecx, eax
shr ecx, 1
test cl, 1
jne 0x52ecf7
and eax, 0x18
cmp al, 0x18
je 0x52ecf7
mov eax, dword [edi + 0x6c]
mov edx, eax
shr edx, 4
test dl, 1
je 0x52eced
shr eax, 3
test al, 1
je 0x52ecf7
xor ebx, ebx
cmp dword [edi + 0xe8], ebx
je 0x52ed0d
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
lea eax, [edi + 0xc0]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x52f447
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
sar ecx, 2
movzx esi, cx
mov dword [esp + 0x30], esi
cmp si, bx
je 0x52f447
lea ecx, [esp + 0x3c]
call fcn.00534500
xor edx, edx
xor ebp, ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x38], ebx
cmp dx, si
jae 0x52ee79
lea esp, [esp]
mov al, byte [edi + 0x6c]
not al
and al, 1
je 0x52ed6d
xor esi, esi
jmp 0x52eda8
mov ecx, dword [esp + 0x20]
push ebp
call fcn.00533650
test al, al
jne 0x52ed7f
xor esi, esi
jmp 0x52eda8
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 0xdc]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
movzx edi, bp
sar edx, 2
cmp edi, edx
jb 0x52ed9e
call fcn.005091b7
mov eax, dword [esi + 0xc]
mov esi, dword [eax + edi*4]
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x6c]
shr ecx, 5
test cl, 1
je 0x52ee6d
mov edx, dword [esp + 0x20]
push edx
push ebp
mov ecx, edi
call fcn.0052ad70
mov ecx, eax
call fcn.00532250
cmp dword [esi + 0x74], 0
lea eax, [esi + 0x70]
je 0x52edda
cmp dword [eax + 8], 0
ja 0x52ede2
push eax
mov ecx, esi
call fcn.00531710
cmp dword [esi + 0x84], 0
lea eax, [esi + 0x80]
je 0x52edf7
cmp dword [eax + 8], 0
ja 0x52edff
push eax
mov ecx, esi
call fcn.00531130
push 1
mov ecx, esi
call fcn.00531ea0
push 0
mov ecx, esi
mov edi, eax
call fcn.00531ea0
mov esi, dword [esi + 0x28]
sub eax, edi
cdq
add ebx, eax
mov eax, dword [esp + 0x38]
adc eax, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
add esi, edi
push eax
lea ecx, [esp + 0x40]
mov word [esp + 0x58], bp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], ebx
call fcn.0052d410
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x52eebf
mov edi, dword [esp + 0x18]
inc ebp
cmp bp, word [esp + 0x30]
jb 0x52ed60
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
sub eax, ebx
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x52eecb
test ebx, ebx
je 0x52eea7
mov edx, ebx
push edx
call fcn.00505cfe
add esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
push eax
jmp 0x52f43f
push 0
push 0xdf
call fcn.0052d5c0
mov ecx, dword [esp + 0x20]
call fcn.005332e0
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
dec esi
xor ebp, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esp + 0x30]
jne 0x52ef0a
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
sub esi, dword [edi + 0x58]
mov bl, 1
jmp 0x52ef68
lea ecx, [ebp + 1]
push ecx
lea ecx, [esp + 0x40]
call fcn.0052c9c0
mov dl, byte [edi + 0x6c]
movzx esi, word [eax]
not dl
and dl, 1
je 0x52ef28
xor eax, eax
jmp 0x52ef5f
mov ecx, dword [esp + 0x20]
push esi
call fcn.00533650
test al, al
jne 0x52ef3a
xor eax, eax
jmp 0x52ef5f
movzx ebp, si
mov esi, dword [edi + 0xdc]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebp, eax
jb 0x52ef55
call fcn.005091b7
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + ebp*4]
mov ebp, dword [esp + 0x1c]
mov esi, dword [eax + 0x28]
mov edi, dword [esp + 0x18]
xor bl, bl
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x52ef8a
call fcn.005091b7
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
lea eax, [edx + ecx]
mov dword [eax + 8], esi
sub esi, dword [eax + 4]
add dword [esp + 0x28], esi
test bl, bl
jne 0x52efb2
mov edi, dword [esp + 0x18]
inc ebp
add dword [esp + 0x24], 0x18
jmp 0x52eef1
mov ebp, dword [esp + 0x30]
push ebp
lea ecx, [esp + 0x40]
call fcn.0052c9c0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
test eax, eax
jl 0x52eff0
jg 0x52efd8
test ecx, ecx
jbe 0x52eff0
mov esi, dword [esp + 0x2c]
mov ecx, dword [edi + 0x34]
mov edx, dword [ecx]
xor ebx, ebx
add esi, dword [esp + 0x34]
adc ebx, eax
mov eax, dword [edx + 0x18]
push ebx
push esi
call eax
mov edx, dword [edi + 0x158]
xor ebx, ebx
push ebx
lea ecx, [edi + 0x14c]
push edx
call fcn.00532f70
lea eax, [esp + 0x24]
push eax
push 0x200
lea ecx, [edi + 8]
mov dword [esp + 0x2c], ebx
call fcn.0053b080
test eax, eax
je 0x52f04e
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
mov dword [esi + 0x44], 0x200
mov dword [esp + 0x28], esi
call fcn.0052c720
mov edi, 8
mov byte [esp + 0x78], 1
cmp dword [eax + 0x18], edi
jb 0x52f054
mov eax, dword [eax + 4]
jmp 0x52f057
mov dword [esp + 0x24], ebx
jmp 0x52f090
add eax, 4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
push ebx
mov ecx, esi
call eax
mov byte [esp + 0x78], 0
cmp dword [esp + 0x6c], edi
jb 0x52f07a
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00505cfe
add esp, 4
mov edx, dword [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x10]
push eax
mov ecx, esi
call edx
jmp 0x52f090
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, edi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x52f0be
call fcn.005091b7
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
lea edx, [ebp + ebp*2]
cmp dword [ecx + edx*8 + 0x14], 0
lea eax, [ecx + edx*8]
jl 0x52f10e
jg 0x52f0d4
cmp dword [eax + 0x10], 0
jbe 0x52f10e
mov edx, dword [esp + 0x24]
test ebp, ebp
sete byte [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0x10]
push 1
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
call fcn.0052dc20
mov edi, dword [esp + 0x18]
cmp byte [esp + 0x1c], 0
jne 0x52f1cb
dec ebp
jmp 0x52f090
mov dword [esp + 0x28], ebp
test ebp, ebp
jbe 0x52f141
lea esi, [ebp - 1]
push esi
lea ecx, [esp + 0x40]
call fcn.0052c9c0
cmp dword [eax + 0x14], 0
jg 0x52f137
jl 0x52f131
cmp dword [eax + 0x10], 0
ja 0x52f137
mov ebp, esi
test ebp, ebp
ja 0x52f116
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
test ebp, ebp
sete byte [esp + 0x1c]
lea esi, [ebp + ebp*2]
add esi, esi
add esi, esi
mov ebx, ebp
add esi, esi
sub edi, ecx
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x52f172
call fcn.005091b7
mov ecx, dword [esp + 0x48]
cmp ebx, dword [esp + 0x28]
sete al
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x17], al
je 0x52f18c
test al, al
je 0x52f18c
mov al, 1
jmp 0x52f18e
xor al, al
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push eax
mov eax, dword [ecx + esi + 0x10]
push 0
push edx
mov edx, dword [ecx + esi + 8]
neg eax
push eax
mov eax, dword [ecx + esi + 4]
push edx
push eax
mov ecx, edi
call fcn.0052dc20
cmp byte [esp + 0x17], 0
jne 0x52f100
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
inc ebx
add esi, 0x18
jmp 0x52f152
lea ecx, [edi + 0x14c]
call fcn.00532f40
mov edx, dword [esp + 0x38]
test edx, edx
jg 0x52f1ff
jl 0x52f1e7
cmp dword [esp + 0x34], 0
jae 0x52f1ff
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 0x34]
mov esi, dword [ecx]
xor ebx, ebx
add eax, dword [esp + 0x34]
adc ebx, edx
mov edx, dword [esi + 0x18]
push ebx
push eax
call edx
xor esi, esi
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
sete bl
sub ecx, dword [esp + 0x48]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x17], bl
cmp esi, eax
jb 0x52f232
call fcn.005091b7
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi*2]
movzx esi, word [edx + ecx*8]
lea eax, [edx + ecx*8]
mov dword [esp + 0x28], eax
mov al, byte [edi + 0x6c]
not al
test al, 1
je 0x52f257
mov dword [esp + 0x2c], 0
jmp 0x52f294
mov ecx, dword [esp + 0x20]
push esi
call fcn.00533650
test al, al
jne 0x52f26f
mov dword [esp + 0x2c], 0
jmp 0x52f294
movzx ebp, si
mov esi, dword [edi + 0xdc]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp ebp, ecx
jb 0x52f28a
call fcn.005091b7
mov edx, dword [esi + 0xc]
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x2c], eax
test bl, bl
je 0x52f2a8
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.0052acf0
movzx edi, ax
jmp 0x52f2be
mov ecx, dword [esp + 0x1c]
inc ecx
push ecx
lea ecx, [esp + 0x40]
call fcn.0052c9c0
movzx edi, word [eax]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
movzx eax, word [edx]
cmp ax, di
jae 0x52f32c
inc eax
movzx esi, ax
cmp si, di
jae 0x52f32c
movzx ebx, si
mov al, byte [ebp + 0x6c]
not al
test al, 1
je 0x52f2e3
xor eax, eax
jmp 0x52f31b
mov ecx, dword [esp + 0x20]
push esi
call fcn.00533650
test al, al
jne 0x52f2f5
xor eax, eax
jmp 0x52f31b
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx + 0xdc]
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
sar edx, 2
cmp ebx, edx
jb 0x52f311
call fcn.005091b7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*4]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
add dword [eax + 0x28], edx
inc esi
inc ebx
cmp si, di
jb 0x52f2d6
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x52f33a
xor ecx, ecx
xor eax, eax
jmp 0x52f34d
lea eax, [ebx - 1]
push eax
lea ecx, [esp + 0x40]
call fcn.0052c9c0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0x28]
xor esi, esi
add edx, ecx
push 0
adc esi, eax
push esi
lea esi, [ebp + 0x30]
push edx
mov ecx, esi
call fcn.00539540
push esi
mov ecx, edi
call fcn.00532450
and dword [edi + 0x6c], 0xffffffdf
mov ecx, esi
call fcn.005379d0
cmp byte [esp + 0x17], 0
jne 0x52f392
mov edi, dword [esp + 0x18]
inc ebx
mov dword [esp + 0x1c], ebx
mov esi, ebx
jmp 0x52f205
cmp byte [ebp + 0xec], 0
je 0x52f40c
mov al, byte [ebp + 0x6c]
not al
test al, 1
jne 0x52f40c
mov eax, dword [esi + 0x3c]
mov ecx, eax
shr ecx, 1
test cl, 1
jne 0x52f40c
and eax, 0x18
cmp al, 0x18
je 0x52f40c
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00533960
test al, al
jne 0x52f40c
mov ecx, edi
call fcn.00534ab0
mov ecx, esi
call fcn.005379d0
mov eax, dword [esi + 0x3c]
mov edx, eax
shr edx, 1
test dl, 1
jne 0x52f3f1
and eax, 0x18
cmp al, 0x18
je 0x52f3f1
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi + 0x3c]
mov ecx, eax
shr ecx, 4
test cl, 1
je 0x52f40c
shr eax, 3
test al, 1
jne 0x52f40c
mov ecx, esi
call fcn.00539130
mov ecx, dword [esp + 0x24]
xor esi, esi
cmp ecx, esi
je 0x52f41d
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x52f42e
push eax
call fcn.00505cfe
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
push ecx
call fcn.00505cfe
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret