Function at 0x41e430
Capabilities:
Create thread

Disassembly:
sub esp, 0x274
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x280]
mov eax, dword [ebx + 0x994]
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x41e466
cmp ebp, dword [ebx + 0xc]
jne 0x41e466
call fcn.00409680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret 8
push 0x80
mov dword [esp + 0x1c], 0x4cc7c8
call fcn.004be967
mov ecx, dword [ebx + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 4
cmp ebp, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x1f
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x28], esi
jne 0x41e55f
mov esi, dword [esp + 0x28c]
mov ebp, 1
test esi, esi
jne 0x41e4d8
push eax
mov dword [esp + 0x1c], 0x4cc7c8
call fcn.004be975
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret 8
push 4
call fcn.004be967
mov dword [esp + 0x14], eax
mov eax, dword [esi]
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41e8e6
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0x4cc7c8
test eax, eax
je 0x41e543
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x41e543
cmp esi, eax
jge 0x41e53a
test esi, esi
jl 0x41e53a
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x41e53a
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x41e525
mov eax, dword [esp + 0x1c]
push eax
call fcn.004be975
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret 8
mov eax, dword [ebx + 0xc]
cmp ebp, eax
jne 0x41e507
push 0
push 0
push 0x1032
push eax
call edi
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x34], ebp
je 0x41e507
lea ecx, [ebx + 0x20c]
push ecx
call fcn.00453580
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41e5eb
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0x4cc7c8
test eax, eax
je 0x41e5cf
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x41e5cf
cmp esi, eax
jge 0x41e5ca
test esi, esi
jl 0x41e5ca
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x41e5ca
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x41e5b1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004be975
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret 8
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x41e63a
mov edx, dword [ebx + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0xbc]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41e623
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [ebx + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xbc], 0
mov edx, dword [ebx + 8]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x208]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x41e674
call fcn.0045aeb0
test eax, eax
je 0x41e674
mov ecx, dword [ebx + 0x208]
push 0
push 0
call fcn.0045fcf0
push 0
mov ecx, ebx
call fcn.0041a080
lea ecx, [ebp*4]
push ecx
call fcn.004be967
add esp, 4
or esi, 0xffffffff
test ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], 0
jle 0x41e4fb
mov edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [ebx + 0xc]
push 2
push esi
push 0x100c
push eax
call edi
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x50]
push ecx
push 0
mov esi, eax
push 0x1005
push edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0
call edi
mov ebp, eax
mov eax, dword [esp + 0x70]
neg ebp
sbb ebp, ebp
push 0x104
and ebp, eax
lea eax, [esp + 0x7c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x68]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
push 0
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x84]
push ecx
push 0
push 0
push eax
call dword [edx + 0xc]
mov edx, dword [esp + 0x38]
cmp dword [edx], 0
je 0x41e7e5
test ebp, ebp
je 0x41e7be
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x41e7aa
mov edx, dword [esp + 0x2c]
add eax, edx
lea eax, [eax*4 + 4]
push eax
call fcn.004be967
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0x50], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
push eax
call fcn.004be975
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
add eax, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax + ecx*4], ebp
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], edx
jl 0x41e6a1
mov ebp, ecx
jmp 0x41e4fb
mov edx, dword [esp + 0x10]
push edx
call fcn.004be975
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [sym.imp.USER32.dll_MessageBeep]
push 0xffffffffffffffff
call esi
mov eax, dword [0x4eb46c]
test eax, eax
je 0x41e88e
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x41e864
mov edx, dword [ebx + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0xbc]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41e843
push 0x40
call esi
mov ecx, dword [ebx + 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xbc], 0
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x41e88e
mov edx, dword [ebx + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x44]
push eax
push 0
push ebx
push 0x411fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xbc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0x4cc7c8
test eax, eax
je 0x41e8ca
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x41e8ca
cmp esi, eax
jge 0x41e8c5
test esi, esi
jl 0x41e8c5
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x41e8c5
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x41e8ac
mov eax, dword [esp + 0x1c]
push eax
call fcn.004be975
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret 8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x40]
mov ecx, dword [esi]
push edx
mov edx, dword [ebx + 0xc]
push 0
push 0x4cca20
push eax
push ebp
push edx
push esi
call dword [ecx + 0x28]
test eax, eax
jl 0x41ead1
mov dword [esp + 0x34], 2
call fcn.00427060
mov esi, eax
test esi, esi
je 0x41eac3
mov eax, dword [ebx + 0x40c]
test eax, eax
je 0x41e936
mov ecx, ebx
call fcn.00417060
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
push 7
push esi
push ecx
call dword [sym.imp.ole32.dll_DoDragDrop]
mov edx, dword [esi]
push esi
mov ebp, eax
call dword [edx + 8]
test ebp, ebp
jl 0x41eac3
mov ecx, dword [esp + 0x34]
mov eax, 1
shr ecx, 1
and ecx, eax
mov dword [esp + 0x3c], ecx
jne 0x41e9bd
mov esi, dword [0x4eb46c]
mov ecx, ebx
mov dword [0x4eb46c], eax
call fcn.00420600
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x41e9b2
mov edx, dword [ebx + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0x3c]
push eax
push 0
push ebx
push 0x411fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xbc], eax
mov dword [0x4eb46c], esi
jmp 0x41eac3
mov ecx, dword [esp + 0x288]
mov edx, dword [ebx + 0xc]
cmp ecx, edx
jne 0x41e9e8
mov esi, dword [esp + 0x20]
xor ecx, ecx
cmp esi, eax
lea edx, [esp + 0x18]
sete cl
push ecx
push edx
mov ecx, ebx
call fcn.0041ff00
jmp 0x41eac3
mov eax, dword [ebx + 0x10]
cmp ecx, eax
jne 0x41eac3
mov ecx, dword [0x4eb434]
test ecx, ecx
je 0x41eac3
push 0
push 0
push 0xb
push eax
call edi
push 1
push 0
mov ecx, ebx
call fcn.0041ce90
lea esi, [ebx + 0x20c]
push 0
push esi
call fcn.004becfa
add esp, 8
test eax, eax
je 0x41ea60
mov ecx, ebx
call fcn.00411900
mov eax, dword [ebx + 0x10]
push 0
push 9
push 0x110a
push eax
call edi
mov ecx, dword [ebx + 0x10]
mov esi, eax
push esi
push 4
push 0x110a
push ecx
call edi
test eax, eax
jne 0x41eab7
push 1
push esi
mov ecx, ebx
call fcn.0041ce90
jmp 0x41eab7
mov eax, dword [0x4eb434]
test eax, eax
je 0x41eab7
mov edx, dword [ebx + 0x10]
push 0
push 0
push 0xb
push edx
call edi
push esi
mov ecx, ebx
call fcn.0041cd60
mov esi, eax
test esi, esi
je 0x41eaab
mov eax, dword [ebx + 0x10]
push esi
push 0
push 0x1114
push eax
call edi
mov ecx, dword [ebx + 0x10]
push esi
push 9
push 0x110b
push ecx
call edi
mov edx, dword [ebx + 0x10]
push 0
push 1
push 0xb
push edx
jmp 0x41eab5
mov eax, dword [ebx + 0x10]
push 0
push 1
push 0xb
push eax
call edi
mov ecx, dword [ebx + 0x10]
push 0
push 1
push 0xb
push ecx
call edi
mov eax, dword [esp + 0x40]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [0x4eb21c]
test eax, eax
je 0x41eb01
mov ecx, dword [ebx + 0x208]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x41eb01
push 0xffffffffffffffff
call fcn.0045b0c0
test eax, eax
jne 0x41eb01
push 1
mov ecx, ebx
call fcn.00412600
mov edx, dword [esp + 0x10]
push edx
call fcn.004be975
mov eax, dword [0x4eb46c]
add esp, 4
test eax, eax
je 0x41eb9e
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x41eb74
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebx + 0xbc]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41eb53
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [ebx + 0xbc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xbc], 0
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x41eb9e
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 0x3c]
push ecx
push 0
push ebx
push 0x411fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0xbc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0x4cc7c8
test eax, eax
je 0x41ebda
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x41ebda
cmp esi, eax
jge 0x41ebd5
test esi, esi
jl 0x41ebd5
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x41ebd5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x41ebbc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004be975
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x274
ret 8