Function at 0x1000aeb9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045368
push 0x10033e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x4150
call fcn.100318b0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [0x1004d138], 0xffffffff
je 0x1000b207
and byte [ebp - 0x312c], 0
mov ebx, 0x3ff
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x312b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x2128], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x2127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x1128], 0
mov ecx, ebx
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], esi
and byte [ebp - 0x11c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 0xc], esi
je 0x1000b207
lea eax, [ebp + 0x10]
mov dword [ebp - 0x120], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0x1000
lea eax, [ebp - 0x312c]
push eax
call fcn.10031770
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x312c]
push eax
lea eax, [ebp - 0x2128]
push eax
call fcn.1000a4d0
lea eax, [ebp - 0x2128]
push eax
call fcn.10031620
add esp, 0x1c
mov dword [ebp - 0x3160], eax
push str.mass.dat
push 0x10058414
push 0x1004a050
lea eax, [ebp - 0x11c]
push eax
call fcn.10033b69
lea eax, [ebp - 0x315c]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.100325a4
add esp, 0x18
cmp dword [ebp + 8], 3
jne 0x1000b000
mov eax, dword [ebp - 0x3148]
cmp eax, dword [0x1004d138]
jb 0x1000b000
push 1
pop eax
jmp 0x1000b002
xor eax, eax
mov dword [ebp - 0x3138], eax
mov eax, dword [0x1004d138]
add eax, 0x100000
cmp dword [ebp - 0x3148], eax
sbb esi, esi
inc esi
mov dword [ebp - 0x3134], esi
push 0x1004d1d4
call fcn.10031620
mov edi, eax
mov dword [esp], str._AhnLab_UpdateLog_
call fcn.10031620
pop ecx
lea eax, [edi + eax + 0x20]
mov dword [ebp - 0x212c], eax
add eax, 5
cmp dword [ebp - 0x3148], eax
sbb eax, eax
neg eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x3138], 0
jne 0x1000b134
test esi, esi
jne 0x1000b134
test eax, eax
jne 0x1000b134
and byte [ebp - 0x4164], al
mov ecx, ebx
lea edi, [ebp - 0x4163]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x4168], 3
and dword [ebp - 0x3164], esi
and dword [ebp - 0x3164], esi
mov eax, dword [ebp - 0x4168]
cmp dword [ebp - 0x3164], eax
jge 0x1000b0fa
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x4164]
push eax
call fcn.1000abfd
pop ecx
pop ecx
test eax, eax
je 0x1000b121
lea eax, [ebp - 0x4164]
push eax
call fcn.10031620
pop ecx
cmp eax, 0x20
jne 0x1000b0fa
lea eax, [ebp - 0x4164]
push eax
push 0x10058518
call fcn.100333c0
pop ecx
pop ecx
test eax, eax
je 0x1000b0fa
lea eax, [ebp - 0x4164]
push eax
call fcn.1000a93f
pop ecx
mov eax, dword [ebp - 0x4168]
cmp dword [ebp - 0x3164], eax
jne 0x1000b149
push 0x10058518
call fcn.10031620
pop ecx
test eax, eax
jne 0x1000b149
push str._MassUP__Fail:_Wrong_Header.
jmp 0x1000b201
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x3164]
jmp 0x1000b09d
lea eax, [ebp - 0x11c]
push eax
call fcn.1000aa0f
pop ecx
test eax, eax
je 0x1000b207
push 3
push 0x1004d300
lea eax, [ebp - 0x11c]
push eax
call fcn.1000a459
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x3130], esi
test esi, esi
je 0x1000b207
call fcn.10033851
cdq
push 0xf
pop ecx
idiv ecx
inc edx
mov byte [ebp - 0x124], dl
push dword [ebp - 0x124]
push dword [0x10059518]
push dword [ebp - 0x3160]
lea eax, [ebp - 0x2128]
push eax
push dword [ebp - 0x3160]
lea eax, [ebp - 0x1128]
push eax
call fcn.10009fe8
add esp, 0x18
test eax, eax
jne 0x1000b1ec
push esi
push 1
pop edi
push edi
push 4
lea eax, [ebp - 0x3160]
push eax
call fcn.100335b0
push esi
push edi
push edi
lea eax, [ebp - 0x124]
push eax
call fcn.100335b0
push esi
push edi
push dword [ebp - 0x3160]
lea eax, [ebp - 0x1128]
push eax
call fcn.100335b0
add esp, 0x30
push esi
call fcn.10033533
pop ecx
jmp 0x1000b207
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret