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

Disassembly:
sub esp, 0x38
push ebp
mov ebp, dword [esp + 0x54]
dec ebp
test ebp, ebp
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0x270f
mov dword [esp + 0x14], 0xffffd8f1
mov dword [esp + 8], ebp
jl 0x52bb63
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x74]
cmp ecx, eax
mov edx, dword [esp + 0x5c]
jge 0x52bb6a
cmp edx, eax
jg 0x52bb63
cmp dword [esp + 0x64], ecx
jge 0x52bb74
xor eax, eax
pop ebp
add esp, 0x38
ret
cmp edx, ecx
jg 0x52bb63
cmp dword [esp + 0x64], eax
jl 0x52bb63
cmp ebp, 0xffffffff
jl 0x52bf80
push ebx
push esi
push edi
xor edi, edi
cmp ebp, 0xffffffff
mov dword [esp + 0x10], edi
jle 0x52bcdc
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x52bc81
test ebp, ebp
jle 0x52bbc1
nop
xor eax, eax
mov ax, word [ebx + ebp*2]
push eax
call fcn.00584f90
add esp, 4
test eax, eax
je 0x52bbb9
dec ebp
inc edi
test ebp, ebp
jg 0x52bba0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x60]
lea eax, [edi + ebp]
lea esi, [eax + 1]
cmp esi, ecx
jge 0x52bbfe
lea edi, [ebx + eax*2 + 2]
xor ecx, ecx
mov cx, word [edi]
push ecx
call fcn.00584f90
add esp, 4
test eax, eax
je 0x52bbfa
mov eax, dword [esp + 0x10]
inc eax
add edi, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
inc esi
cmp esi, eax
jl 0x52bbd3
mov edi, dword [esp + 0x10]
xor eax, eax
lea esi, [edi + ebp + 1]
cmp esi, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
jne 0x52bc1c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
xor eax, eax
mov edi, dword [esp + 0x50]
push 2
push 0xd20
lea edx, [esp + 0x40]
push edx
push esi
push ebx
push edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.00529e80
add esp, 0x18
test eax, eax
je 0x52bc69
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
sub eax, esi
sub ecx, edx
mov dword [esp + 0x34], ecx
jmp 0x52bcd1
lea edx, [esp + 0x30]
push edx
push esi
push ebx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jmp 0x52bcd1
test ebp, ebp
jle 0x52bcac
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
add ecx, dword [esp + 0x5c]
push ebp
push ecx
call fcn.005dd489
add esp, 8
cmp eax, 2
jne 0x52bca4
dec ebp
inc edi
test ebp, ebp
jg 0x52bc85
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov eax, dword [esp + 0x5c]
push 0
push 0
push 0
lea edx, [edi + ebp + 1]
push edx
mov edx, dword [esp + 0x60]
add ecx, eax
push ecx
push edx
call fcn.0052a000
add esp, 0x18
sub eax, dword [esp + 0x88]
test eax, eax
jge 0x52bcde
xor eax, eax
mov edx, dword [esp + 0x28]
cmp edx, 0xffffffff
je 0x52bf71
cmp dword [esp + 0x1c], 0xffffffff
je 0x52bf71
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add ecx, eax
sub edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
cmp esi, eax
mov esi, dword [esp + 0x84]
jg 0x52bdbe
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
add eax, esi
cmp eax, ebx
jle 0x52bdbe
mov esi, dword [esp + 0x80]
cmp dword [esp + 0x68], esi
jg 0x52bd85
cmp eax, esi
jle 0x52bd85
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x7c]
cmp edi, esi
lea ebx, [ecx + edx]
jge 0x52bd68
cmp ebx, edi
jle 0x52bf55
cmp ecx, esi
jg 0x52bf55
mov dword [esp + 0x18], 1
jmp 0x52be59
cmp ebx, esi
jle 0x52bf55
cmp ecx, edi
jg 0x52bf55
mov dword [esp + 0x18], 2
jmp 0x52be59
cmp dword [esp + 0x78], esi
jge 0x52bda7
mov ebx, dword [esp + 0x74]
lea esi, [ecx + edx]
cmp esi, ebx
jle 0x52bf59
mov dword [esp + 0x18], 3
jmp 0x52be59
cmp ecx, dword [esp + 0x74]
jg 0x52bf59
mov dword [esp + 0x18], 4
jmp 0x52be59
mov ebx, dword [esp + 0x80]
cmp dword [esp + 0x68], ebx
jg 0x52be08
mov eax, dword [esp + 0x70]
add eax, esi
cmp eax, ebx
jle 0x52be08
cmp dword [esp + 0x78], ebx
jge 0x52bdef
cmp ecx, dword [esp + 0x7c]
jg 0x52bf59
mov dword [esp + 0x18], 5
jmp 0x52be59
mov ebx, dword [esp + 0x7c]
lea esi, [ecx + edx]
cmp esi, ebx
jle 0x52bf59
mov dword [esp + 0x18], 6
jmp 0x52be59
mov eax, dword [esp + 0x78]
cmp eax, ebx
jge 0x52be37
cmp dword [esp + 0x68], eax
jl 0x52bf59
mov eax, dword [esp + 0x70]
add eax, esi
cmp eax, dword [esp + 0x80]
jg 0x52bf59
mov dword [esp + 0x18], 7
jmp 0x52be59
cmp dword [esp + 0x68], ebx
jl 0x52bf59
mov eax, dword [esp + 0x70]
add eax, esi
cmp eax, dword [esp + 0x78]
jg 0x52bf59
mov dword [esp + 0x18], 8
mov ebx, dword [esp + 0x90]
mov edi, dword [ebx + 4]
cmp edi, 0x270f
je 0x52bf24
mov ebp, dword [ebx + 0xc]
cmp ebp, 0xffffd8f1
je 0x52bf20
mov esi, dword [ebx]
cmp esi, 0x270f
je 0x52bf20
mov ebx, dword [ebx + 8]
cmp ebx, 0xffffd8f1
je 0x52bf19
cmp edi, dword [esp + 0x68]
jne 0x52beb0
cmp esi, ecx
jle 0x52bec4
mov esi, dword [esp + 0x90]
mov dword [esi], ecx
jmp 0x52bec4
mov esi, dword [esp + 0x68]
cmp edi, esi
jle 0x52bec4
mov edi, dword [esp + 0x90]
mov dword [edi + 4], esi
mov dword [edi], ecx
cmp ebp, eax
jne 0x52bedb
lea eax, [ecx + edx]
cmp ebx, eax
jge 0x52beec
mov ecx, dword [esp + 0x90]
mov dword [ecx + 8], eax
jmp 0x52beec
jge 0x52beec
mov esi, dword [esp + 0x90]
add ecx, edx
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jge 0x52befa
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x90]
add eax, edx
cmp eax, ecx
jle 0x52bf47
mov dword [esp + 0x20], eax
jmp 0x52bf47
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov dword [ebx], ecx
add ecx, edx
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x1c]
add ecx, eax
mov dword [ebx + 4], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x18]
cmp eax, 7
je 0x52bf77
cmp eax, 8
je 0x52bf77
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
dec ebp
cmp ebp, 0xffffffff
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebp
jge 0x52bb80
jmp 0x52bf7d
mov dword [esp + 0x28], eax
jmp 0x52bf59
mov dword [ebx], 0
pop edi
pop esi
pop ebx
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x1c]
add ecx, 0x213c
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
call fcn.0052b980
add esp, 0x1c
mov eax, 1
pop ebp
add esp, 0x38
ret