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

Disassembly:
mov eax, 0x5c
call fcn.00525ec0
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
lea eax, [ebx + ebx + 4]
push edi
push eax
call fcn.0050f3bc
mov edx, dword [esp + 0x80]
add esp, 4
mov ebp, eax
push ebx
lea edi, [ebx + ebp]
push edx
lea ecx, [edi + ebx]
push edi
mov dword [esp + 0x20], ecx
call fcn.005165f0
lea eax, [ebx - 1]
add esp, 0xc
xor esi, esi
test eax, eax
jbe 0x52cd98
mov dl, byte [eax + edi]
mov cl, byte [esi + edi]
mov byte [esi + edi], dl
mov byte [eax + edi], cl
inc esi
dec eax
cmp esi, eax
jb 0x52cd86
mov eax, dword [esp + 0x80]
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [ecx], edx
xor eax, eax
mov esi, 3
mov edi, edi
movzx edx, byte [eax + ecx]
mov byte [esp + 0x78], dl
movzx edx, byte [esi + ecx]
mov byte [eax + ecx], dl
movzx edx, byte [esp + 0x78]
mov byte [esi + ecx], dl
inc eax
dec esi
cmp eax, esi
jb 0x52cdb0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
push ebp
call fcn.005165f0
mov eax, dword [esp + 0x80]
add esp, 0xc
xor esi, esi
add eax, 0xffffffff
je 0x52ce02
mov edi, edi
mov dl, byte [eax + ebp]
mov cl, byte [esi + ebp]
mov byte [esi + ebp], dl
mov byte [eax + ebp], cl
inc esi
dec eax
cmp esi, eax
jb 0x52cdf0
call fcn.0046e820
pxor xmm0, xmm0
movq qword [esp + 0x2c], xmm0
movq qword [esp + 0x34], xmm0
pxor xmm0, xmm0
movq qword [esp + 0x40], xmm0
movq qword [esp + 0x48], xmm0
pxor xmm0, xmm0
mov esi, eax
xor eax, eax
movq qword [esp + 0x18], xmm0
movq qword [esp + 0x20], xmm0
pxor xmm0, xmm0
push edi
lea ecx, [esp + 0x30]
mov edx, ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
movq qword [esp + 0x58], xmm0
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x68], eax
call fcn.00465520
mov eax, dword [esp + 0x18]
add esp, 4
push eax
lea ecx, [esp + 0x44]
mov edx, 4
call fcn.00465520
mov edx, dword [esp + 0x78]
add esp, 4
push ebp
lea ecx, [esp + 0x1c]
call fcn.00465520
add esp, 4
cmp dword [esp + 0x30], 0
jle 0x52cefe
mov ecx, dword [esp + 0x2c]
test byte [ecx], 1
je 0x52cefe
cmp dword [esp + 0x1c], 1
jne 0x52cedd
cmp dword [esp + 0x24], 0
jne 0x52cedd
test byte [esp + 0x50], 4
jne 0x52cedd
mov ecx, dword [esp + 0x18]
push 0
push esi
lea edx, [esp + 0x34]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x4c]
push eax
push edx
lea eax, [esp + 0x68]
push eax
call fcn.0046fcb0
add esp, 0x18
jmp 0x52cf1a
push 0
push esi
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0046f170
add esp, 0x18
jmp 0x52cf1a
push esi
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0046ecf0
add esp, 0x10
mov edi, dword [esp + 0x84]
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.00465610
lea ecx, [eax - 1]
add esp, 4
xor esi, esi
mov dword [esp + 0x74], eax
test ecx, ecx
jbe 0x52cf56
lea ecx, [ecx]
mov al, byte [ecx + edi]
mov dl, byte [esi + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
inc esi
dec ecx
cmp esi, ecx
jb 0x52cf40
mov eax, dword [esp + 0x74]
cmp eax, ebx
jge 0x52cf6a
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.00516180
add esp, 0xc
lea edi, [esp + 0x54]
call fcn.004651a0
lea edi, [esp + 0x18]
call fcn.00465130
lea edi, [esp + 0x40]
call fcn.004651a0
lea edi, [esp + 0x2c]
call fcn.004651a0
mov esi, dword [esp + 0x78]
call fcn.0046e8e0
push ebp
call fcn.0050f521
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18