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

Disassembly:
push 0xffffffffffffffff
push 0x544b30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x60]
cmp ecx, esi
sete al
test al, al
jne 0x43b4e7
mov ebp, dword [esp + 0x64]
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [esp + 0x60]
test eax, eax
je 0x43b4e7
cmp ecx, esi
jne 0x43b0d3
push 0x80004003
call fcn.0050a1f0
lea eax, [esp + 0x1c]
push eax
call fcn.00424fa0
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x43b161
mov ebx, dword [eax]
cmp ebx, esi
je 0x43b161
push 0x55d904
push ebx
mov byte [esp + 0x1e], 0
call fcn.0050c88b
add esp, 8
test eax, eax
je 0x43b10c
mov byte [esp + 0x16], 1
push ebx
lea ecx, [esp + 0x1c]
call fcn.00405520
cmp byte [esp + 0x74], 0
mov byte [esp + 0x58], 2
je 0x43b135
push 0x55d900
push 0x55d8f8
lea ecx, [esp + 0x20]
call fcn.0042fbc0
mov eax, dword [esp + 0x18]
mov edi, dword [eax - 0xc]
cmp edi, esi
jne 0x43b18b
add eax, 0xfffffff0
mov byte [esp + 0x58], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43b161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.00404cc0
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x43b4fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x43b4fb
cmp byte [esp + 0x16], 0
mov dword [esp + 0x20], esi
mov byte [esp + 0x17], 0
jne 0x43b403
cmp edi, 0x104
jg 0x43b1ac
mov edi, 0x104
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
push 0x57d4f8
neg ecx
or ecx, eax
push ecx
call fcn.0050eea7
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b208
lea ecx, [esp + 0x18]
call fcn.00406190
lea ecx, [esp + 0x1c]
call fcn.00404cc0
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43b4fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x43b4fb
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.0050c770
push 0xffffffffffffffff
push ebx
push ebp
push esi
call fcn.0050d8ac
mov edx, dword [esp + 0x80]
add esp, 0x1c
xor ecx, ecx
push edx
mov word [esi + edi*2], cx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
jne 0x43b27a
push esi
call fcn.0050d6e3
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00406190
lea ecx, [esp + 0x1c]
call fcn.00404cc0
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x43b4fb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x43b4fb
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x43b292
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 3
jl 0x43b35e
movzx eax, word [esi + 2]
cmp ax, 0x3a
je 0x43b35e
cmp word [esi + 4], 0x5c
je 0x43b35e
cmp word [esi], 0x5c
je 0x43b35e
cmp ax, 0x5c
je 0x43b35e
mov dword [esp + 0x3c], 0x55d90c
mov dword [esp + 0x40], str.HKCU_
mov dword [esp + 0x44], str.HKCR_
mov dword [esp + 0x48], str.HKU_
mov dword [esp + 0x4c], str.HKCC_
mov edx, dword [esp + ebx*4 + 0x3c]
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b300
sub eax, edi
sar eax, 1
push eax
push esi
push edx
call fcn.0050ee70
add esp, 0xc
test eax, eax
je 0x43b35e
inc ebx
cmp ebx, 5
jb 0x43b2f5
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [ecx - 0xc], eax
jle 0x43b35e
nop
movzx ecx, word [esi + eax*2]
cmp cx, 0x3a
je 0x43b346
cmp cx, 0x5c
je 0x43b346
cmp cx, 0x2f
jne 0x43b354
mov edx, 0x57
mov word [esi + eax*2], dx
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, dword [ecx - 0xc]
jl 0x43b330
mov edx, dword [esp + 0x68]
push edx
push esi
push ebp
call dword [sym.imp.SHLWAPI.dll_PathCompactPathW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b370
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x18]
cmp edi, dword [eax - 0xc]
jl 0x43b39c
push 0x55d904
push esi
call fcn.0050c88b
add esp, 8
test eax, eax
je 0x43b3c0
cmp edi, 3
jl 0x43b3c0
push 3
push 0x55d904
push esi
call fcn.0050ee70
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
neg edi
inc edi
mov dword [esp + 0x20], edi
jmp 0x43b3c4
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43b3d4
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x64]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
test edi, edi
jne 0x43b3ef
cmp byte [esp + 0x78], 0
je 0x43b49c
cmp byte [esp + 0x17], 0
je 0x43b466
mov dword [esp + 0x20], 1
jmp 0x43b49c
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x43b415
push 0x80004003
call fcn.0050a1f0
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x6c]
push 0
push 1
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
push ebp
call fcn.00441340
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
add esp, 0x20
cmp eax, ecx
mov dword [esp + 0x28], edx
jle 0x43b3e4
mov dword [esp + 0x20], 2
mov eax, dword [esp + 0x70]
test eax, eax
je 0x43b49c
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00404ad0
mov byte [esp + 0x5c], 3
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x43b492
push 0x80004003
call fcn.0050a1f0
mov byte [esp + 0x5c], 2
call fcn.00425060
push esi
call fcn.0050d6e3
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00406190
lea ecx, [esp + 0x1c]
call fcn.00404cc0
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x60]
test eax, eax
je 0x43b4cf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov dword [esp + 0x58], 0xffffffff
cmp ecx, esi
je 0x43b4fb
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret