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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401998
push 0x407f08
mov ecx, 8
sub esp, 0x10
xor eax, eax
mov edx, esp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0x38]
mov eax, 0x40a320
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push 1
push 3
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x30]
push ecx
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x2c]
push edx
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
add esp, 0x20
push eax
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea eax, [ebp - 0x18]
push eax
call ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [ebp - 0x18]
push 0
push 1
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x407f18
push 0
push 2
push edx
push eax
call esi
add esp, 0x10
push eax
call edi
lea ecx, [ebp - 0x14]
push eax
push ecx
call ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [ebp - 0x18]
push 0
push 4
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov eax, dword [ebp - 0x14]
add esp, 0xc
push 0
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
neg ax
sbb eax, eax
push 0x41f266
neg eax
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x41f255
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
ret
Function at 0x41f280
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4019a8
push 0x407f08
mov ecx, 8
sub esp, 0x10
mov eax, 0x40a280
mov edx, esp
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
push 1
push 3
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
xor ebx, ebx
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push ecx
mov dword [ebp - 0x14], ebx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
call esi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x30]
call edi
mov ecx, dword [ebp - 0x18]
push ebx
push 1
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x407f18
push ebx
push 2
push edx
push eax
call esi
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea ecx, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x30]
call edi
mov edx, dword [ebp - 0x14]
push ebx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
test ax, ax
jne 0x41f3da
sub esp, 0x10
mov ecx, 3
mov edx, esp
mov eax, 4
push 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x14]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x30]
push edx
call esi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040123c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
mov si, ax
call fcn.0041f5e0
xor ecx, ecx
cmp si, ax
setg cl
neg ecx
mov esi, ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call edi
cmp si, bx
je 0x41f3da
mov dword [ebp - 0x1c], 0xffffffff
mov edx, dword [ebp - 0x18]
push ebx
push 4
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0xc
push 0x41f415
jmp 0x41f404
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
ret
Function at 0x41f430
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4019b8
push 0x407f08
mov ecx, 8
sub esp, 0x10
mov eax, 0x40a320
mov edx, esp
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
push 1
push 3
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
xor ebx, ebx
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push ecx
mov dword [ebp - 0x14], ebx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
call esi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x30]
call edi
mov ecx, dword [ebp - 0x18]
push ebx
push 1
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x407f18
push ebx
push 2
push edx
push eax
call esi
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea ecx, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x30]
call edi
mov edx, dword [ebp - 0x14]
push ebx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
test ax, ax
jne 0x41f58a
sub esp, 0x10
mov ecx, 3
mov edx, esp
mov eax, 4
push 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x14]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x30]
push edx
call esi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040123c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
mov si, ax
call fcn.0041f5e0
xor ecx, ecx
cmp si, ax
setg cl
neg ecx
mov esi, ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call edi
cmp si, bx
je 0x41f58a
mov dword [ebp - 0x1c], 0xffffffff
mov edx, dword [ebp - 0x18]
push ebx
push 4
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0xc
push 0x41f5c5
jmp 0x41f5b4
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
ret
Function at 0x41f5e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4019c8
push 0x407f08
mov ebx, dword [ebp - 0x3c]
sub esp, 0x10
mov ecx, 8
mov edx, esp
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [edx], ecx
mov ecx, dword [0x423028]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [edx + 4], ebx
mov eax, 0x40a464
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
push 1
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
push 3
push ecx
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x30]
push edx
call esi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x30]
call edi
mov ecx, dword [ebp - 0x18]
push 0
push 1
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x407f18
push 0
push 2
push edx
push eax
call esi
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea ecx, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x30]
call edi
sub esp, 0x10
mov ecx, 3
mov edx, esp
mov eax, 1
push 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x14]
push ecx
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x30]
push edx
call esi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040123c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call edi
mov eax, dword [ebp - 0x18]
push 0
push 4
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0xc
push 0x41f745
jmp 0x41f734
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
ret
Function at 0x41fab0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401a18
mov edx, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
call ebx
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x40a8bc
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [fcn.0040123c]
push eax
push 0x40a918
call edi
push 0x407f08
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x3c], ecx
mov edx, esp
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
mov dword [ebp - 0x34], eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x38]
push 3
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x4c]
push edx
call edi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x1c]
push esi
push 1
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
lea edx, [ebp - 0x3c]
push 0x407f18
push esi
push 2
push ecx
push edx
call edi
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
sub esp, 0x10
mov ecx, 3
mov edx, esp
mov eax, 1
push 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x18]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x3c]
push edx
call edi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [fcn.0040123c]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x1c]
push esi
push 4
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ebp - 0x20]
call ebx
push 0x41fc88
jmp 0x41fc67
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call esi
ret
Function at 0x41fca0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401a28
mov edx, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor esi, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
call ebx
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x40a8bc
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [fcn.0040123c]
push eax
push 0x40a94c
call edi
push 0x407f08
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0x3c], ecx
mov edx, esp
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
mov dword [ebp - 0x34], eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x38]
push 3
mov dword [edx + 4], ecx
mov ecx, dword [0x423028]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x4c]
push edx
call edi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x1c]
push esi
push 1
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
lea edx, [ebp - 0x3c]
push 0x407f18
push esi
push 2
push ecx
push edx
call edi
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
sub esp, 0x10
mov ecx, 3
mov edx, esp
mov eax, 1
push 1
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x18]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x50]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x3c]
push edx
call edi
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [fcn.0040123c]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x1c]
push esi
push 4
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ebp - 0x24]
call ebx
push 0x41fe78
jmp 0x41fe57
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call esi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x28]
call esi
ret
Function at 0x530200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd8000]
push edi
jmp 0x53021a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x530221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530210
mov eax, 1
add ebx, ebx
jne 0x530233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x530244
jne 0x530263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530263
dec eax
add ebx, ebx
jne 0x530250
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x530228
add ebx, ebx
jne 0x53025f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5302b5
xor ecx, ecx
sub eax, 3
jb 0x53027b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5302ea
sar eax, 1
mov ebp, eax
jmp 0x530286
add ebx, ebx
jne 0x530286
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530254
inc ecx
add ebx, ebx
jne 0x530294
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x530254
add ebx, ebx
jne 0x5302a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x530296
jne 0x5302b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x530296
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5302d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5302c6
jmp 0x530216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5302d4
add edi, ecx
jmp 0x530216
pop esi
mov edi, esi
mov ecx, 0xa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5302f2
cmp byte [edi], 0
jne 0x5302f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5302f7
lea edi, [esi + 0x12c000]
mov eax, dword [edi]
or eax, eax
je 0x530366
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x131268]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1312b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x530324
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1312bc]
or eax, eax
je 0x530360
mov dword [ebx], eax
add ebx, 4
jmp 0x530341
call dword [esi + 0x1312cc]
mov ebp, dword [esi + 0x1312c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53039a
sub esp, 0xffffff80
jmp 0x4484fe
Function at 0x40c060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47f90b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00474408
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c0e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004722b6
mov eax, dword [eax]
push 0x5c9c98
push eax
call fcn.00464f34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00474693
test bl, bl
je 0x40c0e2
push 0x5c9c98
lea ecx, [esp + 0xc]
call fcn.00474a23
push 0x5c9ca4
lea ecx, [esp + 0xc]
call fcn.00474a23
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40c11e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00474693
jmp 0x40c1e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40c1a2
lea edx, [esp + 0x7c]
push 0x5c9ca0
push edx
call fcn.00464f34
add esp, 8
test eax, eax
je 0x40c1a2
lea eax, [esp + 0x7c]
push 0x5c9c9c
push eax
call fcn.00464f34
add esp, 8
test eax, eax
je 0x40c1a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c132
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00474693
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40c9f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40ca52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40ca60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47f98b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5d362c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40cb98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40cac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00474693
xor eax, eax
jmp 0x40cc0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004747d0
push esi
lea ecx, [esp + 0xc]
call fcn.00474a5f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5c9cd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40cbed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040c9f0
test eax, eax
jne 0x40cbed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040c9f0
test eax, eax
jne 0x40cbed
lea eax, [esp + 0x14]
push 0x5c9cb4
push eax
call fcn.00465fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40cbcc
lea ecx, [esp + 0x14]
push 0x5c9cb0
push ecx
call fcn.00465f30
mov esi, eax
add esp, 8
test esi, esi
jne 0x40cbcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40cbcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00474780
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40cade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00474693
xor eax, eax
jmp 0x40cc0f
mov byte [esi], 0
push 0x5c9cac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00474693
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4