Function at 0x403330
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a2d0
push 0x41a08c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x4150
call fcn.004196c0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
or esi, 0xffffffff
cmp dword [0x42f090], esi
jne 0x403384
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x312c], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x312b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x2128], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x2127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x1128], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x3160], ebx
mov byte [ebp - 0x11c], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x403405
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x120], ecx
lea edx, [ebp + 0x10]
push edx
push eax
push 0x1000
lea eax, [ebp - 0x312c]
push eax
call fcn.00419041
mov dword [ebp - 0x120], ebx
lea ecx, [ebp - 0x312c]
push ecx
lea edx, [ebp - 0x2128]
push edx
call fcn.004026a0
add esp, 0x18
lea edi, [ebp - 0x2128]
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x3160], ecx
push str.mass.dat
push 0x437280
push 0x42f174
lea eax, [ebp - 0x11c]
push eax
call fcn.00419629
lea ecx, [ebp - 0x315c]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.00419d58
add esp, 0x18
cmp dword [ebp + 8], 3
jne 0x4034a1
mov eax, dword [ebp - 0x3148]
cmp eax, dword [0x42f090]
jb 0x4034a1
mov esi, 1
jmp 0x4034a3
xor esi, esi
mov dword [ebp - 0x3138], esi
mov ecx, dword [0x42f090]
add ecx, 0x100000
cmp dword [ebp - 0x3148], ecx
sbb edx, edx
inc edx
mov dword [ebp - 0x3134], edx
mov edi, 0x42f12c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov edi, str._AhnLab_UpdateLog_
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebx + ecx + 0x20]
mov dword [ebp - 0x212c], eax
add eax, 5
cmp dword [ebp - 0x3148], eax
sbb eax, eax
neg eax
mov dword [ebp - 0x128], eax
xor ebx, ebx
cmp esi, ebx
jne 0x4035fb
cmp edx, ebx
jne 0x4035fb
cmp eax, ebx
jne 0x4035fb
mov byte [ebp - 0x4164], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x4163]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 3
mov dword [ebp - 0x4168], edi
mov dword [ebp - 0x3164], ebx
mov dword [ebp - 0x3164], ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, edi
jge 0x4035c8
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x4164]
push eax
call fcn.00403000
add esp, 8
test eax, eax
je 0x4035eb
lea edi, [ebp - 0x4164]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x20
jne 0x4035c8
lea esi, [ebp - 0x4164]
mov eax, 0x437384
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4035b0
test cl, cl
je 0x4035ac
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4035b0
add eax, 2
add esi, 2
test cl, cl
jne 0x40358c
xor eax, eax
jmp 0x4035b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4035c8
lea eax, [ebp - 0x4164]
push eax
call fcn.00402cb0
add esp, 4
cmp ebx, dword [ebp - 0x4168]
jne 0x403612
mov edi, 0x437384
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x403612
push str._MassUP__Fail:_Wrong_Header.
jmp 0x4036cf
push 0xa
call esi
inc ebx
mov dword [ebp - 0x3164], ebx
jmp 0x40354e
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00402db0
add esp, 4
test eax, eax
je 0x4036d5
push 3
push 0x42f268
lea edx, [ebp - 0x11c]
push edx
call fcn.00402610
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x3130], esi
test esi, esi
je 0x4036d5
call fcn.004199b1
cdq
mov ecx, 0xf
idiv ecx
inc edx
mov byte [ebp - 0x124], dl
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [0x438384]
push eax
mov eax, dword [ebp - 0x3160]
push eax
lea ecx, [ebp - 0x2128]
push ecx
push eax
lea edx, [ebp - 0x1128]
push edx
call fcn.004020c0
add esp, 0x18
test eax, eax
jne 0x4036b6
push esi
push 1
push 4
lea eax, [ebp - 0x3160]
push eax
call fcn.00419a50
push esi
push 1
push 1
lea ecx, [ebp - 0x124]
push ecx
call fcn.00419a50
push esi
push 1
mov edx, dword [ebp - 0x3160]
push edx
lea eax, [ebp - 0x1128]
push eax
call fcn.00419a50
add esp, 0x30
push esi
call fcn.004199d3
add esp, 4
jmp 0x4036d5
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret