joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b560
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8675
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4e7744]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov esi, 0x1000
mov dword [ebp - 4], ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x40b614
lea eax, [ebp - 0x30]
push eax
push esi
push edi
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x40b604
mov eax, dword [ebp - 0x30]
cmp esi, eax
jne 0x40b647
add esi, esi
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x40b604
lea ecx, [ebp - 0x30]
mov edi, eax
push ecx
push esi
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
jne 0x40b5d5
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aa4f4
mov esp, ebp
pop ebp
ret
shr eax, 2
mov dword [ebp - 0x34], 0
test eax, eax
je 0x40b72d
mov esi, eax
jmp 0x40b660
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp dword [ebp + 0x10], eax
je 0x40b69e
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x40b6e1
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ecx]
jne 0x40b6e1
lea eax, [ebp - 0x28]
push eax
push dword [edi]
call fcn.0040c010
add esp, 8
test al, al
je 0x40b6e1
push dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
call fcn.0040c4d0
add esp, 8
test al, al
je 0x40b6e1
cmp ebx, dword [ebp - 0x40]
je 0x40b6d4
mov eax, dword [edi]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x44], ebx
jmp 0x40b6e1
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040b400
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40b71b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b711
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b743
push edx
push ecx
call fcn.004aa4d8
add esp, 8
mov ecx, dword [ebp - 0x34]
add edi, 4
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, esi
jl 0x40b660
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
jmp 0x40b62b
call fcn.004aeecf
int3
Function at 0x40c010
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x22c
mov eax, dword [0x4e7744]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x230]
push esi
mov esi, dword [esp + 0x238]
push edi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40c157
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x40c150
push 0x104
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x10]
push edi
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
je 0x40c150
xor eax, eax
lea ecx, [esp + 0x10]
mov word [esp + 0x22e], ax
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00401ac0
mov ebx, eax
cmp esi, ebx
je 0x40c126
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40c0de
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40c0d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c170
mov eax, edx
push ecx
push eax
call fcn.004aa4d8
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x14], 7
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea ecx, [esp + 0x14]
call fcn.004022d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004aa4f4
add esp, 0x22c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x230]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004aa4f4
add esp, 0x22c
ret
call fcn.004aeecf
int3
Function at 0x40c220
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c87dd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e7744]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x40c28a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x40c27e
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00409f70
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], esi
push eax
push 0x40c3c0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c2dc
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c2f8
push edx
push ecx
call fcn.004aa4d8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aa4f4
mov esp, ebp
pop ebp
ret
call fcn.004aeecf
int3

Function at 0x40c300
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x10]
push dword [esp + 0x20]
push eax
call fcn.0040b560
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov esi, ebx
cmp esi, ebp
je 0x40c363
push edi
lea ebx, [ebx]
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40c35b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebp
jne 0x40c330
pop edi
test ebx, ebx
je 0x40c394
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40c38a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c39b
push ecx
push ebx
call fcn.004aa4d8
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.004aeecf
int3
Function at 0x427140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
mov al, byte [esi]
test al, al
je 0x42717e
cmp al, 3
jb 0x427160
push esi
call fcn.00427390
add esp, 4
test eax, eax
jne 0x427298
mov al, byte [esi]
cmp al, 1
jne 0x42716d
mov eax, 0x65
pop esi
ret
cmp al, 2
jne 0x42717e
cmp dword [esi + 4], 0
mov byte [esi], 0
jge 0x42717e
xor eax, eax
pop esi
ret
mov edx, dword [esi + 0x74]
movzx eax, word [esi + 0x46]
push ebx
push edi
cmp byte [edx + 8], 0
mov ecx, eax
jne 0x4271ca
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edx + 0x38]
mov eax, dword [ecx + eax]
bswap eax
push eax
push esi
call fcn.0043b310
add esp, 8
test eax, eax
jne 0x427296
push esi
call fcn.0043b440
add esp, 4
pop edi
pop ebx
pop esi
ret
test ax, ax
jne 0x427266
mov bl, byte [esi + 0x44]
test bl, bl
je 0x427288
and byte [esi + 1], 0xf9
xor eax, eax
mov ecx, dword [esi + 0x74]
movsx edx, bl
dec bl
mov word [esi + 0x32], ax
mov ax, word [esi + edx*2 + 0x46]
mov word [esi + 0x46], ax
mov byte [esi + 0x44], bl
mov eax, dword [esi + edx*4 + 0x74]
mov dword [esi + 0x74], eax
mov edx, dword [ecx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42724b
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x427254
push edx
call fcn.0046a550
add esp, 4
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4271d3
mov edx, dword [esi + 0x74]
mov ecx, eax
lea eax, [ecx - 1]
mov word [esi + 0x46], ax
cmp byte [edx + 2], 0
je 0x427294
cmp byte [edx + 8], 0
jne 0x427294
push 0
push esi
call fcn.00450fe0
add esp, 8
pop edi
pop ebx
pop esi
ret
pop edi
pop ebx
mov byte [esi], 1
mov eax, 0x65
pop esi
ret
xor eax, eax
pop edi
pop ebx
pop esi
ret
Function at 0x4272a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov al, byte [ebp + 0x44]
test al, al
js 0x42738a
push ebx
push esi
xor ebx, ebx
push edi
test al, al
jle 0x427328
add ebp, 0x78
lea esp, [esp]
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x42730b
mov eax, dword [ecx + 0x14]
dec dword [eax + 0x78]
mov edx, dword [eax + 0x88]
mov dword [ecx + 0x10], edx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], ecx
push dword [ecx + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x427314
push ecx
call fcn.0046a550
add esp, 4
mov eax, dword [esp + 0x14]
inc ebx
add ebp, 4
movsx eax, byte [eax + 0x44]
cmp ebx, eax
jl 0x4272c0
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0x74]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42737a
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov byte [ebp + 0x44], 0xff
pop edi
pop esi
pop ebx
pop ebp
ret
push edx
call fcn.0046a550
add esp, 4
mov byte [ebp + 0x44], 0xff
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43b4f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
xor ebp, ebp
push edi
mov al, byte [esi + 0x44]
test al, al
js 0x43b596
je 0x43b591
mov eax, dword [esi + 0x74]
push dword [eax + 0x48]
call fcn.00469790
mov al, byte [esi + 0x44]
add esp, 4
sub al, 1
mov byte [esi + 0x44], al
je 0x43b586
push ebx
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x43b572
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x43b57b
push ecx
call fcn.0046a550
add esp, 4
mov al, byte [esi + 0x44]
sub al, 1
mov byte [esi + 0x44], al
jne 0x43b523
pop ebx
mov edx, dword [esi + 0x78]
mov dword [esi + 0x74], edx
jmp 0x43b60c
mov edx, dword [esi + 0x74]
jmp 0x43b5f7
mov ecx, dword [esi + 0x40]
test ecx, ecx
jne 0x43b5a7
pop edi
mov byte [esi], 1
lea eax, [ecx + 0x10]
pop esi
pop ebp
ret
mov al, byte [esi]
cmp al, 3
jb 0x43b5c4
cmp al, 4
jne 0x43b5b8
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebp
ret
push esi
call fcn.0044e3f0
mov ecx, dword [esi + 0x40]
add esp, 4
movzx eax, byte [esi + 2]
lea edi, [esi + 0x74]
push eax
mov eax, dword [esi + 8]
push 0
push edi
push ecx
push dword [eax + 4]
call fcn.00436fc0
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x43b5eb
pop edi
mov byte [esi], 1
pop esi
pop ebp
ret
mov edx, dword [edi]
mov byte [esi + 0x44], 0
mov al, byte [edx + 2]
mov byte [esi + 0x45], al
cmp byte [edx], 0
je 0x43b671
movzx eax, byte [edx + 2]
xor ecx, ecx
cmp dword [esi + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x43b671
and byte [esi + 1], 0xf1
xor eax, eax
mov word [esi + 0x46], ax
mov word [esi + 0x32], ax
cmp word [edx + 0x18], ax
jbe 0x43b628
pop edi
mov byte [esi], al
mov eax, ebp
pop esi
pop ebp
ret
cmp byte [edx + 8], al
jne 0x43b663
cmp dword [edx + 4], 1
je 0x43b643
pop edi
pop esi
pop ebp
mov dword [esp + 4], 0x1126a
jmp fcn.004545a0
movzx ecx, byte [edx + 9]
mov eax, dword [edx + 0x38]
mov eax, dword [ecx + eax + 8]
bswap eax
push eax
push esi
mov byte [esi], 0
call fcn.0043b310
add esp, 8
mov ebp, eax
pop edi
pop esi
pop ebp
ret
pop edi
mov ebp, 0x10
mov byte [esi], 1
pop esi
mov eax, ebp
pop ebp
ret
push 0x4d6684
push 0x1125d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00420250
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
ret
Function at 0x445260
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
push dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov byte [edi + 0x10], 1
push ebx
push ebx
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___Q_NULL
push edi
call fcn.004675a0
add esp, 0x1c
cmp dword [esp + 0x14], 0
jne 0x4452a8
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___Q_NULL
push edi
call fcn.004675a0
add esp, 0x14
pop edi
pop ebx
ret
Function at 0x44ed50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
push esi
xor ebx, ebx
call fcn.0043b4f0
add esp, 4
cmp eax, 0x10
jne 0x44ed7a
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], ebx
xor eax, eax
pop ebx
pop ecx
ret
push edi
test eax, eax
jne 0x44eebb
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x118], 0
jne 0x44eebb
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x44eda7
cmp byte [edi + 2], cl
jne 0x44ee58
movzx eax, word [edi + 0x18]
cdq
add ebp, eax
adc ebx, edx
mov dword [esp + 0x10], ebx
test cl, cl
je 0x44ee58
lea esp, [esp]
mov dl, byte [esi + 0x44]
test dl, dl
je 0x44eea5
and byte [esi + 1], 0xf9
xor eax, eax
movsx ecx, dl
dec dl
mov word [esi + 0x32], ax
mov ax, word [esi + ecx*2 + 0x46]
mov word [esi + 0x46], ax
mov byte [esi + 0x44], dl
mov eax, dword [esi + ecx*4 + 0x74]
mov dword [esi + 0x74], eax
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x44ee35
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004aa8f0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x44ee3e
push edx
call fcn.0046a550
add esp, 4
mov edi, dword [esi + 0x74]
movzx eax, word [esi + 0x46]
cmp ax, word [edi + 0x18]
jae 0x44edc0
mov ebx, dword [esp + 0x10]
inc eax
mov word [esi + 0x46], ax
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x18]
cmp ecx, eax
jne 0x44ee71
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x44ee8b
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
bswap eax
push eax
push esi
call fcn.0043b310
add esp, 8
test eax, eax
je 0x44ed83
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push esi
mov dword [eax], ebp
mov dword [eax + 4], ecx
call fcn.0043b4f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x45d8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
mov edx, dword [esp + 0x14]
push ebp
push esi
xor esi, esi
xor ebp, ebp
cmp dword [eax + 0x14], esi
jle 0x45d96e
push ebx
push edi
lea esp, [esp]
mov eax, dword [eax + 0x10]
mov ebx, esi
xor ebx, 1
cmp esi, 2
cmovge ebx, esi
mov ecx, ebx
add ecx, ecx
mov edi, dword [eax + ecx*8 + 0xc]
mov dword [esp + 0x10], edi
test edx, edx
je 0x45d935
mov eax, dword [eax + ecx*8]
mov edi, edx
sub edi, eax
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x45d907
test edx, edx
je 0x45d935
inc eax
jmp 0x45d8f5
movzx ecx, byte [ecx + 0x4cf118]
movzx edx, byte [edx + 0x4cf118]
sub edx, ecx
jne 0x45d91c
inc eax
jmp 0x45d8f5
test ebx, ebx
jne 0x45d952
push dword [esp + 0x24]
push str.main
call fcn.00475700
add esp, 8
test eax, eax
jne 0x45d952
mov eax, dword [esp + 0x10]
push 0
push dword [esp + 0x24]
add eax, 0x18
push eax
call fcn.00432340
add esp, 0xc
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x45d964
mov eax, dword [esp + 0x1c]
inc esi
mov edx, dword [esp + 0x24]
cmp esi, dword [eax + 0x14]
jl 0x45d8d0
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
Function at 0x4697f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x469817
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x469817
cmp dword [edx + 0x60], 0
je 0x469814
mov dword [esp + 4], ecx
jmp fcn.004917e0
xor eax, eax
ret
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x469816
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x469835
mov dword [esp + 4], ecx
jmp fcn.0043f400
mov dword [esp + 4], ecx
jmp fcn.004406a0
Function at 0x497760
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x14
mov dword [edi], 0
call fcn.00466e30
mov esi, eax
add esp, 8
test esi, esi
jne 0x497784
pop edi
lea eax, [esi + 7]
pop esi
ret
cmp byte [0x4e600c], 0
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
je 0x4977d2
mov eax, dword [0x4e60fc]
test eax, eax
je 0x4977ae
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x4977d2
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x475b10
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.004b280e
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4977e2
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x4977fa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop ebp
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
ret
Function at 0x4a99c2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4e7744]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x4a99e7
xor eax, eax
jmp 0x4a9a43
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x4a9a14
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x4a9a14
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x4a9aca
cmp dword [edi + 0x4c], 0
je 0x4a9a3d
mov ecx, edi
call fcn.004a9651
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x4a9a53
push dword [edi + 0x4c]
push ebx
call fcn.004a8ea4
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x4a9a42
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004aa4f4
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x4c92a8]
mov ecx, dword [ebp - 0x2c]
call esi
sub eax, 0
je 0x4a9a9d
sub eax, 1
je 0x4a9a9d
dec eax
sub eax, 1
jne 0x4a9a3d
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x4a9a2f
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4a9aba
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.004b40d7
add esp, 0x10
cmp esi, eax
jne 0x4a9a3d
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x4a9a3d
mov ax, bx
jmp 0x4a9a42

Function at 0x4bb8d8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bb589

Function at 0x4bb8e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bb713

Function at 0x4c0735
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c03b2
Function at 0xdba370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xdba38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xde3074
push ecx
mov edi, eax
call fcn.00dce198
mov esi, eax
add esp, 8
test esi, esi
jne 0xdba3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00dce02e
push esi
call fcn.00dcdfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret