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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc0
mov esi, edx
mov ebx, dword [esp + 0xd8]
mov edx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xd4]
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x68], edx
mov edi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
cmp edi, edx
mov dword [esp + 0x90], edx
call 0x526752
pop edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x54], edx
jbe 0x526765
mov dword [ecx], 0
jmp 0x5267bf
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x8c], ecx
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x52a523
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
mov edx, dword [ebx]
mov dword [esp + 8], eax
mov al, byte [esi + 0x10]
mov dword [esp + 0x58], ecx
cmp al, 2
setne byte [esp + 0x43]
test al, 1
sete byte [esp + 0x44]
push dword [ebx + 4]
call fcn.00525a40
add esp, 4
cmp al, 2
mov dword [esp + 0x9c], edx
jne 0x5267ca
mov eax, dword [esp + 0x8c]
mov dword [eax], 0
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ch, al
test al, 1
mov eax, 0
mov byte [esp + 0x4e], ch
jne 0x5267f5
cmp byte [esi + 0xc], 3
lea eax, [esi + 4]
mov ecx, 0x76842c
cmovne ecx, eax
xor eax, eax
cmp byte [ecx + 8], 2
cmovne eax, ecx
mov ch, byte [esp + 0x4e]
mov dword [esp + 0x98], eax
mov al, byte [esp + 0x44]
mov edi, dword [esp + 0x74]
xor edx, edx
and byte [esp + 0x43], al
mov al, ch
and al, 1
mov byte [esp + 0x67], al
lea eax, [ebp + 0x58]
mov dword [esp + 0x78], eax
lea eax, [ebp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xe0]
lea eax, [eax*4]
mov dword [esp + 0x94], eax
mov al, byte [ebx + 0x18]
mov ebx, dword [esp + 0x58]
mov byte [esp + 0x4f], al
cmp dword [ebp + 0x24], 0
jne 0x5268b4
test edx, edx
sete al
cmp edi, dword [esp + 0x74]
seta cl
test byte [esp + 0x67], cl
jne 0x52a396
or al, byte [esp + 0x43]
je 0x52a396
mov eax, dword [esp + 0x98]
test eax, eax
je 0x5268b4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov esi, edx
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
push dword [esp + 0x90]
push edi
push dword [esp + 0xc]
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
push ecx
call dword [eax + 0x20]
add esp, 0x18
cmp dword [esp + 0x24], 0
je 0x52a394
mov edi, dword [esp + 0x28]
mov ch, byte [esp + 0x4e]
mov edx, esi
test ch, 1
mov ah, byte [esp + 0x43]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x18], edi
sete al
test edx, edx
setne dl
cmp edi, dword [esp + 0x74]
not ah
sete cl
test ah, dl
jne 0x5277fa
or al, cl
je 0x5277fa
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x68]
mov esi, edx
mov eax, ecx
mov dword [esp + 0x50], ecx
sub esi, ecx
mov ecx, esi
jb 0x52a54d
mov edx, dword [ebp + 8]
shl ecx, 2
add ecx, dword [ebp + 0x58]
cmp edx, dword [ebp + 4]
mov dword [esp], ecx
jne 0x52691a
mov ecx, ebp
call fcn.00489cfe
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov esi, dword [esp + 0x9c]
lea ecx, [edx + edx*2]
mov dword [eax + ecx*4], 0
mov dword [eax + ecx*4 + 4], esi
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
je 0x5277fa
lea ecx, [edi + 1]
mov edx, edi
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 4]
sub ecx, edi
sub edx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 8]
lea ecx, [ecx + edi]
mov dword [esp + 0x20], ecx
lea ecx, [edi - 1]
mov dword [esp + 0x1c], ecx
mov ecx, 0
cmovb edx, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
lea ecx, [ecx*4]
mov dword [esp + 0x6c], ecx
dec eax
mov dword [ebp + 8], eax
lea eax, [eax + eax*2]
mov ecx, dword [ebp]
mov edx, dword [ecx + eax*4]
mov esi, dword [ecx + eax*4 + 4]
test edx, edx
je 0x5269bb
cmp edx, 2
je 0x5277fa
cmp esi, dword [esp + 0x50]
mov edx, esi
jae 0x52a3c8
mov eax, dword [ecx + eax*4 + 8]
mov esi, dword [esp]
mov dword [esi + edx*4], eax
jmp 0x5277eb
mov edx, dword [ebp + 0x20]
mov ecx, esi
mov dword [esp + 0x48], esi
cmp edx, esi
jbe 0x52a338
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x18]
mov esi, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [edi + ecx*4]
cmp ecx, eax
jae 0x526a0a
mov eax, dword [ebp + 0x14]
cmp eax, ecx
jbe 0x52a34f
mov ebx, dword [esp + 0xd4]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [esp + 0x58]
cmp dword [ebp + ecx*4], esi
mov ebp, dword [esp + 0xd4]
jne 0x526a0d
jmp 0x5277eb
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x44]
cmp ebx, eax
mov dword [esp + 0x60], ebx
jae 0x52a3fc
mov ebp, edi
mov edi, dword [esp + 0xd4]
mov eax, dword [edi + 0xc]
mov dword [eax + ebx*4], esi
mov ecx, dword [esp + 0x48]
cmp edx, ecx
jbe 0x52a33f
mov eax, ebx
mov dword [ebp + ecx*4], ebx
mov ebx, dword [esp + 0x58]
inc eax
mov dword [edi + 0x24], eax
mov edx, dword [ebx + 0x144]
cmp edx, esi
jbe 0x52a346
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x13c]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov ecx, dword [ecx*4 + 0x52a584]
add ecx, dword [esp + 0x54]
jmp ecx
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x18]
test eax, eax
jne 0x526982
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
cmp edx, ecx
jb 0x52a51c
lea edx, [edi + 2]
lea eax, [edi + 1]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [esi + ecx*4]
sub edx, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x3c], edx
xor edx, edx
sub eax, 4
cmovb eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea eax, [eax + edi + 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0xa4], edx
cmp esi, ecx
je 0x52a2a3
mov edx, dword [esi]
mov eax, dword [ebx + 0x144]
cmp eax, edx
jbe 0x52a38e
mov eax, dword [ebx + 0x13c]
add esi, 4
lea ecx, [edx + edx*4]
mov dword [esp + 0x50], esi
lea esi, [eax + ecx*4]
mov eax, dword [esi]
mov eax, dword [eax*4 + 0x52a5c8]
add eax, dword [esp + 0x54]
jmp eax
test byte [esp + 0xa4], 1
je 0x52a2d6
cmp byte [esp + 0x4f], 0
jne 0x52a36b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
xor esi, esi
inc esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
jmp 0x52a2fe
cmp byte [esp + 0x4f], 0
mov ecx, dword [esp + 0xa0]
mov eax, 0
cmove eax, ecx
je 0x52a2fc
mov edi, dword [esp + 0x14]
test ecx, ecx
jne 0x52a389
mov esi, eax
jmp 0x52a302
mov esi, eax
mov edi, dword [esp + 0x14]
mov eax, 0xffffffd0
mov ecx, dword [ebp + eax + 0x3c]
mov edx, dword [ebp + eax + 0x6c]
mov dword [ebp + eax + 0x3c], edx
mov dword [ebp + eax + 0x6c], ecx
add eax, 4
jne 0x52a307
cmp edi, dword [esp + 0x90]
mov ch, byte [esp + 0x4e]
mov edx, esi
mov dword [ebp + 0x54], 0
jbe 0x526840
jmp 0x52a396
push 0x76b264
jmp 0x52a361
push 0x76b254
jmp 0x52a361
mov ecx, esi
push 0x769d48
jmp 0x52a361
mov edx, eax
push 0x76b274
jmp 0x52a361
call fcn.006521f0
add esp, 4
ud2
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x18]
xor edx, edx
inc edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
jmp 0x52a396
xor edx, edx
inc edx
jmp 0x52a396
mov ecx, edx
mov edx, eax
jmp 0x52a348
mov edx, esi
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
mov dword [eax], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x5267bf
mov ecx, edx
mov edx, dword [esp + 0x50]
push 0x76a0b0
jmp 0x52a361
lea ecx, [esp + 0x7c]
lea esi, [esp + 0x60]
mov edx, 0x42c77c
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [ecx], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], edx
mov esi, 3
lea edx, [esp + 0x24]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x38], fcn.004ef497
mov dword [ecx], 0x76b22c
mov dword [ecx + 4], esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
mov edx, 0x76b244
mov dword [ecx + 0xc], esi
call fcn.00652150
ud2
push 0x76b284
jmp 0x52a567
lea ecx, [esp + 0x24]
mov edx, 0x76a080
xor eax, eax
mov dword [ecx], str.byte_slice_lengths_must_be_less_than_usize_MAX
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], eax
mov dword [ecx + 8], 0x7f59e0
mov dword [ecx + 0xc], eax
jmp 0x52a456
push 0x76a134
call fcn.006524b0
jmp 0x52a366
call fcn.00652260
jmp 0x52a366