joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48524d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.00493091
pop ecx
push eax
push dword [ebp + 8]
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0042e40f
push dword [ebp + 0xc]
call fcn.00493091
pop ecx
push eax
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0042e40f
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x14]
mov dword [esi + 0x98], eax
call fcn.00493091
pop ecx
test eax, eax
je 0x4852af
push dword [ebp + 0x14]
call fcn.00493091
pop ecx
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 8]
call fcn.0042e40f
push dword [ebp + 0x10]
call fcn.00493091
pop ecx
test eax, eax
je 0x4852d1
push dword [ebp + 0x10]
call fcn.00493091
pop ecx
push eax
push dword [ebp + 0x10]
lea ecx, [esi + 0x5c]
call fcn.0042e40f
lea eax, [esi + 0x5c]
cmp dword [eax + 0x14], 8
jb 0x4852dc
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4852e4
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x4852ec
mov ebx, dword [ebx]
push eax
push edi
push ebx
push str.KAsynHttpRequestThread::start:_taskId:_s_url:_s_parameter:_s
push str.kupdate::KAsynHttpRequestThread::start
push 0xc2
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdateweb_asynhttprequest.cpp
push 9
call fcn.0042f683
add esp, 0x20
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x48523e
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x14

Function at 0x4853d1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x48541b
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push 0x4d2c88
push 0x4d2bf8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4

Function at 0x48545d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4854a7
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.company
push 0x4d2bf8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4
Function at 0x4854e9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x485533
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.languages
push 0x4d2bf8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4

Function at 0x485575
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4855bf
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.updateSvrAddr
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4

Function at 0x485601
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x48564b
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.stateSvrAddr_ZH
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4

Function at 0x48568d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4856d7
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.stateSvrAddr_BJ
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4
Function at 0x485719
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x485763
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.cuRoot
push 0x4d2d18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4

Function at 0x4857a5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x108], 0
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
mov esi, ecx
call fcn.00492b40
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4857ef
mov eax, dword [eax]
push eax
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x4bf8f0
push str.lmRoot
push 0x4d2d18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x104]
push eax
mov ecx, edi
call fcn.0042e48d
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004927bf
leave
ret 4
Function at 0x485831
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x288
mov eax, 0x4ba06a
call fcn.004935c5
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x290], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x294], ecx
call fcn.00492b40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor esi, esi
lea eax, [ebp - 0x218]
inc esi
push eax
mov edi, esi
call fcn.00493091
dec eax
pop ecx
js 0x4858d2
cmp word [ebp + eax*2 - 0x218], 0x5c
jne 0x4858a2
dec edi
je 0x4858a7
dec eax
jns 0x485894
jmp 0x4858b1
xor ecx, ecx
mov word [ebp + eax*2 - 0x218], cx
cmp edi, ebx
jne 0x4858d2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042e48d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x290], esi
jmp 0x4858fe
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x250]
mov dword [ebp - 4], esi
mov dword [ebp - 0x290], 2
push eax
lea ecx, [ebp - 0x234]
call fcn.0042e51a
mov dword [ebp - 4], 2
test byte [ebp - 0x290], 2
je 0x48592e
and dword [ebp - 0x290], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x250]
call fcn.0042e109
test byte [ebp - 0x290], 1
mov byte [ebp - 4], 4
je 0x485948
push ebx
push esi
lea ecx, [ebp - 0x26c]
call fcn.0042e109
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x48595d
lea eax, [ebp - 0x234]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x4859f0
test al, 0x10
je 0x4859f0
push str.update.ini
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.0042fffe
add esp, 0xc
mov esi, dword [ebp - 0x294]
add esi, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0042e4be
push ebx
push 1
lea ecx, [ebp - 0x288]
call fcn.0042e109
cmp dword [esi + 0x14], 8
jb 0x4859b9
mov esi, dword [esi]
push esi
call edi
cmp eax, 0xffffffff
je 0x4859e8
test al, 0x10
jne 0x4859e8
mov byte [ebp - 0x289], 1
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x234]
call fcn.0042e109
mov al, byte [ebp - 0x289]
call fcn.00493648
ret
mov byte [ebp - 0x289], bl
jmp 0x4859cc
mov byte [ebp - 0x289], bl
jmp 0x4859cf
Function at 0x485a2f
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x4ba0c3
call fcn.004935c5
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ebx, ecx
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call fcn.0043c54b
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push eax
call fcn.00492b40
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x485a81
mov eax, dword [ebx + 4]
jmp 0x485a84
lea eax, [ebx + 4]
push eax
push 0x80
lea eax, [ebp - 0x110]
push eax
push 0x4bf8f0
push 0
push str.Mutex
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x230], 0
lea esi, [ebp - 0x110]
mov eax, esi
push eax
call fcn.00493091
jmp 0x485b62
cmp dword [ebp - 0x230], 0xa
jge 0x485b6b
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00492b40
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x485af3
mov eax, dword [ebx + 4]
jmp 0x485af6
lea eax, [ebx + 4]
push eax
push 0x80
lea eax, [ebp - 0x210]
push eax
push 0x4bf8f0
push esi
push str.Mutex
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0042e48d
and dword [ebp - 4], 0
lea eax, [ebp - 0x22c]
push eax
mov ecx, edi
call fcn.0043d617
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x22c]
call fcn.0042e109
inc dword [ebp - 0x230]
push esi
call fcn.00493091
lea esi, [esi + eax*2 + 2]
push esi
call fcn.00493091
pop ecx
pop ecx
test eax, eax
jne 0x485abd
mov eax, dword [ebp - 0x230]
call fcn.00493648
ret 4
Function at 0x48a0ca
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x48a151
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.004927d0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x48a112
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x48a135
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x48a21e
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00489e9c
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
pop ecx
pop ecx
cmp edx, 3
jb 0x48a199
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x48a1ad
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x48a0d3
mov ecx, dword [edi + 0x16c0]
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jae 0x48a21e
mov esi, dword [edi + 0x6c]
add esi, edx
cmp ecx, esi
jae 0x48a1ed
sub eax, esi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x48a1d2
mov ebx, eax
mov eax, dword [edi + 0x38]
push ebx
add eax, esi
push 0
push eax
call fcn.00492b40
add esp, 0xc
add ebx, esi
mov dword [edi + 0x16c0], ebx
jmp 0x48a21e
lea edx, [esi + 0x102]
cmp ecx, edx
jae 0x48a21e
sub esi, ecx
add esi, 0x102
sub eax, ecx
cmp esi, eax
jbe 0x48a207
mov esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ecx
push 0
push eax
call fcn.00492b40
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebx
leave
ret
Function at 0x48d0b2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x48d0cb
mov eax, dword [ebp - 4]
jmp 0x48d1a5
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x48d180
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d3be0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4d3be0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d3be0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4d3be0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d3be0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4d3be0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4d3be0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4d3be0]
dec ebp
jne 0x48d0ea
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x48d19c
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4d3be0]
dec ecx
jne 0x48d18a
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48d5b2
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x4ba5e9
call fcn.0049355c
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ebx, ebx
push ebx
push ebx
call esi
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x48d5f2
cmp edi, 0xffffffff
je 0x48d5f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48d5f2
mov eax, edi
jmp 0x48d68b
push str.install
call fcn.0042fbe1
mov ecx, eax
call fcn.0043ec3e
test al, al
je 0x48d679
mov dword [ebp - 0x10], 4
push dword [ebp - 0x10]
push str.Try_wait_mutex__d_.
push str.CreateUpdateMutex
push 0x48
push str.S:_func_improvement_20150701_branchCoding_supportwpsupdateUpdateClientupdatewpsupdate.cpp
push 7
call fcn.0042f683
add esp, 0x18
cmp edi, ebx
je 0x48d63c
cmp edi, 0xffffffff
je 0x48d63c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
push ebx
push ebx
call esi
push eax
lea ecx, [ebp - 0x14]
call fcn.0048d3cd
mov edi, dword [ebp - 0x14]
cmp edi, ebx
je 0x48d674
cmp edi, 0xffffffff
je 0x48d674
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48d5eb
dec dword [ebp - 0x10]
jns 0x48d60e
cmp edi, ebx
je 0x48d689
cmp edi, 0xffffffff
je 0x48d689
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.00493634
ret
Function at 0x48d691
Capabilities:
Delete file

Disassembly:
push 0x47c
mov eax, 0x4ba61a
call fcn.004935c5
lea eax, [ebp - 0x488]
push eax
mov esi, ecx
call fcn.00493ec8
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x488]
push eax
mov dword [ebp - 0x484], edx
call fcn.00493ea1
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00492b40
add esi, 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004950c7
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00494b3e
xor ecx, ecx
mov word [eax], cx
add esp, 0x24
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.0042e48d
mov esi, str..
push esi
mov dword [ebp - 4], ebx
call fcn.00493091
pop ecx
push eax
push esi
lea ecx, [ebp - 0x250]
call fcn.0042edb8
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x48d74f
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x480]
push ecx
push eax
call fcn.00494e41
mov edi, eax
pop ecx
pop ecx
cmp edi, 0xffffffff
je 0x48d83b
mov esi, 0x4be56c
test byte [ebp - 0x480], 0x10
jne 0x48d81c
mov ecx, dword [ebp - 0x488]
mov eax, dword [ebp - 0x484]
sub ecx, 0x3f480
sbb eax, ebx
cmp dword [ebp - 0x474], eax
jg 0x48d81c
jl 0x48d7a5
cmp dword [ebp - 0x478], ecx
jae 0x48d81c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.0042e48d
push esi
mov byte [ebp - 4], 1
call fcn.00493091
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0042edb8
lea eax, [ebp - 0x45c]
push eax
call fcn.00493091
pop ecx
push eax
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0042edb8
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x48d804
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.0042e109
lea eax, [ebp - 0x480]
push eax
push edi
call fcn.00494f68
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x48d76e
push edi
call fcn.00494e1b
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.0042e109
call fcn.00493648
ret
Function at 0x48d84f
Capabilities:
Read .ini file

Disassembly:
push 0x74
mov eax, 0x4ba66a
call fcn.004935c5
lea eax, [ebp - 0x2c]
push 0x18
push eax
call fcn.0047cee7
pop ecx
pop ecx
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push 8
pop edi
cmp dword [ebp - 0x18], edi
jae 0x48d87a
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0047c0c2
pop ecx
pop ecx
mov eax, dword [ebp - 0x80]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], edi
jae 0x48d897
lea eax, [ebp - 0x80]
push eax
call fcn.0047c7fe
pop ecx
push 4
pop esi
call fcn.0042eae0
mov ecx, eax
call fcn.00485331
test al, al
je 0x48d90b
lea eax, [ebp - 0x48]
push 0x16
push eax
call fcn.0047cee7
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], edi
jb 0x48d8c9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
call fcn.00439420
push 0
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0042e109
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x48d8eb
lea eax, [ebp - 0x64]
push eax
push 4
push str.LogLevel
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push ebx
lea ecx, [ebp - 0x64]
mov esi, eax
call fcn.0042e109
call fcn.0042eae0
mov ecx, eax
call fcn.00485331
test al, al
je 0x48d951
call fcn.0042eae0
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call dword [edx]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x48d935
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x48d940
lea ecx, [ebp - 0x2c]
push eax
push 3
push 0x10000001
push esi
push ecx
push 0x4d4698
jmp 0x48d985
call fcn.0042eae0
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call dword [edx]
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x48d96b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x48d976
lea ecx, [ebp - 0x2c]
push eax
push 3
push 0x10000001
push esi
push ecx
push 0x4be8e4
call fcn.0042fb0a
add esp, 0x18
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.0042e109
push 0
push ebx
lea ecx, [ebp - 0x80]
call fcn.0042e109
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0042e109
call fcn.00493648
ret
Function at 0x48d9b4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edi, 0x104
push edi
mov dword [esi + 0x410], ecx
mov ecx, dword [ebp + 8]
push eax
push esi
mov dword [esi + 0x414], ecx
call fcn.00497382
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x41c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00492b40
add esp, 0x18
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x414]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test ebx, ebx
je 0x48da71
lea edi, [esi + 0x208]
push ebx
push edi
call fcn.004950c7
push str.dump_
push edi
call fcn.00495096
add esp, 0x10
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00494b3e
add eax, 2
push eax
push edi
call fcn.00495096
add esp, 0x10
jmp 0x48da86
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x208]
push eax
call fcn.004950c7
pop ecx
pop ecx
mov ecx, esi
call fcn.0048d691
push 0x48d3f5
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004927bf
leave
ret 0x14