joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a4b38
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41a4bcf
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41a4be8
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a4bd6
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b1990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b19f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41b19da
push 3
push 0x41b19fc
push 0x41b19fc
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0x41b1a00
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b19f7
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x1000b200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, eax
call sym.lua5.1.dll_lua_gettop
add esp, 4
sub eax, 1
mov esi, 1
je 0x1000b267
jmp 0x1000b226
mov eax, dword [esp + 0x3c]
dec eax
push ebx
push edi
mov dword [esp + 0x44], eax
call sym.lua5.1.dll_lua_type
add esp, 8
cmp eax, 3
jne 0x1000b288
test esi, esi
je 0x1000b25d
push ebx
push edi
call sym.lua5.1.dll_lua_tonumber
fstp qword [esp]
mov eax, dword [ebp + 8]
push str._.14g
push eax
call fcn.10019c0b
add esp, 0x10
test eax, eax
jg 0x1000b2b5
xor esi, esi
inc ebx
cmp dword [esp + 0x3c], 0
jne 0x1000b222
call fcn.10019230
mov ebx, dword [eax]
test esi, esi
je 0x1000b2bc
push 1
push edi
call sym.lua5.1.dll_lua_pushboolean
add esp, 8
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x38]
push ecx
push ebx
push edi
call sym.lua5.1.dll_luaL_checklstring
add esp, 0xc
test esi, esi
je 0x1000b25d
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x38]
push edx
push ecx
push 1
push eax
call fcn.1001bf00
add esp, 0x10
cmp eax, dword [esp + 0x38]
jne 0x1000b25d
mov esi, 1
jmp 0x1000b25f
push edi
call sym.lua5.1.dll_lua_pushnil
push ebx
call fcn.10019182
push eax
push 0x1003982c
push edi
call sym.lua5.1.dll_lua_pushfstring
push ebx
push edi
call sym.lua5.1.dll_lua_pushinteger
add esp, 0x1c
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000fa20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1000f646
push eax
push esi
push dword [ebp + 8]
call fcn.1000f5fb
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x1000fad1
Function at 0x10012a90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, edi
shr eax, 5
inc eax
mov ebx, edi
mov ecx, edi
cmp edi, eax
jb 0x10012acf
jmp 0x10012ab0
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x10012ab0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov ebp, dword [edx + ecx*4]
test ebp, ebp
je 0x10012b37
cmp dword [ebp + 0xc], edi
jne 0x10012b30
mov esi, dword [esp + 0x18]
mov ecx, edi
lea edx, [ebp + 0x10]
cmp edi, 4
jb 0x10012b0c
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x10012b30
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x10012af8
test ecx, ecx
je 0x10012b4e
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10012b30
cmp ecx, 1
jbe 0x10012b4e
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10012b30
cmp ecx, 2
jbe 0x10012b4e
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x10012b4e
mov ebp, dword [ebp]
test ebp, ebp
jne 0x10012ae5
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push edx
call fcn.100129f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x10]
movzx edx, byte [ecx + 0x14]
mov al, byte [ebp + 5]
movzx ecx, al
not edx
and ecx, 3
test cl, dl
je 0x10012b6d
xor al, 3
mov byte [ebp + 5], al
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

Function at 0x100189ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004c008]
jne 0x100189f4
repz ret
jmp fcn.10021429

Function at 0x10027e49
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10027e7a
call fcn.10019243
mov dword [eax], esi
call fcn.10019230
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.100221b1
add esp, 0x14
push 0x16
pop eax
jmp 0x10027ecf
test dword [ebp + 0xc], 0xfffffff9
jne 0x10027e56
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10027ea7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10019256
pop ecx
call fcn.10019230
mov eax, dword [eax]
jmp 0x10027ecf
test al, 0x10
jne 0x10027ecd
test al, 1
je 0x10027ecd
test byte [ebp + 0xc], 2
je 0x10027ecd
call fcn.10019243
mov dword [eax], 5
call fcn.10019230
mov dword [eax], 0xd
jmp 0x10027e9e
xor eax, eax
pop esi
pop ebp
ret
Function at 0x406c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b256
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x49a1b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x340], 0
lea eax, [ebp - 0x230]
push eax
call fcn.00406df0
add esp, 4
mov dword [ebp - 4], 0
push 0x105
push 0
lea ecx, [ebp - 0x33c]
push ecx
call fcn.0045d100
add esp, 0xc
push 0x105
lea edx, [ebp - 0x33c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x105
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0045d100
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x105
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.0045d100
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x120]
call fcn.0040e950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0040ed00
push eax
push str.APPPATH
lea ecx, [ebp - 0x120]
call fcn.004079d0
lea edx, [ebp - 0x33c]
push edx
push str.SYSTEMPATH
lea ecx, [ebp - 0x120]
call fcn.004079d0
lea eax, [ebp - 0x11c]
push eax
push str.WINDOWSPATH
lea ecx, [ebp - 0x120]
call fcn.004079d0
lea ecx, [ebp - 0x22c]
push ecx
push 0x481828
lea ecx, [ebp - 0x120]
call fcn.004079d0
lea edx, [ebp - 0x120]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e930
mov eax, dword [ebp - 0x340]
or eax, 1
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0040ea40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0040ea40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045cdbc
mov esp, ebp
pop ebp
ret

Function at 0x407350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x49a1b0]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x40738c
xor eax, eax
jmp 0x4073f1
cmp dword [ebp + 0x10], 0
je 0x4073cf
mov dword [ebp - 0xa4], 0x96
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4073cf
xor eax, eax
jmp 0x4073f1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x4073ec
xor eax, eax
jmp 0x4073f1
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045cdbc
mov esp, ebp
pop ebp
ret
Function at 0x40bfd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x49a1b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40c010
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40c01c
mov al, 1
jmp 0x40c1bf
mov dword [ebp - 0x10], 8
call fcn.00408b00
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00408b00
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00408bb0
add esp, 8
movzx eax, al
test eax, eax
je 0x40c05f
xor al, al
jmp 0x40c1bf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040a000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040a160
mov ecx, eax
call fcn.0040c3f0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004203c0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a160
mov ecx, eax
call fcn.0040c3f0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040e450
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40c0da
cmp dword [ebp - 0x6c], 1
je 0x40c0e1
cmp dword [ebp - 0x6c], 3
je 0x40c17b
jmp 0x40c193
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040a160
mov ecx, eax
call fcn.0040c3f0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40c144
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a160
mov ecx, eax
call fcn.0040c3f0
push eax
call fcn.0045dd26
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40c144
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00408190
mov al, byte [ebp - 0x61]
jmp 0x40c1bf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40c167
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00408190
mov al, byte [ebp - 0x62]
jmp 0x40c1bf
cmp dword [ebp - 0x38], 0
jne 0x40c179
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040a040
jmp 0x40c1ab
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00408190
mov al, byte [ebp - 0x63]
jmp 0x40c1bf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00408190
mov al, byte [ebp - 0x64]
jmp 0x40c1bf
jmp 0x40c072
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045cdbc
mov esp, ebp
pop ebp
ret
Function at 0x411c50
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba50
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49a1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x14]
call fcn.0040e870
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
add ecx, 8
call fcn.0040ee60
test eax, eax
jg 0x411d17
push 0x5c
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
call fcn.0040ed00
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.00411de0
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
call fcn.0040ed00
push eax
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
add ecx, 4
call fcn.0040ed00
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00411f40
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040ea90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040ea40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ea40
jmp 0x411d68
push 0x5c
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 8]
add ecx, 8
call fcn.0040ed00
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
add ecx, 4
call fcn.0040ed00
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00411f40
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ea90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040ea40
push 0
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
add ecx, 4
call fcn.0040ed00
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x28]
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.0040ed00
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
call fcn.0040ed00
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x411dbe
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
push 0x48f34c
lea edx, [ebp - 0x24]
push edx
call fcn.0045d17a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ea40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x413000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x49a1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0045d100
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0x481d7c
lea edx, [ebp - 0x114]
push edx
call fcn.004130b0
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
call fcn.0040ed00
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [ebp - 0x114]
call fcn.0040ea40
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e950
mov ecx, dword [ebp - 0x118]
or ecx, 1
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045cdbc
mov esp, ebp
pop ebp
ret

Function at 0x4130b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x49a1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
push 0x105
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0045d100
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e950
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045cdbc
mov esp, ebp
pop ebp
ret
Function at 0x422980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.0045d100
add esp, 0xc
mov dword [ebp - 0x50], 0x44
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4229d6
mov al, 1
jmp 0x4229d8
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x424a40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x424a6f
push esi
call fcn.004290f0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x424a68
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x424ae9
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x424ad9
mov eax, dword [esi + 8]
test eax, eax
je 0x424a94
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x1a0]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x424ad5
cmp eax, 2
je 0x424ad9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x424a85
cmp eax, 3
je 0x424abc
cmp eax, 1
jne 0x424a85
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x424a85
mov edx, dword [esi + 0x120]
add dword [eax + 8], edx
jmp 0x424a85
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00424710
pop esi
ret
cmp eax, 0xcc
je 0x424b0b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00424710
pop esi
ret
Function at 0x4307b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1b8]
mov dword [esp + 0x18], esi
jne 0x4307d7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x4307e3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x4308f6
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x430828
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x430849
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x43089f
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x430880
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
inc ebx
mov edx, eax
cmp esi, edx
jg 0x430880
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
inc esi
cmp esi, 0xff
jle 0x430866
cmp dword [esp + 0x10], 0
je 0x4308dd
mov eax, 1
lea edx, [ebp - 1]
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
inc eax
dec edx
cmp eax, 0xff
jle 0x4308c0
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
inc ecx
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x430820
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x43dffb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43e043
call fcn.0044626e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43e043
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43e086
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43e06f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43e06f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43e083
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43f1f2
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47d6d2
call fcn.00460c3f
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43f217
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43f25d
lea ecx, [ebp - 0x10]
call fcn.0040e870
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043ea1a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040f450
mov eax, esi
call fcn.00460d17
ret 8

Function at 0x4400e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x440108
cmp dword [edi + 0x54], 0
jne 0x440108
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044626e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004400a5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4458aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4458f1
call fcn.0044626e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4458f1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44590d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00445424
mov esi, eax
test edi, edi
je 0x44590b
test ebx, ebx
je 0x44590b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45cdbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49a1b0]
jne 0x45cdc6
repz ret
jmp fcn.00465c2c