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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54ab2c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0x1302
push eax
call ebx
push eax
call fcn.00507639
test eax, eax
jne 0x43d0df
lea eax, [edi + 0x68]
cmp eax, esi
jne 0x43d0c9
xor eax, eax
jmp 0x43d0cc
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x20]
push eax
push esi
push 0x1303
push ecx
call ebx
push eax
call fcn.00507639
mov ecx, dword [edi + 0x70]
cmp ecx, esi
je 0x43d0fb
add dword [ecx + 0x1a0c], 0xffffffff
jne 0x43d0f8
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
call fcn.00504604
cmp eax, esi
je 0x43d114
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
cmp eax, esi
jne 0x43d118
xor eax, eax
jmp 0x43d12a
mov eax, dword [eax + 0x60]
cmp eax, esi
jne 0x43d123
xor eax, eax
jmp 0x43d12a
add dword [eax + 0x1a0c], 1
cmp eax, esi
mov dword [edi + 0x70], eax
je 0x43d139
add eax, 0x19b4
mov dword [edi + 0x74], eax
mov ecx, dword [edi + 0x20]
push esi
push esi
push 0x1309
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call ebx
mov ebx, edi
call fcn.0043d600
xor esi, esi
cmp dword [edi + 0x74], esi
je 0x43d25b
mov eax, dword [edi + 0x70]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x43d2be
cmp dword [eax + 0x2c], esi
je 0x43d2be
push 0x564f30
lea ecx, [esp + 0x14]
call fcn.00404670
mov dword [esp + 0x48], esi
mov edx, dword [edi + 0x70]
add edx, 0x4ec
push edx
mov esi, 0x1081
lea eax, [esp + 0x14]
call fcn.00474a80
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp dword [eax - 4], ebx
jle 0x43d1d1
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.004029d0
mov eax, dword [esp + 0x10]
push 0x1001
push 8
push eax
push 0
push 0xb
mov ecx, edi
call fcn.005072af
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x43d1f0
xor eax, eax
jmp 0x43d20a
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d1f5
sub eax, esi
sar eax, 1
js 0x43d2b4
cmp eax, dword [edx - 8]
jg 0x43d2b4
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x10]
push 0x1d3c
mov word [ecx + eax*2], 0
call fcn.004fae94
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x48], bl
je 0x43d243
push eax
call fcn.004bbb10
mov esi, eax
jmp 0x43d245
xor esi, esi
test esi, esi
mov byte [esp + 0x48], 0
mov dword [esp + 0x1c], esi
jne 0x43d272
lea ecx, [esp + 0x10]
call fcn.00401640
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [edi + 0x78]
call fcn.00503381
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004fd874
lea ebx, [esp + 0x2c]
call fcn.00421940
test eax, eax
lea ecx, [esp + 0x10]
je 0x43d256
mov esi, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], 0xffffffff
call fcn.00401640
jmp 0x43d2c3
push 0x80070057
call fcn.00402900
mov esi, 1
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 8]
test eax, eax
jne 0x43d308
mov eax, edi
call fcn.0043d660
call fcn.0043d810
mov ebx, dword [ebp + 8]
push 0
call fcn.0043daf0
push 1
call fcn.0043daf0
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43d52f
mov ebx, dword [eax + 8]
test ebx, ebx
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
je 0x43d51b
cmp dword [ebx + 0x28], 0
je 0x43d51b
cmp dword [ebx + 0x34], esi
jne 0x43d51b
mov eax, dword [edi + 0x70]
test eax, eax
je 0x43d356
cmp dword [eax + 0x2c], 0
je 0x43d356
cmp dword [ebx + 0x78], esi
jne 0x43d356
mov eax, dword [esp + 0x1c]
mov dword [eax + 0xf4], ebx
mov dword [eax + 0x298], ebx
mov dword [esp + 0x20], 7
xor esi, esi
mov eax, dword [edi + 0x70]
test eax, eax
je 0x43d383
cmp dword [eax + 0x4e8], 0
je 0x43d383
mov eax, dword [eax + 0x4e8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x98]
push ebx
call eax
mov ecx, dword [esi*8 + 0x5ae340]
cmp ecx, dword [ebx + 0x78]
je 0x43d399
add esi, 1
cmp esi, 0xa
jb 0x43d360
jmp 0x43d3a4
mov edx, dword [esi*8 + 0x5ae344]
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
call fcn.00404600
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x10], edi
mov esi, dword [ebp + 8]
mov dword [esp + 0x48], 2
mov eax, dword [esi + 0x70]
test eax, eax
je 0x43d425
cmp dword [eax + 0x4e8], 0
je 0x43d425
mov eax, dword [eax + 0x4e8]
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call edx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00404ff0
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d421
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 4], 1
jle 0x43d43c
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.004029d0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edx
push eax
push edi
push ecx
push 0xb
mov ecx, esi
call fcn.005072af
test edi, edi
jne 0x43d45d
xor eax, eax
jmp 0x43d477
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d462
sub eax, edx
sar eax, 1
js 0x43d2b4
cmp eax, dword [edi - 8]
jg 0x43d2b4
mov dword [edi - 0xc], eax
push 0x540
mov word [edi + eax*2], 0
call fcn.004fae94
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x48], 4
je 0x43d4ad
push eax
call fcn.0043a4a0
mov esi, eax
jmp 0x43d4af
xor esi, esi
test esi, esi
mov byte [esp + 0x48], 2
je 0x43d534
mov eax, ebx
mov ecx, esi
call fcn.0043aa30
mov ebx, dword [ebp + 8]
push esi
lea ecx, [ebx + 0x78]
call fcn.00503381
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004fd874
lea ebx, [esp + 0x2c]
call fcn.00421940
add edi, 0xfffffff0
or ecx, 0xffffffff
test eax, eax
mov dword [esp + 0x48], 0xffffffff
lea eax, [edi + 0xc]
je 0x43d56f
add dword [esp + 0x14], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43d513
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov edi, dword [ebp + 8]
mov esi, 1
add dword [esp + 0x18], esi
cmp dword [esp + 0x24], 0
jne 0x43d304
jmp 0x43d2cd
call fcn.00504221
add edi, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d558
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43d582
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4