Function at 0x413650
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x488057
push eax
mov dword fs:[0], esp
mov eax, dword [0x4b41a0]
sub esp, 0x970
push ebx
push ebp
mov ebp, ecx
push esi
xor ecx, ecx
push edi
cmp eax, ecx
je 0x414260
mov eax, dword [0x4aedc0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x988], ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov byte [esp + 0x988], 1
cmp eax, ecx
je 0x41423b
mov eax, dword [0x4b41a8]
mov dword [esp + 0x24], ecx
cmp eax, ecx
jle 0x41423b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x414208
mov edi, dword [esp + 0x24]
mov ecx, dword [0x4b41a0]
mov eax, edi
xor ebx, ebx
shl eax, 5
add eax, edi
lea edi, [edi + eax*2]
shl edi, 5
mov dword [esp + 0x10], edi
lea edx, [edi + ecx + 0x21]
lea ecx, [esp + 0x3c]
push edx
call fcn.00467914
mov eax, dword [0x4b42ac]
mov byte [esp + 0x988], 2
test eax, eax
je 0x4137b1
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4137b1
push 0x4acf90
push eax
call fcn.0043fac5
add esp, 8
test eax, eax
je 0x4137b1
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0046761b
mov ecx, ebp
call fcn.00414590
mov eax, dword [ebp + 0x30]
mov esi, dword [ebp + 0x28]
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x4137b1
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x40]
push eax
call fcn.0046761b
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0043fac5
add esp, 8
mov byte [esp + 0x988], 2
test eax, eax
lea ecx, [esp + 0x40]
je 0x4137ac
call fcn.004678a6
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x413763
jmp 0x4137b1
call fcn.004678a6
mov edx, dword [0x4b41a0]
cmp dword [edi + edx], 0
jne 0x4137e5
mov eax, dword [ebp + 0x3c28]
mov esi, dword [edi + edx + 8]
test eax, eax
lea edi, [edi + edx + 0x5e]
je 0x4138ad
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
je 0x4139fe
mov eax, dword [esp + 0x10]
mov esi, dword [eax + edx + 8]
mov eax, dword [ebp + 0xc]
sub eax, esi
mov dword [esp + 0x2c], esi
lea edi, [esi + 1]
mov dword [esp + 0x54], eax
push edi
call fcn.004675e1
mov edx, eax
mov ecx, edi
mov dword [esp + 0x18], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov eax, dword [0x4b41a0]
mov edi, dword [esp + 0x14]
mov ecx, esi
lea esi, [edx + eax + 0x5e]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x54]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jl 0x4138c4
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x2b]
lea edx, [esp + 0x180]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 0x20]
push eax
push esi
push ecx
push edx
mov byte [esp + 0x43], 0
call fcn.00428720
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4138c8
mov eax, dword [0x4b41a0]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], 2
mov dword [esp + 0x34], 1
lea edx, [ecx + eax + 0xc]
lea eax, [esp + 0x20]
push edx
push 0x4ac1b8
push eax
call fcn.0045ccdb
add esp, 0xc
jmp 0x4138c8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
je 0x4139fe
jmp 0x4141e0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4138d5
push esi
call fcn.0046760a
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4141e0
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
mov eax, dword [eax - 8]
push eax
call fcn.00467cd6
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x20]
push eax
call fcn.00467cd6
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4b41a0]
mov eax, dword [edx + ecx + 4]
dec eax
cmp eax, 4
ja case.default.0x413962
jmp dword [eax*4 + 0x414280]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x4acf34
push edx
mov dword [esp + 0x18c], 1
call fcn.0045ccdb
mov eax, dword [0x4b42b0]
add esp, 0x10
test eax, eax
je 0x4139ba
mov eax, dword [esp + 0x990]
test eax, eax
jne 0x4139ba
mov eax, dword [esp + 0x1c]
push 0
push 1
push eax
call fcn.00470095
cmp eax, 2
je 0x413eb4
mov eax, dword [0x4b4278]
test eax, eax
jne 0x4139ce
mov eax, dword [esp + 0x990]
test eax, eax
je 0x4139e6
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x17c], ecx
mov eax, dword [ebp + 0x3c2c]
lea edx, [esp + 0x64]
push edx
push 3
push 0x46b
push eax
jmp 0x4141c7
lea edi, [esi + 1]
push edi
call fcn.004675e1
mov ecx, edi
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
push edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esp + 0x1c], edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x4b41a0]
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edi, edx
lea esi, [esi + eax + 0x5e]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00428600
mov ebx, eax
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x413a62
mov edx, eax
push edx
call fcn.0046760a
add esp, 4
test ebx, ebx
je 0x413a98
mov ecx, dword [esp + 0x10]
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov eax, dword [0x4b41a0]
lea edx, [ecx + eax + 0xc]
lea eax, [esp + 0x20]
push edx
push 0x4ac1b8
push eax
call fcn.0045ccdb
add esp, 0xc
jmp 0x4138e1
mov eax, dword [ebp + 0x3c28]
test eax, eax
je 0x4141e0
push 0x801
call fcn.004675e1
mov edi, eax
mov ecx, 0x200
xor eax, eax
mov dword [esp + 0x48], edi
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x14]
stosb byte es:[edi], al
mov eax, dword [0x4b41a0]
mov edi, dword [esp + 0x48]
mov ecx, dword [edx + eax + 8]
lea esi, [edx + eax + 0x5e]
mov dword [esp + 0x54], ecx
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x50], 0
lea eax, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
lea edx, [esp + 0x4c]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
push ecx
push edx
call fcn.00428950
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
add esp, 0x10
sub edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
js 0x4141e0
lea edx, [esp + 0x2a]
mov byte [esp + 0x2a], 0
push edx
lea edx, [esp + 0x584]
push edx
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00428720
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4141e0
mov edx, dword [0x4b41a0]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 3
mov dword [esp + 0x34], 1
lea ecx, [eax + edx + 0xc]
lea edx, [esp + 0x20]
push ecx
push 0x4ac1b8
push edx
call fcn.0045ccdb
add esp, 0xc
jmp 0x4138e1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x17c], 2
cmp eax, 3
jne 0x413baa
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
jmp 0x413bb6
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx + 8]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
sub ecx, esi
inc ecx
push ecx
call fcn.004675e1
mov ecx, dword [ebp + 0xc]
add esp, 4
sub ecx, esi
mov edx, eax
inc ecx
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0x10], edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [ebp + 0x20]
mov ecx, ebx
sub ecx, esi
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0xc]
mov ecx, eax
sub ecx, esi
add esi, ebx
sub ecx, ebx
add ecx, edi
mov edi, edx
sub edi, eax
mov edx, ecx
add edi, ebx
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 [ebp + 0x20]
test eax, eax
je 0x413c3d
push eax
call fcn.0046760a
add esp, 4
mov dword [ebp + 0x20], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x14]
sub eax, ebx
inc eax
push eax
call fcn.004675e1
mov ecx, dword [ebp + 0xc]
mov edi, eax
sub ecx, ebx
xor eax, eax
inc ecx
mov dword [ebp + 0x20], edi
mov edx, ecx
mov esi, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x20]
sub ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 4]
sub eax, ebx
mov dword [ebp + 0xc], eax
push ecx
push edx
lea eax, [esp + 0x28]
push 0x4ace7c
push eax
call fcn.0045ccdb
mov eax, dword [0x4b42b0]
add esp, 0x14
test eax, eax
je 0x413ccc
mov eax, dword [esp + 0x990]
test eax, eax
jne 0x413ccc
mov ecx, dword [esp + 0x1c]
push 0
push 1
push ecx
call fcn.00470095
cmp eax, 2
je 0x413d02
mov eax, dword [0x4b4278]
test eax, eax
jne 0x413ce0
mov eax, dword [esp + 0x990]
test eax, eax
je 0x413d02
push 0
mov ecx, ebp
call fcn.00414710
neg eax
sbb eax, eax
and al, 0xfe
add eax, 2
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x3c2c]
lea edx, [esp + 0x64]
push edx
push 3
push 0x46b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4141cd
mov ecx, eax
push ecx
call fcn.0046760a
add esp, 4
jmp 0x4141cd
mov edx, dword [esp + 0x18]
mov eax, 3
cmp edx, eax
mov dword [esp + 0x17c], eax
jne 0x413d51
mov esi, dword [esp + 0x30]
jmp 0x413d59
mov edx, dword [esp + 0x10]
mov esi, dword [edx + ecx + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4b4128
call fcn.00467914
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push 3
mov ecx, ebp
call fcn.004142a0
mov ecx, esi
mov esi, dword [ebp + 0x18]
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
push eax
push ecx
push 0x4acdf0
push edx
call fcn.0045ccdb
mov eax, dword [0x4b42b0]
add esp, 0x10
test eax, eax
je 0x413dd8
mov eax, dword [esp + 0x990]
test eax, eax
jne 0x413dd8
mov eax, dword [esp + 0x1c]
push 0
push 1
push eax
call fcn.00470095
cmp eax, 2
je 0x413eb4
mov eax, dword [0x4b4278]
test eax, eax
jne 0x413df0
mov eax, dword [esp + 0x990]
test eax, eax
je 0x4141b4
push 0
mov ecx, ebp
call fcn.00414710
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jmp 0x4141b4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x17c], 4
cmp eax, 3
jne 0x413e31
mov esi, dword [esp + 0x30]
jmp 0x413e39
mov edx, dword [esp + 0x10]
mov esi, dword [edx + ecx + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4b4128
call fcn.00467914
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push 4
mov ecx, ebp
call fcn.004142a0
mov ecx, esi
mov esi, dword [ebp + 0x18]
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
push eax
push ecx
push 0x4acd64
push edx
call fcn.0045ccdb
mov eax, dword [0x4b42b0]
add esp, 0x10
test eax, eax
je 0x413ecc
mov eax, dword [esp + 0x990]
test eax, eax
jne 0x413ecc
mov eax, dword [esp + 0x1c]
push 0
push 1
push eax
call fcn.00470095
cmp eax, 2
jne 0x413ecc
mov edx, dword [ebp + 0x3c2c]
lea ecx, [esp + 0x64]
push ecx
push 3
push 0x46b
push edx
jmp 0x4141c7
mov eax, dword [0x4b4278]
test eax, eax
jne 0x413ee4
mov eax, dword [esp + 0x990]
test eax, eax
je 0x4141b4
push 0
mov ecx, ebp
call fcn.00414710
neg eax
sbb eax, eax
and al, 0xfc
add eax, 4
jmp 0x413e02
mov eax, dword [ebp + 0x1c]
lea esi, [ebp + 0x1c]
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x180], 5
call fcn.0042ed60
mov eax, dword [esp + 0x18]
mov byte [esp + 0x988], 4
cmp eax, 3
jne 0x413f45
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x30]
push eax
mov dword [esp + 0x18], edx
call fcn.0043f6ae
lea ecx, [eax + eax]
add esp, 4
mov dword [esp + 0x10], ecx
jmp 0x413f60
mov edx, dword [0x4b41a0]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + edx + 8]
mov edx, dword [esi]
mov dword [esp + 0x14], ecx
mov eax, dword [edx - 8]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x1c]
push ecx
push 0x4acc80
push edx
call fcn.0045ccdb
add esp, 8
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0046761b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push 5
mov ecx, ebp
call fcn.004142a0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
mov edx, edi
sub edx, esi
lea ecx, [edx + eax + 1]
push ecx
call fcn.004675e1
mov edx, eax
mov eax, dword [ebp + 0xc]
sub edi, esi
mov dword [esp + 0x1c], edx
add esp, 4
lea ecx, [edi + eax + 1]
xor eax, eax
mov esi, ecx
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [ebp + 0x20]
mov ecx, ebx
sub ecx, esi
mov edi, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 0x18]
mov edi, edx
sub edi, eax
mov eax, ecx
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0xc]
mov ecx, eax
sub ecx, esi
add esi, ebx
sub ecx, ebx
add ecx, edi
mov edi, edx
mov edx, dword [esp + 0x10]
sub edi, eax
add edi, edx
mov edx, ecx
add edi, ebx
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 [ebp + 0x20]
test eax, eax
je 0x41404c
push eax
call fcn.0046760a
add esp, 4
mov dword [ebp + 0x20], 0
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, ebx
sub eax, esi
lea edx, [eax + ecx + 1]
push edx
call fcn.004675e1
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov eax, ebx
mov dword [ebp + 0x20], edi
sub eax, esi
add esp, 4
lea ecx, [eax + ecx + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, dword [ebp + 0x20]
sub ecx, esi
mov esi, dword [ebp + 0xc]
add ecx, esi
mov esi, dword [esp + 0x18]
mov eax, ecx
sub ebx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
add ecx, ebx
mov dword [ebp + 0xc], ecx
mov eax, dword [0x4b42b0]
test eax, eax
je 0x4140fe
mov eax, dword [esp + 0x990]
test eax, eax
jne 0x4140fe
mov ecx, dword [esp + 0x1c]
push 0
push 1
push ecx
call fcn.00470095
cmp eax, 2
jne 0x4140fe
mov eax, dword [ebp + 0x3c2c]
lea edx, [esp + 0x64]
push edx
push 3
push 0x46b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41415e
jmp 0x414155
mov eax, dword [0x4b4278]
test eax, eax
jne 0x414112
mov eax, dword [esp + 0x990]
test eax, eax
je 0x414134
push 0
mov ecx, ebp
call fcn.00414710
neg eax
sbb eax, eax
and al, 0xfb
add eax, 5
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
mov edx, dword [ebp + 0x3c2c]
lea ecx, [esp + 0x64]
push ecx
push 3
push 0x46b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41415e
push eax
call fcn.0046760a
add esp, 4
lea ecx, [esp + 0x58]
mov byte [esp + 0x988], 2
call fcn.0042ee30
jmp 0x4141cd
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x1c]
push eax
push 0x4acc4c
push ecx
call fcn.0045ccdb
mov eax, dword [0x4b42b0]
add esp, 0xc
test eax, eax
je 0x4141a9
mov eax, dword [esp + 0x990]
test eax, eax
jne 0x4141a9
mov edx, dword [esp + 0x1c]
push 0
push 0
push edx
call fcn.00470095
mov dword [esp + 0x17c], 6
mov ecx, dword [ebp + 0x3c2c]
lea eax, [esp + 0x64]
push eax
push 3
push 0x46b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x988], 1
call fcn.004678a6
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4b41a8]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4136d0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41423b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x988], 0
call fcn.004678a6
lea ecx, [esp + 0x20]
mov dword [esp + 0x988], 0xffffffff
call fcn.004678a6
mov eax, dword [esp + 0x48]
jmp 0x414265
lea ecx, [esp + 0x1c]
mov byte [esp + 0x988], 0
call fcn.004678a6
lea ecx, [esp + 0x20]
mov dword [esp + 0x988], 0xffffffff
call fcn.004678a6
mov eax, 7
mov ecx, dword [esp + 0x980]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x97c
ret 4