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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58652a
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5e5c10]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5e5c10]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x70]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], edi
call eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x14], ebx
je 0x41b0a7
cmp dword [esp + 0x1c], ebx
jne 0x41b0e1
jmp 0x41b0c5
cmp dword [esp + 0x1c], ebx
je 0x41b450
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0045a6fb
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
je 0x41b450
cmp dword [esp + 0x1c], ebx
je 0x41b450
mov dword [esp + 0x38], 1
mov edx, dword [esi]
mov eax, dword [edx + 0x6c]
mov ecx, esi
mov dword [esp + 0x34], ebx
call eax
mov edi, dword [esp + 0x14]
test eax, eax
je 0x41b104
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov dword [esp + 0x30], eax
test al, 0x10
je 0x41b38b
test al, 0x20
jne 0x41b38b
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401990
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jg 0x41b150
mov dword [esp + 0x2c], 0xffffffff
jmp 0x41b177
push 0xa
push ecx
call fcn.0056132d
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
jne 0x41b16d
mov dword [esp + 0x2c], 0xffffffff
jmp 0x41b177
sub eax, ecx
sar eax, 1
mov dword [esp + 0x2c], eax
jns 0x41b19b
add ecx, 0xfffffff0
push ecx
call fcn.0040c280
add eax, 0x10
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x80], 1
or ebx, 1
jmp 0x41b1b8
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x20]
call fcn.00415630
mov dword [esp + 0x80], 2
or ebx, 2
mov eax, dword [eax]
sub eax, 0x10
push eax
mov dword [esp + 0x24], ebx
call fcn.0040c280
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x80], 4
test bl, 2
je 0x41b208
mov eax, dword [esp + 0x54]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b208
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 5
test bl, 1
je 0x41b23c
mov eax, dword [esp + 0x3c]
and ebx, 0xfffffffe
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b23c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 0xc]
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 8]
lea ecx, [esp + 0x58]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x24]
jle 0x41b262
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp eax, ecx
jl 0x41b2e3
inc eax
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
call fcn.004183c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 6
call fcn.0040c2f0
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b2b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b13c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b13c
lea eax, [esi - 0x10]
mov byte [esp + 0x80], cl
lea edx, [eax + 0xc]
or esi, 0xffffffff
lock xadd dword [edx], esi
dec esi
test esi, esi
jg 0x41b308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
mov edx, dword [esp + 0x24]
push ecx
inc edx
push edx
push ecx
push ecx
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
or eax, 0x400
push eax
lea eax, [esp + 0x64]
push eax
push 0xffffffffffffffff
push ecx
mov ecx, edi
call edx
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
sub esi, dword [esp + 0x60]
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b3bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b3bc
mov edx, dword [esp + 0x1c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b394
sub eax, esi
lea ecx, [esp + 0x48]
push ecx
sar eax, 1
push eax
push edx
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41b3d0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0x78]
add ebx, ebx
call eax
add eax, eax
add edi, ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx]
add esi, eax
mov eax, dword [edx + 0x68]
mov ecx, ebx
call eax
mov eax, dword [eax + 8]
cmp eax, 0x384
je 0x41b40e
cmp eax, 0xfffffc7c
jne 0x41b428
mov edx, dword [ebx]
mov eax, dword [edx + 0x78]
mov ecx, ebx
mov dword [esp + 0x30], esi
call eax
mov ecx, dword [esp + 0x30]
add eax, eax
add eax, eax
mov esi, edi
lea edi, [eax + ecx]
cmp dword [esp + 0x38], 0
je 0x41b445
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x44]
mov dword [eax], esi
mov dword [eax + 4], edi
jmp 0x41b47c
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
call edx
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10c]
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x108]
mov ecx, esi
call edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0055fd94
mov esp, ebp
pop ebp
ret 0xc