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

Disassembly:
push 0xffffffffffffffff
push 0x47be88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x42978b
mov eax, dword [esi + 0x178]
mov ecx, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffff0000
push 0
push 0x1101
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x474
push edx
call ebp
push eax
call fcn.0043b872
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x4295fd
mov eax, dword [ebx + 0x20]
push eax
call edi
test eax, eax
je 0x42978b
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1304
push eax
call ebp
cmp dword [esi + 0x188], 0
mov dword [esp + 0x20], eax
je 0x42977f
mov eax, dword [esi + 0x190]
push eax
call fcn.00434c9e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0041eb70
mov edi, eax
sub edi, 1
js 0x429661
mov eax, dword [esi + 0x190]
push edi
push eax
call fcn.00434c9e
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00426cd0
sub edi, 1
jns 0x429645
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1302
push eax
call ebp
push eax
call fcn.00441805
mov ebx, eax
test ebx, ebx
je 0x4296e7
mov eax, dword [ebx + 4]
push eax
xor edi, edi
call fcn.00434c9e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0041eb70
test eax, eax
jle 0x4296e7
mov eax, dword [ebx + 4]
push 0
push edi
push eax
call fcn.00434c9e
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00426e30
mov ebp, eax
mov eax, dword [esi + 0x190]
push ebp
push 0xffffffffffffffff
push eax
call fcn.00434c9e
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0041ecd0
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebx + 4]
push eax
add edi, 1
call fcn.00434c9e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0041eb70
cmp edi, eax
jl 0x429695
lea eax, [esi + 0x194]
test eax, eax
je 0x42977b
cmp dword [eax + 4], 0
je 0x42977b
mov eax, dword [esi + 0x198]
push 0
push 0
push eax
call fcn.00434c9e
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00426e30
mov edi, eax
test edi, edi
je 0x42973f
mov eax, dword [esi + 0x190]
push edi
push 0xffffffffffffffff
push eax
call fcn.00434c9e
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0041ecd0
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esi + 0x198]
push 0
push 1
push eax
call fcn.00434c9e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00426e30
mov edi, eax
mov eax, dword [esi + 0x190]
push edi
push 0xffffffffffffffff
push eax
call fcn.00434c9e
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0041ecd0
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
cmp dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
jg 0x4297a4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebx, dword [esp + 0x14]
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42995a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], 3
mov dword [esp + 0x34], 0x104
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x429820
push 0x104
lea ecx, [esp + 0x1c]
call fcn.00401510
mov edi, dword [esp + 0x18]
test edi, edi
mov dword [esp + 0x30], edi
je 0x429964
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x24]
push ecx
push ebp
push 0x1305
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429846
sub eax, edx
js 0x4299a5
cmp eax, dword [edi - 8]
jg 0x4299a5
mov dword [edi - 0xc], eax
mov byte [eax + edi], cl
mov eax, dword [esp + 0x30]
push 0xffff0000
push eax
mov ecx, esi
call fcn.00428920
mov ebx, eax
test ebx, ebx
je 0x429911
mov ecx, dword [esi + 0x178]
push ebp
push 0
push 0
push 0
push 0
push 0
push 4
push ebx
call fcn.00441167
cmp dword [esi + 0x188], 0
je 0x429911
mov ebp, dword [esp + 0x38]
test ebp, ebp
jl 0x4298c5
mov eax, dword [esi + 0x190]
push eax
call fcn.00434c9e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0041eb70
cmp ebp, eax
jl 0x4298f5
lea eax, [esi + 0x194]
test eax, eax
je 0x4298f2
cmp dword [eax + 4], 0
je 0x4298f2
mov eax, dword [esi + 0x190]
push eax
call fcn.00434c9e
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0041eb70
mov ebp, eax
sub ebp, 1
jmp 0x4298f5
or ebp, 0xffffffff
mov ecx, dword [esi + 0x178]
push 0
push 0
push 0
push ebp
push ebp
push 0
push 0x22
push ebx
call fcn.00441167
mov ebp, dword [esp + 0x1c]
add edi, 0xfffffff0
mov dword [esp + 0x48], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x429935
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 1
cmp ebp, dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
jl 0x4297a0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push 0x80004005
call fcn.00401000
mov dword [esp + 0x48], 0xffffffff
mov eax, 0xfffffff0
mov ecx, 0xfffffffc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42978b
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xfffffffffffffff0
call edx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
push 0x80070057
call fcn.00401000
int3