joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fb9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call dword [0x4acfb0]
lea ecx, [esp + 0xc]
call fcn.0049c994
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
xor ebx, ebx
push 0x4cb518
push ecx
mov dword [esp + 0x34], ebx
call fcn.0049c98e
mov eax, dword [esp + 0x18]
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
push edx
push eax
push ecx
lea ecx, [esi + 0x4acfc]
mov dword [esp + 0x1c], ebx
call fcn.0048ba90
mov edx, dword [esp + 8]
mov byte [esp + 0x28], 1
cmp dword [edx - 8], ebx
jne 0x404022
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.0049c9a6
lea ecx, [esp + 8]
call fcn.0049cc04
lea ecx, [esp + 8]
call fcn.0049cbfe
mov ecx, dword [esp + 8]
push ecx
push esi
lea ecx, [esp + 0x1c]
call fcn.00401a00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00401c20
test eax, eax
je 0x4040c4
push edi
lea ecx, [esp + 0x18]
call fcn.00401fc0
mov ecx, dword [esi + 0x68]
mov edi, eax
push edi
call fcn.0045daa0
cmp eax, ebx
je 0x404084
mov edx, dword [esi + 0x68]
push edi
mov ecx, dword [edx + 0x6d4]
call fcn.0045a710
mov ecx, esi
call fcn.0049c99a
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00401a90
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call fcn.0049c982
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0049c982
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
call fcn.0049cbec
mov ecx, dword [eax + 4]
call fcn.0049cbe6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push eax
push ecx
mov ecx, 0x4d8200
mov byte [esp + 0x30], 3
call fcn.0042d210
mov byte [esp + 0x28], 2
call fcn.0049cbec
mov ecx, dword [eax + 4]
call fcn.0049cbbc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00401a90
lea ecx, [esp + 8]
mov byte [esp + 0x28], bl
call fcn.0049c982
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0049c982
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x413740
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x49fe2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0
mov ecx, 0x4d8200
mov dword [esp + 0x14], edi
call fcn.00428a70
mov ecx, dword [eax + 0x6d4]
call fcn.00405f10
mov esi, dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], 0
mov eax, dword [esi]
lea ebp, [esi + 0x18]
test eax, eax
jle 0x4138a7
jmp 0x41379e
mov esi, dword [esp + 0x30]
push 0x1ec
call fcn.0049c9be
add esp, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x4137c2
mov ecx, eax
call fcn.00446270
mov ebx, eax
mov eax, dword [ebp]
mov dword [esp + 0x28], 0xffffffff
mov dword [ebx + 4], eax
call fcn.0047d340
mov dword [ebx + 0x1e0], eax
mov ecx, dword [ebp + 0x1a4]
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x1e4], ecx
mov edx, dword [esi + 8]
lea edi, [ebx + 0x14]
mov ecx, 0x72
mov esi, ebp
mov dword [ebx + 0x1e8], edx
xor edx, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 4]
mov edi, dword [eax + 0x20c]
lea ecx, [eax + 0x204]
mov eax, esi
shr eax, 4
div edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], edi
test ecx, ecx
mov edi, edx
je 0x413841
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x41383d
cmp dword [eax + 8], esi
je 0x413839
mov eax, dword [eax]
test eax, eax
jne 0x41382c
jmp 0x41383d
test eax, eax
jne 0x41387f
test ecx, ecx
jne 0x413857
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 1
push ecx
lea ecx, [edx + 0x204]
call fcn.00415bb0
mov eax, dword [esp + 0x10]
lea esi, [eax + 0x204]
mov ecx, esi
call fcn.00433320
mov dword [eax + 4], edi
mov ecx, dword [ebx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [edx + edi*4], eax
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x14]
add ebp, 0x1c8
mov edx, dword [ecx]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x41379a
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
lea ebp, [edi + 0x204]
lea ecx, [ebx + 0x90]
push ebp
call fcn.0043abc0
mov esi, dword [edi + 0x210]
neg esi
sbb esi, esi
test esi, esi
je 0x413923
cmp esi, 0xffffffff
mov edx, esi
jne 0x4138e8
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
jbe 0x4138e8
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
test edx, edx
jne 0x4138e8
inc eax
add ecx, 4
cmp eax, esi
jb 0x4138da
mov esi, dword [edx]
test esi, esi
jne 0x41390d
mov eax, dword [edx + 4]
mov edi, dword [ebp + 8]
inc eax
cmp eax, edi
jae 0x41390d
mov ecx, dword [ebp + 4]
lea ecx, [ecx + eax*4]
mov esi, dword [ecx]
test esi, esi
jne 0x41390d
inc eax
add ecx, 4
cmp eax, edi
jb 0x4138ff
mov edi, dword [edx + 0xc]
push ebx
mov ecx, edi
call fcn.004462f0
mov ecx, edi
call fcn.00446370
test esi, esi
jne 0x4138c7
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x41cd20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a0bf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
push 0xfa0
push 1
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0047df30
xor ebx, ebx
lea ecx, [esi + 0x170]
mov dword [esp + 0x18], ebx
call fcn.00481630
mov ecx, 0x1b
xor eax, eax
lea edi, [esi + 0x100]
mov dword [esi], 0x4affb0
rep stosd dword es:[edi], eax
lea edx, [esi + 0x90]
xor ecx, ecx
lea edi, [esi + 0xb0]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea ecx, [esi + 0xa0]
mov edx, dword [esp + 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x16c], edx
mov dword [esi + 0x1c0], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x4237f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a13b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
mov esi, dword [esp + 0x94]
mov ebx, ecx
push edi
mov ecx, esi
call fcn.0049ce4a
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [0x4ac144]
lea edx, [esp + 0x58]
push edx
call fcn.00498b50
add esp, 4
mov ecx, 0x4d8200
call fcn.00429040
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push 1
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push 0xc3dc
push esi
mov ecx, ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x58
call fcn.0041cfc0
test eax, eax
je 0x423935
mov ecx, dword [esp + 0x10]
cmp ecx, 0xa
jne 0x4238cc
mov eax, dword [esp + 0xc]
mov ecx, 5
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x1c]
test eax, eax
mov dword [ecx], edx
je 0x4238c5
push eax
call fcn.0049c964
add esp, 4
mov eax, 1
jmp 0x423937
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4238e9
push eax
call fcn.0049c964
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0xc], 0
cmp ecx, 0x3e8
jne 0x42392c
lea eax, [esp + 0x18]
push 0x4ce8a4
push eax
call fcn.0042a100
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x94], 0
call fcn.0049c9a6
lea ecx, [esp + 0x18]
mov dword [esp + 0x90], 0xffffffff
call fcn.0049c982
jmp 0x423935
push ecx
push esi
mov ecx, ebx
call fcn.0041d420
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0xc
Function at 0x4269d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a161e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
xor eax, eax
mov edx, 0x11
mov ecx, 0xa
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], 0x4ad968
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esi + 0x28], 0x4b00e0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
mov dword [esi], 0x4b00dc
call fcn.0049c994
lea eax, [esp + 0xc]
mov ecx, 0x4d8200
push eax
mov byte [esp + 0x20], 2
call fcn.0042b5c0
mov ecx, dword [eax]
lea edx, [esp + 8]
push ecx
push 0x4cfc9c
push edx
mov byte [esp + 0x28], 3
call fcn.0049c98e
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.0049c982
mov eax, dword [esp + 8]
mov edi, dword [0x4ac1dc]
push eax
call edi
lea ecx, [esp + 0xc]
mov dword [esi + 4], eax
push ecx
mov ecx, 0x4d8200
call fcn.0042b5c0
mov edx, dword [eax]
lea eax, [esp + 8]
push edx
push 0x4cfc88
push eax
mov byte [esp + 0x28], 4
call fcn.0049c98e
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.0049c982
mov ecx, dword [esp + 8]
push ecx
call edi
lea ecx, [esp + 8]
mov dword [esi + 8], eax
mov byte [esp + 0x1c], 1
call fcn.0049c982
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x438c70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a35e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
push eax
mov ecx, ebp
call fcn.004466e0
lea ecx, [esp + 0x28]
lea edx, [ebp + 0x14]
xor eax, eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
call fcn.004372c0
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [ebp + 0x24]
cdq
push edx
push eax
push ebx
push esi
call fcn.004267f0
add esp, 0x10
mov ecx, esi
push eax
mov eax, dword [esp + 0x14]
push ebx
push 0
push 0
push 0
push edi
push edi
push eax
push 0x23
call fcn.0049cebc
push 0x28
mov dword [esp + 0x28], eax
call fcn.0049c9be
mov ebx, eax
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, ebp
call fcn.00446780
mov edi, dword [esp + 0x24]
mov dword [ebx + 4], eax
mov dword [ebx], 0x1f
mov ecx, dword [ebp + 0x48]
mov dword [ebx + 8], ecx
mov dword [ebx + 0x24], edi
mov eax, dword [ebp + 0x24]
push ebx
cdq
push 0
push 0
push 0
mov dword [ebx + 0x18], eax
push 0
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0xc], ebp
mov edx, dword [ebp + 0x34]
push 0
push 4
push edi
mov ecx, esi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x20], esi
call fcn.0049ce68
mov eax, dword [esi + 0xd8]
mov ebp, dword [esi + 0xd0]
test eax, eax
jne 0x438d93
mov eax, dword [esi + 0xe0]
push 0xc
lea ecx, [esi + 0xdc]
push eax
push ecx
call fcn.0049cb26
mov ecx, dword [esi + 0xe0]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x438d93
inc ecx
mov edx, dword [esi + 0xd8]
mov dword [eax], edx
mov dword [esi + 0xd8], eax
sub eax, 0xc
dec ecx
jne 0x438d7f
mov eax, dword [esi + 0xd8]
mov ecx, dword [eax]
mov dword [esi + 0xd8], ecx
mov dword [eax + 4], ebp
mov dword [eax], 0
mov ebp, dword [esi + 0xd4]
inc ebp
mov dword [esi + 0xd4], ebp
mov dword [eax + 8], 0
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x438dcf
mov dword [ecx], eax
jmp 0x438dd5
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x438e0c
mov edx, dword [esi + 0x20]
push edx
call dword [0x4aced4]
push eax
call fcn.0049ce62
mov ecx, eax
call fcn.0049cc64
mov eax, dword [eax + 0x20]
push 0
push ebx
push 0x8808
push eax
call dword [0x4acfb4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0049c982
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4466e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4dbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call fcn.0049c994
lea eax, [esi + 0x198]
lea ecx, [esi + 0x78]
push eax
add esi, 0x178
push ecx
push esi
lea edx, [esp + 0x10]
push 0x4d2388
push edx
mov dword [esp + 0x28], 1
call fcn.0049c98e
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.0049caf6
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0049c982
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x452130
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a5e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 0x4d1390
lea ecx, [esp + 0xc]
call fcn.0049cdc6
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0
call fcn.0049c994
lea eax, [esp + 4]
mov ecx, esi
push eax
push 0x3fc
mov byte [esp + 0x28], 1
call fcn.0049c976
mov ecx, eax
call fcn.0049c9b2
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.0049d096
cmp eax, 0xffffffff
jne 0x4521d9
mov edx, dword [esp + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x4521d9
lea ecx, [esp + 4]
mov byte [esp + 0x20], 0
call fcn.0049c982
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0049c982
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push edi
lea ecx, [esp + 0x18]
call fcn.0049c994
lea eax, [esp + 0x14]
mov ecx, 0x4d8200
push eax
mov byte [esp + 0x28], 2
call fcn.00428610
mov edi, dword [eax]
lea ecx, [esp + 0x10]
push 0x4d1380
push ecx
mov byte [esp + 0x2c], 3
call fcn.0042a100
add esp, 8
mov eax, dword [eax]
push 0x40
push edi
push eax
mov ecx, esi
mov byte [esp + 0x30], 4
call fcn.0049c9a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.0049c982
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.0049c982
push 0x3fc
mov ecx, esi
call fcn.0049c976
mov ecx, eax
call fcn.0049c99a
push 0x3fc
mov ecx, esi
call fcn.0049c976
mov edi, dword [0x4acfc4]
mov esi, eax
push 0xffffffffffffffff
push 0
mov edx, dword [esi + 0x20]
push 0xb1
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.0049c982
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.0049c982
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0049c982
mov ecx, dword [esp + 0x1c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x482650
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push 8
push edi
add bl, cl
call 0xfd90f190
shl eax, 0x18
mov dword [esi], eax
mov edx, 0xa16490
mov ebp, eax
mov ecx, ebp
mov eax, ecx
call 0x81456f24
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebp, eax
jne fcn.00482650
push 0x20
push eax
mov ecx, ebx
mov dword [esi], ebp
call fcn.00482690
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x8d00ff
jle 0x48263a
pop edi
pop esi
mov eax, ebx
and al, 0x2c
ret

Function at 0x482690
Capabilities:
Encode data using xor

Disassembly:
movsx eax, byte [eax]
mov ecx, dword [eax]
xor eax, eax
lea edx, [ecx + 1]
cmp edx, 1
jle 0x4826bf
push esi
lea esi, [edx - 1]
mov edx, dword [esp + 8]
push edi
dec ecx
test dl, 0xd
add byte [eax], al
mov edi, 0x8d000468
shl edi, cl
or eax, edi
shr edx, 1
dec ecx
dec esi
jne 0x4826a9
pop edi
pop esi
enter 8, 0xffffffffffffffe8
js 0x482739
add byte [eax], al
test eax, eax
sbb al, 0xff
nop
js 0x482742
add byte [eax], al
mov dword [eax], 0x32cb9

Function at 0x491990
Capabilities:
Encode data using xor

Disassembly:
xor ch, cl
nop
nop
push edi
lea edi, [eax + 8]
mov edx, dword [edi - 4]
mov ecx, dword [edi - 8]
push edx
mov dword [ecx + ecx*4 + 0x28], esi
mov dword [eax], eax
mov esp, dword [eax]
call ebx
mov dword [eax], eax
add byte [ebx + ecx*4], bl
pop es
push eax
call ebx
mov edx, dword [ebp + 0x20]
push esi
call 0xf49a6c3
adc byte [ecx + 0x51142444], cl
push esi
push 0x8400101b
push edx
call dword [0x78e1cfc4]
mov eax, dword [eax + eax]
xor al, 0x46
add edi, 0xc
cmp esi, eax
jl 0x491998
pop edi
pop ebx
int 0x24
add byte [eax], al
and dl, al
or byte [eax], al
add byte [esp + 0x24], cl
and al, 0x24
and al, 0x24
and al, 0x24
and al, 0x24
push esi
push ecx
int1
push esi
push 2
add byte [esi + 0x40], cl
call 0xeacb30
mov ecx, esi
call fcn.0049c8d2
add byte [eax], al
mov ecx, dword [esp + 8]
and al, 8
add byte [ecx + ecx*4 + 0xd], ah
dec esp
test eax, eax
je fcn.00491a90
and al, 0x10
je 0x491a09
mov eax, dword [edi + 8]
cmp eax, 0x51fffeba
je 0x491a29
cmp eax, 0x51fffece
jne 0x491a4c
mov eax, dword [edi + 0xc]
mov ecx, esi
inc edi
or al, 0x8b
into
push eax
call 0xec094e20
insb byte es:[edi], dx
sal byte [esp + edx], 0
mov edx, dword [ebx + ecx*4]
jl 0x491a2a
add dh, byte [ebx]
rcr byte [esi - 0x39], 1
jmp 0x491a49
ret 0xc
dec ebp
push esp
mov edx, dword [ebx + eax]
inc esp
and al, 0xc
push edx
push edi
push eax
mov ecx, esi
call 0x8907c890
pop edi
pop esi
nop
or al, 0
Function at 0x40da20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46dbfb
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.004626f1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40daa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046004a
mov eax, dword [eax]
push 0x4851c4
push eax
call fcn.00452db4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046297c
test bl, bl
je 0x40daa2
push 0x4851c4
lea ecx, [esp + 0xc]
call fcn.00462d0c
push 0x488d3c
lea ecx, [esp + 0xc]
call fcn.00462d0c
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 0x40dade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046297c
jmp 0x40dba9
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 0x40db62
lea edx, [esp + 0x7c]
push 0x488d38
push edx
call fcn.00452db4
add esp, 8
test eax, eax
je 0x40db62
lea eax, [esp + 0x7c]
push 0x488d34
push eax
call fcn.00452db4
add esp, 8
test eax, eax
je 0x40db62
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 0x40daf2
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.0046297c
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 0x40e3a0
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 0x40e402
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 0x40e410
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46dc7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48f204]
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 0x40e548
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e476
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046297c
xor eax, eax
jmp 0x40e5bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462ab9
push esi
lea ecx, [esp + 0xc]
call fcn.00462d48
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40e59d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e3a0
test eax, eax
jne 0x40e59d
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.0040e3a0
test eax, eax
jne 0x40e59d
lea eax, [esp + 0x14]
push 0x488d50
push eax
call fcn.00453df0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e57c
lea ecx, [esp + 0x14]
push 0x488d4c
push ecx
call fcn.00453d70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40e57c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40e57f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462a69
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e48e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046297c
xor eax, eax
jmp 0x40e5bf
mov byte [esi], 0
push 0x488d48
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.0046297c
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