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

Disassembly:
push 0xffffffffffffffff
push 0x479aa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044d310
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044d390
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044d390
lea ecx, [esi + 0xc]
call fcn.00469287
lea ecx, [esi + 0x10]
call fcn.00469287
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044fbd0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044fbd0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044fbd0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004692fc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004692fc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44e408
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x479cc8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44e418
call fcn.0044e930
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44e4fb
cmp byte [edi], 0
je 0x44e4fb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44e43d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044d130
test eax, eax
jne 0x44e45d
push 0x57bea8
lea ecx, [esi + 0x38]
call fcn.00469485
jmp 0x44e4fb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044d180
test eax, eax
jne 0x44e48c
mov ecx, esi
call fcn.0044d280
push edi
add esi, 0x38
push 0x57be84
push esi
call fcn.00466e67
add esp, 0xc
jmp 0x44e4fb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044f1c0
test eax, eax
je 0x44e4f4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044e5d0
test eax, eax
jne 0x44e510
push edi
lea eax, [esi + 0x38]
push 0x57be60
push eax
call fcn.00466e67
add esp, 0xc
mov ecx, esi
call fcn.0044e930
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44e5b8
mov ecx, dword [0x57c118]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00466e67
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044d230
test eax, eax
jne 0x44e57a
push 0x57be44
lea ecx, [esi + 0x38]
call fcn.00469485
jmp 0x44e58a
push 0xfa
mov ecx, esi
call fcn.0044f1c0
test eax, eax
jne 0x44e5a7
mov ecx, esi
call fcn.0044e930
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004692fc
jmp 0x44e4fb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004692fc
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46b6ec
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46b724
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004697a3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046977b
jmp 0x46b730
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46cddf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46ce21
call fcn.00472b83
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ce21
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ce18
xor eax, eax
jmp 0x46ce29
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ce2f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4730b3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4730e1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4730ff
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00473019
jmp 0x4730ff
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4730ff
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00473019
test edi, edi
mov eax, edi
jne 0x4730e9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x515ed6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067cfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x5c]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x34
call fcn.00542d36
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x515f2a
mov ecx, dword [ebp - 0x18]
call fcn.004fe5ff
mov dword [ebp - 0x1c], eax
jmp 0x515f31
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x2c], ecx
mov esi, esp
push 0xfffffffffffffffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79b4]
cmp esi, esp
call fcn.00542cf6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], eax
mov esi, esp
push 0x10001b4f
push 0xfffffffffffffffc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79b8]
cmp esi, esp
call fcn.00542cf6
mov esi, esp
mov ecx, dword [ebp - 0x10]
push ecx
push 0x10099040
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79bc]
cmp esi, esp
call fcn.00542cf6
mov esi, esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
push edx
push 0x10099030
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [0x100a79bc]
cmp esi, esp
call fcn.00542cf6
mov esi, esp
push 0x10001b4f
push 0x10099020
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [0x100a79bc]
cmp esi, esp
call fcn.00542cf6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, 0x100a34b8
call fcn.004fe09b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call fcn.00542cf6
mov esp, ebp
pop ebp
ret
Function at 0x55c666
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b178
push 0x1004d448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x55c6a3
push 0
call dword [0x100a77a8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x55c6db
push 0xc1
call dword [0x100a76c8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x55c83f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x55c713
push 0xbf
call dword [0x100a76c8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x55c83f
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
test ecx, ecx
jne 0x55c741
push 0xc0
call dword [0x100a76c8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x55c83f
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x55c766
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x55c819
push 0x100a2838
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.00548776
add esp, 8
test eax, eax
jne 0x55c814
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x55c7b5
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x55c7b7
jmp 0x55c819
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x30
jb 0x55c7e4
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x727444
je 0x55c7e6
jmp 0x55c819
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x55c7fa
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [0x100a76c8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x55c83f
jmp 0x55c75d
mov dword [ebp - 4], 0xffffffff
jmp 0x55c832
push 0xc0
call dword [0x100a76c8]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x433fa4
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
shl eax, 2
mov dword [0xc02c80c3], eax
arpl word [ebx - 0x5cf7dbbc], cx
xor dword [ecx - 1], ebp
adc al, 0x10
mov bl, 0x68
sub al, 0x85
and dword [ebx + 0x2c75013d], eax
add byte [edx + 0xb], bh
pop esi
cmp byte [0x247400cb], 0xe8
and al, 0xe8
pop ebp
add dword [eax - 0x3f], ecx
mov edx, 0x670059cc
leave
and eax, 0x5748000
mov edx, 0xd6009aec
add eax, 0x9aecba
salc
jb 0x4010b3
add ah, ah
inc edi
pop eax
xor eax, eax
popal
pop ss
push eax
inc edi
out dx, eax
inc byte [0xfb716dc0]
sbb dh, cl
invalid
dec eax
sub al, 0x2a
dec ebx
xchg ecx, eax
sub ebp, dword [edx]
push 0
inc ebp
in eax, dx
adc ebp, dword [eax - 0x5d]
xor ebx, dword [ecx + 0x68]
je 0x401059
pushal
loope 0x401086
je 0x4010af
add dh, byte [esi + ecx - 0x50]
cmp dword [eax - 0x47], esp
out dx, eax
iretd
dec eax
lock adc dl, byte [eax - 0x5f]
mov byte [0x5017fc16], al
mov eax, dword [0x17fc16a2]
push eax
sbb byte [eax - 1], dl
adc eax, 0x4ed3d4d3
cdq
xor ah, bh
jo 0x401049
les eax, [esp + esi*4]
dec edi
cmp al, 0x38
add byte [ebp + 0x14], dh
nop
cmp edx, dword [eax + 0x276d5458]
retf
Function at 0x401195
Capabilities:
64-bit execution via heavens gate
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov ecx, 0x6a4abc5b
call fcn.00401300
test eax, eax
je 0x4012fa
mov dword [esp + 4], eax
mov ecx, 0x3cfa685d
call fcn.00401300
test eax, eax
je 0x4012fa
mov dword [esp + 8], eax
mov ecx, eax
mov edx, 0xc9616ee
call fcn.00401368
test eax, eax
je 0x4012fa
mov dword [esp + 0xc], eax
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x10], edx
push 0x380
push 8
push edx
call eax
test eax, eax
je 0x4012fa
mov dword [esp + 0x14], eax
lea eax, [eax + 0xf]
and eax, 0xfffffff0
mov dword [esp], eax
lea ecx, [eax + 8]
mov dword [eax], ecx
lea ecx, [ecx + 0x1b4]
mov dword [eax + 4], ecx
lea eax, [eax + 8]
mov ecx, dword fs:[0x18]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xa8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x10], edx
push ebx
push ebp
call fcn.00401257
jmp 0x401261
push ebx
lea ebx, [ebx + 0x27c]
lea ebp, [eax + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ebx]
test edx, edx
je 0x401286
call fcn.00401368
mov dword [ebp], eax
lea ebx, [ebx + 4]
lea ebp, [ebp + 8]
jmp 0x401270
pop ebx
mov edx, dword [esp + 8]
mov edx, dword [edx]
lea ecx, [ebx + 0x25c]
mov dword [edx + 0x1a4], ecx
lea ecx, [ebx + 0x168]
mov dword [edx + 0x1a8], ecx
lea ecx, [ebx + 0x1d0]
mov dword [edx + 0x1b0], ecx
pop ebp
pop ebx
mov eax, dword [edx + 0xf0]
test eax, eax
jne 0x4012d7
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x4012fa
mov ecx, dword [esp]
mov edx, dword [edx + 0x10]
push ecx
push 0
push edx
call eax
xor eax, eax
jmp 0x4012fa
xor ecx, ecx
dec ecx
lea edx, [esp + 4]
push 0
push 4
push edx
push 0x1a
push ecx
call eax
test eax, eax
js 0x4012bd
mov eax, dword [esp]
mov ecx, dword [esp + 4]
jecxz 0x4012fa
jmp 0x401450
mov esp, ebp
pop ebp
ret
mov word [ebp - 4], fs
mov ecx, 0x2b
mov fs, cx
and esp, 0xfffffff0
push 0x33
call 0x401465
add dword [esp], 5
retf

Function at 0x401300
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x40134d
mov al, cl
cmp al, 0x61
jb 0x401328
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x40134d
mov al, cl
cmp al, 0x61
jb 0x401340
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x401319
cmp edx, dword [esp + 0x18]
je 0x40135d
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x401312
xor eax, eax
jmp 0x401360
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x401368
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x4013d5
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x4013db
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x4013ac
cmp al, 0x61
jb 0x4013a4
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x401397
cmp edx, dword [esp + 0x14]
je 0x4013b9
dec ecx
jne 0x40138c
xor eax, eax
jmp 0x4013d5
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x4013f0
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x4013f0
sub edx, ecx
mov ecx, edx
jmp 0x4013b9
xor eax, eax
jmp 0x4013d5

Function at 0x404cca
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call fcn.00404cd4
Function at 0x420c6a
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x420c98
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x420c8f
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x420c87
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x420cb9
mov esp, ebp
pop ebp
ret

Function at 0x420cbd
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x420d29
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x420d56
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x420d45
xor ecx, eax
xor edx, ebx
dec edi
jne 0x420d36
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x420d7c
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x420d1d
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x420da8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42139e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4213ae
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x421403
push dword [ebp + 8]
call fcn.004215af
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x421403
xor eax, eax
jmp 0x421408
mov eax, 1
test eax, eax
je 0x42141a
mov eax, 0
jmp 0x4215a9
push 0x3c
push dword [ebp + 8]
call fcn.004215f1
push eax
call fcn.004215cb
push eax
push dword [ebp + 8]
call fcn.004215f1
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.004215cb
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x421475
push 0x7c
push dword [ebp - 4]
call fcn.004215f1
push eax
call fcn.004215cb
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x421475
xor eax, eax
jmp 0x42147a
mov eax, 1
test eax, eax
je 0x42148c
mov eax, 0
jmp 0x4215a9
push 0x78
push dword [ebp - 4]
call fcn.004215f1
push eax
call fcn.004215cb
push eax
push dword [ebp + 8]
call fcn.004215f1
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.004215f1
push eax
call fcn.004215cb
push eax
push dword [ebp + 8]
call fcn.004215f1
push eax
call fcn.004215cb
push eax
push dword [ebp + 8]
call fcn.004215f1
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.004215f1
push eax
call fcn.004215cb
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.00421618
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x42159c
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.004215f1
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0042163f
test eax, eax
je 0x42157f
push 0x1c
push dword [ebp - 8]
call fcn.004215f1
push eax
call fcn.004215cb
push eax
push dword [ebp + 8]
call fcn.004215f1
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.00421673
push eax
push dword [ebp - 0x24]
call fcn.004215f1
push eax
call fcn.004215cb
push eax
push dword [ebp + 8]
call fcn.004215f1
jmp 0x4215a9
push dword [ebp - 0x14]
call fcn.0042169b
push eax
push dword [ebp - 0x18]
call fcn.004215f1
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x421508
add esp, 0xc
mov eax, 0
jmp 0x4215a9
mov esp, ebp
pop ebp
ret 8

Function at 0x423bb2
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x72654c]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x423bed
add dword [esp], 5
retf

Function at 0x423cb0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x72654c]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x423ceb
add dword [esp], 5
retf
Function at 0x423d78
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x72654c]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x423db3
add dword [esp], 5
retf

Function at 0x423e83
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0x33
call 0x423e8d
add dword [esp], 5
retf
Function at 0x43c480
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x732eb0]
xor edx, edx
cmp eax, edx
jne 0x43c4a6
xor eax, eax
mov byte [eax + 0x732db0], al
inc eax
cmp eax, 0x100
jl 0x43c48e
mov dword [0x732eb0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x732db0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43c537
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43c50a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43c4d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43c5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43c603
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43c5ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret