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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
cmp eax, 0x7e000000
ja 0x52f6e4
mov ecx, edx
add ecx, eax
cmp eax, 0xc
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
jg 0x52f6ee
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0x24]
test ecx, ecx
je 0x52f6a3
mov eax, dword [esp + 0x1c]
mov edx, 0x80808081
sub eax, dword [esp + 0x28]
lea ecx, [ebx + eax + 1]
lea eax, [ebx + 0xf0]
mul edx
shr edx, 7
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x52f6e4
mov ecx, dword [esp + 0x1c]
cmp ebx, 0xe
mov eax, ecx
jle 0x52f879
lea edx, [ebx - 0xf]
add eax, 1
cmp edx, 0xfe
mov byte [ecx], 0xf0
jle 0x52f6d9
nop
sub edx, 0xff
add eax, 1
cmp edx, 0xfe
mov byte [eax - 1], 0xff
jg 0x52f6c4
lea esi, [eax + 1]
mov byte [eax], dl
jmp 0x52f883
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, esi
sub eax, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
imul eax, dword [ecx], 0x9e3779b1
shr eax, 0x14
mov dword [edx + eax*4], ecx
mov edx, ecx
imul eax, dword [edx + 1], 0x9e3779b1
mov dword [esp + 0x2c], edx
mov edx, esi
lea esi, [esi - 8]
mov dword [esp + 0x20], esi
lea esi, [edx - 6]
sub edx, 5
lea ecx, [ecx + 1]
shr eax, 0x14
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov ebx, 0x40
mov edi, 1
jmp 0x52f758
mov ecx, edx
mov ebx, ebp
lea edx, [ecx + edi]
mov edi, ebx
shr edi, 6
cmp dword [esp + 0x18], edx
lea ebp, [ebx + 1]
jb 0x52f9a8
mov esi, dword [esp + 0x14]
lea esi, [esi + eax*4]
mov ebx, dword [esi]
imul eax, dword [edx], 0x9e3779b1
mov dword [esi], ecx
lea esi, [ebx + 0xffff]
shr eax, 0x14
cmp ecx, esi
ja 0x52f754
mov esi, dword [ecx]
cmp dword [ebx], esi
jne 0x52f754
cmp dword [esp + 0x2c], ecx
jae 0x52f7aa
cmp dword [esp + 0x24], ebx
jae 0x52f7aa
movzx eax, byte [ebx - 1]
cmp byte [ecx - 1], al
je 0x52fa40
mov edi, dword [esp + 0x78]
mov esi, ecx
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x2c]
test edi, edi
lea ebp, [eax + 1]
je 0x52f7d9
mov eax, 0x80808081
mul esi
shr edx, 7
lea eax, [esi + edx + 8]
add eax, ebp
cmp dword [esp + 0x30], eax
jb 0x52f6e4
cmp esi, 0xe
jbe 0x52f98b
mov eax, dword [esp + 0x1c]
lea edx, [esi - 0xf]
cmp edx, 0xfe
mov byte [eax], 0xf0
mov eax, ebp
jle 0x52f80b
sub edx, 0xff
add eax, 1
cmp edx, 0xfe
mov byte [eax - 1], 0xff
jg 0x52f7f6
lea ebp, [eax + 1]
mov byte [eax], dl
cmp esi, 8
lea edi, [ebp + esi]
jg 0x52f9ed
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [ebp], eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
lea esi, [esi]
mov edx, ecx
sub edx, ebx
mov word [edi], dx
lea edx, [ecx + 4]
cmp dword [esp + 0x20], edx
lea esi, [ebx + 4]
mov dword [esp + 0x1c], edx
jbe 0x52f9b5
mov ebp, dword [ebx + 4]
xor ebp, dword [ecx + 4]
jne 0x52f8a6
mov edx, dword [esp + 0x1c]
mov ebx, edx
add ebx, 4
add esi, 4
cmp dword [esp + 0x20], ebx
jbe 0x52f9e7
mov ebp, dword [ebx]
xor ebp, dword [esi]
je 0x52f85d
mov dword [esp + 0x1c], edx
jmp 0x52f8aa
mov eax, ebx
shl eax, 4
lea esi, [ecx + 1]
mov byte [ecx], al
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0052e9ac
lea eax, [esi + ebx]
sub eax, dword [esp + 0x28]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x1c]
tzcnt ebp, ebp
sar ebp, 3
add ebx, ebp
sub ebx, dword [esp + 0x1c]
add edi, 2
cmp ebx, 0xe
lea ecx, [ecx + ebx + 4]
jbe 0x52f96b
mov esi, dword [esp + 0x78]
test esi, esi
je 0x52f8e2
mov edx, ebx
shr edx, 8
lea edx, [edi + edx + 6]
cmp dword [esp + 0x30], edx
jb 0x52f6e4
sub ebx, 0xf
add byte [eax], 0xf
cmp ebx, 0x1fd
jbe 0x52f90d
lea esi, [esi]
sub ebx, 0x1fe
add edi, 2
mov byte [edi - 2], 0xff
cmp ebx, 0x1fd
mov byte [edi - 1], 0xff
ja 0x52f8f4
cmp ebx, 0xfe
jbe 0x52f921
mov byte [edi], 0xff
sub ebx, 0xff
add edi, 1
lea eax, [edi + 1]
mov byte [edi], bl
cmp dword [esp + 0x18], ecx
jb 0x52f99b
imul edx, dword [ecx - 2], 0x9e3779b1
mov edi, dword [esp + 0x14]
lea ebx, [ecx - 2]
mov esi, dword [ecx]
shr edx, 0x14
mov dword [edi + edx*4], ebx
imul edx, esi, 0x9e3779b1
shr edx, 0x14
lea edx, [edi + edx*4]
mov ebx, dword [edx]
mov dword [edx], ecx
lea edx, [ebx + 0xffff]
cmp ecx, edx
ja 0x52f971
cmp dword [ebx], esi
jne 0x52f971
lea edi, [eax + 1]
mov byte [eax], 0
jmp 0x52f834
add byte [eax], bl
mov eax, edi
jmp 0x52f926
mov dword [esp + 0x1c], eax
imul eax, dword [ecx + 1], 0x9e3779b1
mov dword [esp + 0x2c], ecx
add ecx, 1
shr eax, 0x14
jmp 0x52f743
mov edx, dword [esp + 0x1c]
mov eax, esi
shl eax, 4
mov byte [edx], al
jmp 0x52f810
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jmp 0x52f66f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x52f66f
mov ebx, edx
cmp ebx, dword [esp + 0x38]
jae 0x52f9cb
movzx edx, word [ebx]
cmp word [esi], dx
jne 0x52f9cb
add ebx, 2
add esi, 2
cmp ebx, dword [esp + 0x3c]
jae 0x52f9de
movzx edx, byte [ebx]
cmp byte [esi], dl
sete dl
movzx edx, dl
add ebx, edx
sub ebx, dword [esp + 0x1c]
jmp 0x52f8b7
mov dword [esp + 0x1c], edx
jmp 0x52f9b7
mov eax, dword [esp + 0x2c]
mov edx, ebp
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ecx
mov esi, eax
add eax, 4
mov dword [esp + 0x40], eax
lea eax, [ebp + 4]
mov dword [esp + 0x44], eax
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
mov dword [edx], eax
mov eax, esi
add esi, 8
sub eax, dword [esp + 0x2c]
mov eax, dword [ecx + eax]
mov ecx, edx
add edx, 8
sub ecx, ebp
cmp edi, edx
mov dword [ebx + ecx], eax
ja 0x52fa0d
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
jmp 0x52f834
sub ecx, 1
sub ebx, 1
cmp ecx, dword [esp + 0x2c]
je 0x52f7aa
cmp ebx, dword [esp + 0x24]
jne 0x52f79d
jmp 0x52f7aa