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

Disassembly:
push 0xffffffffffffffff
push 0x452808
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
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 0x410e7b
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.0041a6e7
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x410ced
mov eax, dword [ebx + 0x20]
push eax
call edi
test eax, eax
je 0x410e7b
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 0x410e6f
mov eax, dword [esi + 0x190]
push eax
call fcn.00414d02
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0040b430
mov edi, eax
sub edi, 1
js 0x410d51
mov eax, dword [esi + 0x190]
push edi
push eax
call fcn.00414d02
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0040f2c0
sub edi, 1
jns 0x410d35
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x1302
push eax
call ebp
push eax
call fcn.00421b1d
mov ebx, eax
test ebx, ebx
je 0x410dd7
mov eax, dword [ebx + 4]
push eax
xor edi, edi
call fcn.00414d02
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0040b430
test eax, eax
jle 0x410dd7
mov eax, dword [ebx + 4]
push 0
push edi
push eax
call fcn.00414d02
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0040f420
mov ebp, eax
mov eax, dword [esi + 0x190]
push ebp
push 0xffffffffffffffff
push eax
call fcn.00414d02
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040b590
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebx + 4]
push eax
add edi, 1
call fcn.00414d02
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0040b430
cmp edi, eax
jl 0x410d85
lea eax, [esi + 0x194]
test eax, eax
je 0x410e6b
cmp dword [eax + 4], 0
je 0x410e6b
mov eax, dword [esi + 0x198]
push 0
push 0
push eax
call fcn.00414d02
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0040f420
mov edi, eax
test edi, edi
je 0x410e2f
mov eax, dword [esi + 0x190]
push edi
push 0xffffffffffffffff
push eax
call fcn.00414d02
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.0040b590
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esi + 0x198]
push 0
push 1
push eax
call fcn.00414d02
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0040f420
mov edi, eax
mov eax, dword [esi + 0x190]
push edi
push 0xffffffffffffffff
push eax
call fcn.00414d02
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0040b590
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 0x410e94
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.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41104a
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 0x410f10
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004014d0
mov edi, dword [esp + 0x18]
test edi, edi
mov dword [esp + 0x30], edi
je 0x411054
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 0x410f36
sub eax, edx
js 0x411095
cmp eax, dword [edi - 8]
jg 0x411095
mov dword [edi - 0xc], eax
mov byte [eax + edi], cl
mov eax, dword [esp + 0x30]
push 0xffff0000
push eax
mov ecx, esi
call fcn.004109a0
mov ebx, eax
test ebx, ebx
je 0x411001
mov ecx, dword [esi + 0x178]
push ebp
push 0
push 0
push 0
push 0
push 0
push 4
push ebx
call fcn.004214e7
cmp dword [esi + 0x188], 0
je 0x411001
mov ebp, dword [esp + 0x38]
test ebp, ebp
jl 0x410fb5
mov eax, dword [esi + 0x190]
push eax
call fcn.00414d02
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.0040b430
cmp ebp, eax
jl 0x410fe5
lea eax, [esi + 0x194]
test eax, eax
je 0x410fe2
cmp dword [eax + 4], 0
je 0x410fe2
mov eax, dword [esi + 0x190]
push eax
call fcn.00414d02
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.0040b430
mov ebp, eax
sub ebp, 1
jmp 0x410fe5
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.004214e7
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 0x411025
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 0x410e90
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 0x410e7b
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