joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1bb0
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x583c32
call fcn.004fb967
mov esi, ecx
and dword [ebp - 4], 0
call fcn.004a48d3
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [eax - 4], 1
jle 0x4c1be0
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00431f53
mov eax, dword [ebp + 8]
push 0xfde9
push eax
call fcn.004a0856
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c1c1b
lea eax, [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.004830bb
pop ecx
pop ecx
test eax, eax
jne 0x4c1c97
mov bl, 1
jmp 0x4c1c8b
lea ecx, [ebp - 0x30]
call fcn.00432a3a
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0049bc99
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push eax
call fcn.004b2000
lea eax, [esi + 4]
push eax
push dword [ebp - 0x10]
call fcn.004830bb
add esp, 0xc
test eax, eax
jne 0x4c1c6c
mov bl, 1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00432a92
test bl, bl
je 0x4c1c97
lea eax, [ebp + 8]
lea ecx, [esi + 0x10]
push eax
call fcn.00433c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004a5233
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, bl
call fcn.004fba3f
ret 4

Function at 0x4c222f
Capabilities:
Read file on windows

Disassembly:
push 0x30
mov eax, 0x583e47
call fcn.004fb9d0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x5caa1c
xor ebx, ebx
push eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
call fcn.004fe8c6
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x34], edi
cmp edi, ebx
jne 0x4c227a
push 0x5caa8b
mov ecx, esi
call fcn.0040f0f0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], 1
jmp 0x4c231c
push 2
push ebx
push edi
call fcn.005023a1
push edi
call fcn.00503ff5
push ebx
push ebx
push dword [ebp - 0x34]
mov edi, eax
call fcn.005023a1
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 1
lea eax, [edi + 1]
push eax
call fcn.004f8908
push dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push edi
push 1
push eax
mov byte [eax + edi], bl
call fcn.004fe7ed
add esp, 0x30
cmp eax, edi
jne 0x4c22e0
push dword [ebp - 0x30]
call fcn.004fba80
pop ecx
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00410120
push dword [ebp - 0x34]
call fcn.004fe512
push dword [ebp - 0x30]
call fcn.004fc324
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040fd00
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], bl
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ff10
mov eax, esi
call fcn.004fba53
ret
Function at 0x4c2337
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x583ede
call fcn.004fb967
and dword [ebp - 4], 0
or ebx, 0xffffffff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00432a3a
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Optimize
call fcn.0043479c
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0049be74
mov byte [ebp - 4], 6
mov esi, 0x402
push esi
call fcn.004fc26a
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x4c23c0
lea ecx, [edi + 2]
call fcn.004a1cdb
mov word [edi], 0
jmp 0x4c23c2
xor edi, edi
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c24b5
push 0x80
push 3
push 1
push SysReAllocString
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004a5316
test eax, eax
je 0x4c24b5
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.004a281b
cmp eax, esi
jne 0x4c24b5
cmp dword [ebp - 0x14], ebx
je 0x4c241b
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
cmp byte [edi + 1], 1
jne 0x4c24b5
mov esi, 0x200
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [edi + 2]
push eax
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x4c24b5
push esi
lea eax, [ebp + 0x20c]
push eax
lea eax, [edi + 0x202]
push eax
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x4c24b5
push edi
call fcn.004fa278
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00432a92
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], ebx
je 0x4c2491
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xa
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, byte [ebp - 0xd]
call fcn.004fba3f
ret 0x404
test edi, edi
je 0x4c24c0
push edi
call fcn.004fa278
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00432a92
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], ebx
je 0x4c24f0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xd
mov byte [ebp - 0xd], 0
jmp 0x4c249c
Function at 0x4c2972
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x5840c1
call fcn.004fb967
and dword [ebp - 4], 0
or ebx, 0xffffffff
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00432a3a
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Optimize
call fcn.0043479c
mov byte [ebp - 4], 4
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0049be74
mov byte [ebp - 4], 6
mov esi, 0x402
push esi
call fcn.004fc26a
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x4c29fb
lea ecx, [edi + 2]
call fcn.004a1cdb
mov word [edi], 0
jmp 0x4c29fd
xor edi, edi
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c2aef
push 0x80
push 3
push 1
push SysReAllocString
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004a5316
test eax, eax
je 0x4c2aef
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.004a281b
cmp eax, esi
jne 0x4c2aef
cmp dword [ebp - 0x14], ebx
je 0x4c2a56
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
cmp byte [edi], 1
jne 0x4c2aef
mov esi, 0x200
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [edi + 2]
push eax
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x4c2aef
push esi
lea eax, [ebp + 0x20c]
push eax
lea eax, [edi + 0x202]
push eax
call fcn.0050038c
add esp, 0xc
test eax, eax
jne 0x4c2aef
push edi
call fcn.004fa278
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00432a92
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], ebx
je 0x4c2acb
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xa
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, byte [ebp - 0xd]
call fcn.004fba3f
ret 0x404
test edi, edi
je 0x4c2afa
push edi
call fcn.004fa278
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00432a92
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], ebx
je 0x4c2b2a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xd
mov byte [ebp - 0xd], 0
jmp 0x4c2ad6
Function at 0x4c2b37
Capabilities:
Check if file exists

Disassembly:
push 0x45c
mov eax, 0x58414f
call fcn.004fba06
mov ebx, ecx
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x438], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], edi
mov byte [ebp - 0x430], 0
mov byte [ebp - 4], 2
cmp dword [esi + 0x10], 0x26
jne 0x4c2d74
lea ecx, [ebp - 0x468]
call fcn.00432a3a
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x450], esp
push 0x5aa134
call fcn.0043479c
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x448], esp
lea eax, [ebp + 8]
push eax
call fcn.004324a9
mov byte [ebp - 4], 6
lea eax, [ebp - 0x43c]
push eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.0049be74
mov byte [ebp - 4], 7
push dword [ebp - 0x43c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c2d47
push ecx
mov ecx, esp
mov dword [ebp - 0x448], esp
lea eax, [ebp - 0x43c]
push eax
call fcn.004324a9
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
call fcn.004a9c4d
pop ecx
mov dword [ebp - 0x438], eax
cmp eax, edi
je 0x4c2d47
push 0x400
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.004fc1f0
add esp, 0xc
mov edi, str._ab3coZmm6wFP3eMjepvs6jfo2QI_
push edi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x438]
mov ecx, ebx
call fcn.004b798e
cmp eax, 0xffffffff
jne 0x4c2c7d
and dword [ebp - 0x44c], 0
push 0x5d6a50
lea eax, [ebp - 0x44c]
push eax
call fcn.004fa35f
push 0xfffffffffffffffd
pop ecx
cmp eax, ecx
je 0x4c2d41
cmp dword [ebp - 0x440], 0x51
jne 0x4c2d41
cmp dword [ebp - 0x414], 0x4d12b4b2
jne 0x4c2d41
push 0x51
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x430]
call fcn.00410120
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x4c2cc6
mov eax, dword [esi]
jmp 0x4c2cc8
mov eax, esi
push ecx
push 0
push eax
lea ecx, [ebp - 0x430]
call fcn.004a54cb
cmp eax, 0xffffffff
je 0x4c2ce8
mov dword [ebp - 0x434], 2
jmp 0x4c2d47
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
jb 0x4c2cf3
mov esi, dword [esi]
push eax
push esi
lea eax, [ebp - 0x3e9]
push eax
call fcn.004fbb10
add esp, 0xc
push edi
push 0x51
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x438]
mov ecx, ebx
call fcn.004a4f80
test eax, eax
jne 0x4c2d35
and dword [ebp - 0x444], eax
push 0x5d6a50
lea eax, [ebp - 0x444]
jmp 0x4c2c77
mov dword [ebp - 0x434], 1
jmp 0x4c2d47
mov dword [ebp - 0x434], ecx
mov byte [ebp - 4], 9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468]
call fcn.00432a92
xor edi, edi
jmp 0x4c2d7e
mov dword [ebp - 0x434], 0xfffffffe
mov byte [ebp - 4], 1
push edi
push 1
lea ecx, [ebp - 0x430]
call fcn.0040ff10
mov dword [ebp - 4], edi
cmp dword [ebp - 0x438], 0
je 0x4c2da8
push dword [ebp - 0x438]
call fcn.00482cf3
pop ecx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, dword [ebp - 0x434]
call fcn.004fba62
ret 8
Function at 0x4c3632
Capabilities:
Enumerate processes

Disassembly:
push 0x258
mov eax, 0x58442f
call fcn.004fb9d0
xor edi, edi
inc edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x264]
call fcn.00432a3a
mov byte [ebp - 4], 3
xor ebx, ebx
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x23c], ebx
call fcn.004fc1f0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, ebx
je 0x4c370d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.0043479c
mov byte [ebp - 4], 4
push dword [ebp + 8]
lea ecx, [ebp - 0x244]
call fcn.00431e0c
test eax, eax
je 0x4c36f5
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.004310e3
cmp dword [ebp - 0x24c], ebx
jne 0x4c369e
jmp 0x4c370d
mov dword [ebp - 0x248], edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.004310e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], ebx
setne byte [ebp - 0x23d]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.00432a92
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, byte [ebp - 0x23d]
call fcn.004fba53
ret 8
Function at 0x4c7300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0049fe23
push 0
mov ecx, esi
call fcn.0052b3b7
push dword [esi + 4]
mov ecx, dword [0x60642c]
call fcn.00431428
mov ecx, dword [0x607870]
push dword [esi + 4]
mov eax, dword [ecx]
mov edi, dword [0x606434]
call dword [eax + 0x10]
push eax
mov ecx, edi
call fcn.004e52c6
push dword [esi + 4]
mov ecx, dword [0x606424]
call fcn.00499339
pop edi
mov ecx, esi
pop esi
jmp fcn.004bf12d
Function at 0x4c9e1a
Capabilities:
Reference sql statements

Disassembly:
push 0x930
mov eax, 0x585fa5
call fcn.004fba06
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x93c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x938], ebx
mov byte [ebp - 4], 1
mov byte [ebp - 0x918], bl
push 0x7ff
push ebx
lea eax, [ebp - 0x917]
push eax
call fcn.004fc1f0
add esp, 0xc
mov dword [ebp - 0x920], 0xf
mov dword [ebp - 0x924], ebx
mov byte [ebp - 0x934], bl
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
jne 0x4c9e9c
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x934]
call fcn.0040ff10
mov dword [ebp - 4], 3
jmp 0x4ca052
mov esi, str.Web_Data
push esi
call fcn.004fb22e
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.0043a942
mov byte [ebp - 0x118], bl
push 0x103
push ebx
lea eax, [ebp - 0x117]
push eax
call fcn.004fc1f0
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
mov edi, 0xfde9
push edi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call esi
push ebx
push ebx
push eax
lea eax, [ebp - 0x118]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push edi
call esi
lea eax, [ebp - 0x938]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004830bb
pop ecx
pop ecx
test eax, eax
je 0x4c9f2f
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x934]
call fcn.0040ff10
mov dword [ebp - 4], 4
jmp 0x4ca052
push dword [ebp + 0xc]
push str.UPDATE_keywords_SET_date_created0_last_modified0_show_in_default_list1_WHERE_id_d
lea eax, [ebp - 0x918]
push eax
call fcn.004a33cc
push ebx
push ebx
push ebx
lea eax, [ebp - 0x918]
push eax
push dword [ebp - 0x938]
call fcn.0048beaa
add esp, 0x20
test eax, eax
je 0x4c9f7d
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x934]
call fcn.0040ff10
mov dword [ebp - 4], 5
jmp 0x4ca052
push dword [ebp + 0xc]
push str.UPDATE_meta_SET_value_d_WHERE_keyDefault_Search_Provider_ID
lea eax, [ebp - 0x918]
push eax
call fcn.004a33cc
push ebx
push ebx
push ebx
lea eax, [ebp - 0x918]
push eax
push dword [ebp - 0x938]
call fcn.0048beaa
push dword [ebp + 0xc]
push str.SELECT__FROM_keywords_WHERE_id_d
lea eax, [ebp - 0x918]
push eax
call fcn.004a33cc
push ebx
push dword [ebp - 0x93c]
push 0x4c2dd6
lea eax, [ebp - 0x918]
push eax
push dword [ebp - 0x938]
call fcn.0048beaa
add esp, 0x40
cmp eax, ebx
je 0x4c9ffa
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x934]
call fcn.0040ff10
mov dword [ebp - 4], 6
jmp 0x4ca052
push dword [ebp - 0x938]
call fcn.00482cf3
pop ecx
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x934]
call fcn.0040ff10
mov dword [ebp - 4], 7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
xor eax, eax
inc eax
jmp 0x4ca063
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
xor eax, eax
call fcn.004fba62
ret 0xc
Function at 0x4cb9c1
Capabilities:
Check if file exists

Disassembly:
push 0x464
mov eax, 0x586822
call fcn.004fb9d0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x468], ecx
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x44c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cba08
jmp 0x4cbc1b
lea ecx, [ebp - 0x460]
call fcn.004a9bab
mov byte [ebp - 4], 2
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x464], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x460]
call fcn.004c1bb0
cmp al, bl
je 0x4cbc0d
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 0x410], bl
call fcn.004fc1f0
push esi
push dword [ebp - 0x44c]
lea eax, [ebp - 0x410]
push edi
push str.SELECT__s___s_FROM__s
push eax
call fcn.004a3400
add esp, 0x20
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x460]
call fcn.004a4933
test al, al
je 0x4cbc0d
jmp 0x4cbbfa
cmp dword [ebp - 0x458], ebx
je 0x4cbbf2
push 1
push dword [ebp - 0x458]
call fcn.0047445a
pop ecx
pop ecx
cmp eax, ebx
je 0x4cbbf2
push eax
lea ecx, [ebp - 0x448]
call fcn.0040f0f0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x434], 0x10
mov eax, dword [ebp - 0x448]
jae 0x4cbadf
lea eax, [ebp - 0x448]
mov esi, 0xfde9
push esi
push eax
call fcn.004a23e1
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x4cbbe0
push 8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x464], esp
push edi
call fcn.0049b524
mov byte [ebp - 4], 5
lea eax, [ebp - 0x42c]
push eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x468]
call fcn.004c3942
mov byte [ebp - 4], 6
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x4cbb3d
lea eax, [ebp - 0x42c]
push eax
push edi
call fcn.004fa9a7
pop ecx
pop ecx
test eax, eax
je 0x4cbbc7
cmp dword [ebp - 0x418], 8
mov eax, dword [ebp - 0x42c]
jae 0x4cbb5f
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.004a2394
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4cbbc7
xor eax, eax
cmp dword [ebp - 0x458], ebx
je 0x4cbb86
push ebx
push dword [ebp - 0x458]
call fcn.00474408
pop ecx
pop ecx
push eax
push dword [ebp - 0x470]
lea eax, [ebp - 0x410]
push esi
push dword [ebp - 0x44c]
push dword [ebp - 0x46c]
push str.UPDATE__s_SET__s_s_WHERE__s_d
push eax
call fcn.004a3400
add esp, 0x1c
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x460]
call fcn.004a18ae
push esi
call fcn.004fc324
pop ecx
push edi
call fcn.004fc324
pop ecx
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x42c]
call fcn.0043c5c3
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x448]
call fcn.0040ff10
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x460]
call fcn.004a195a
test al, al
jne 0x4cba97
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x460]
call fcn.004a9bf0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
call fcn.004fba53
ret 0x10
Function at 0x4d1250
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x588298
call fcn.004fb967
mov esi, ecx
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d1271
jmp 0x4d129e
push 0x5a5800
push 0x5a3cb4
push str.urls
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.004cb9c1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
call fcn.004fba3f
ret 4
Function at 0x4de2de
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x29c
mov eax, 0x58c994
call fcn.004fba06
mov esi, ecx
mov dword [ebp - 0x2a8], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x4de311
lea ecx, [esi + 0x180]
lea eax, [ebp + 8]
push eax
call fcn.00433c20
mov dword [ebp - 0x2a0], ebx
push 0x602968
lea ecx, [ebp - 0x294]
call fcn.00431ef7
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esi + 0x180]
call fcn.0043c6a9
push eax
push str._sr_d
lea eax, [ebp - 0x294]
push eax
call fcn.00433c96
add esp, 0x10
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x290], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x298], ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x2a4], eax
cmp eax, ebx
je 0x4de444
push ebx
push 0x102
push ebx
push ebx
push dword [ebp - 0x294]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x29c], eax
cmp eax, ebx
je 0x4de438
mov esi, 0x100000
push esi
call fcn.004f8908
mov dword [ebp - 0x288], eax
push esi
push ebx
push eax
call fcn.004fc1f0
add esp, 0x10
lea eax, [ebp - 0x298]
push eax
push esi
push dword [ebp - 0x288]
push dword [ebp - 0x29c]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x298]
cmp eax, ebx
jbe 0x4de418
mov dword [ebp - 0x290], eax
lea esi, [eax + 1]
push esi
call fcn.004f8908
mov edi, eax
mov dword [ebp - 0x28c], edi
push esi
push ebx
push edi
call fcn.004fc1f0
push dword [ebp - 0x290]
push dword [ebp - 0x288]
push edi
call fcn.004fbb10
add esp, 0x1c
cmp dword [ebp - 0x288], ebx
je 0x4de42c
push dword [ebp - 0x288]
call fcn.004fc324
pop ecx
push dword [ebp - 0x29c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x2a4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], 2
jmp 0x4de45c
mov dword [ebp - method.CTiXmlConfig.virtual_0], vtable.CTiXmlConfig.0
lea ecx, [ebp - 0x284]
call fcn.004a4727
mov byte [ebp - 4], 5
cmp dword [ebp - 0x28c], ebx
je 0x4de4ad
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x290]
push dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x2a8]
call fcn.004da1d4
mov dword [ebp - 0x2a0], eax
push dword [ebp - 0x28c]
call fcn.004fc324
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
call fcn.004a17ae
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x294]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, dword [ebp - 0x2a0]
call fcn.004fba62
ret 4
Function at 0x4e2b48
Capabilities:
Enumerate processes

Disassembly:
push 0x23c
mov eax, 0x58df00
call fcn.004fb9d0
xor edi, edi
push 0x228
lea eax, [ebp - 0x238]
push edi
push eax
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x23c], edi
call fcn.004fc1f0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, edi
je 0x4e2bf7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0043479c
mov dword [ebp - 4], edi
push str.chrome.exe
lea ecx, [ebp - 0x240]
call fcn.00431e0c
test eax, eax
jne 0x4e2bd2
mov dword [ebp - 0x244], 1
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.004310e3
cmp ebx, edi
jne 0x4e2b9f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x244], edi
jne 0x4e2cb9
lea ecx, [ebp - 0x240]
call fcn.004b7b53
mov dword [ebp - 4], 2
mov ecx, dword [0x606438]
lea eax, [ebp - 0x248]
push eax
call fcn.004a9513
mov byte [ebp - 4], 3
mov esi, 0x59ac08
push esi
lea ecx, [ebp - 0x248]
call fcn.00431e0c
test eax, eax
jne 0x4e2c52
lea ecx, [ebp - 0x240]
call fcn.004e29b7
mov ecx, dword [0x606438]
lea eax, [ebp - 0x244]
push eax
call fcn.004a9570
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0x244]
call fcn.00431e0c
test eax, eax
jne 0x4e2c83
lea ecx, [ebp - 0x240]
call fcn.004e1d8c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x248]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x240]
add ecx, 0xfffffff0
call fcn.004310e3
call fcn.004fba53
ret