joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ee4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ee658
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x5ee4dc
movzx ecx, byte [esp + 0x80]
jmp 0x5ee4e9
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x5ee521
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x5ee63f
cmp cl, 0xe4
je 0x5ee500
cmp ax, 0x303
jmp 0x5ee525
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x5ee5b3
cmp cl, 0xe3
jne 0x5ee57d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0046cd2e
call sym.crypto_tls.finishedHash.Sum
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sym.crypto.Hash.New
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea eax, [0x672480]
mov dword [esp], eax
lea eax, [0x712f28]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.finishedHash.hashForClientCertificate
Function at 0x5f5570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5f575c
sub esp, 0x68
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov ebx, 1
jmp 0x5f55ad
mov ebp, dword [esp + 0x5c]
lea ecx, [ebp + 1]
cmp dl, 0x2d
sete bl
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
cmp eax, ecx
jle 0x5f5750
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x18], bl
movzx ebp, byte [edx + ecx]
xchg ebp, eax
mov byte [esp + 0x19], al
xchg ebp, eax
lea esi, [ebp - 0x20]
mov ecx, esi
mov edx, 1
shl edx, cl
neg ecx
mov byte [esp + 0x1b], cl
mov eax, 1
shr eax, cl
lea edi, [ebp - 0x60]
mov ecx, edi
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x64], ebx
neg ecx
mov byte [esp + 0x1a], cl
mov ebx, 1
shr ebx, cl
mov dword [esp + 0x60], ebx
add ebp, 0xffffffc0
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and edx, esi
movzx esi, byte [esp + 0x1b]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb esi, esi
and eax, esi
or eax, edx
and eax, 0x3ff6cfa
cmp cl, 0x20
sbb edx, edx
and edx, ebx
xchg edi, eax
cmp al, 0x20
xchg edi, eax
sbb ebx, ebx
mov ebp, dword [esp + 0x64]
and ebp, ebx
movzx ebx, byte [esp + 0x1a]
cmp bl, 0x20
sbb ebx, ebx
mov esi, dword [esp + 0x60]
and esi, ebx
or ebp, esi
and ebp, 0x57ffffff
or ebp, eax
test ebp, ebp
setne al
test edx, 0xc7fffffe
setne dl
or eax, edx
test al, al
je 0x5f573c
movzx eax, byte [esp + 0x18]
test al, al
je 0x5f5691
movzx edx, byte [esp + 0x19]
lea ebx, [edx - 0x61]
cmp bl, 0x19
jbe 0x5f56a4
test al, al
jne 0x5f5598
jmp 0x5f5696
movzx edx, byte [esp + 0x19]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x5f5598
jmp 0x5f56f0
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.net_textproto.canonicalMIMEHeaderKey
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.net_textproto.CanonicalMIMEHeaderKey
Function at 0x5ff130
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ff1ad
sub esp, 8
lea eax, [0x675cc0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
xor ecx, ecx
jmp 0x5ff15f
mov dword [eax + edx*4], ecx
lea ecx, [edx + 1]
cmp ecx, 0x100
jge 0x5ff16d
mov edx, ecx
xor ebx, ebx
jmp 0x5ff192
mov ecx, dword [0x8c87a0]
test ecx, ecx
je 0x5ff187
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [0x888880]
mov dword [edi + 4], ecx
mov dword [0x888880], eax
add esp, 8
ret
inc ebx
cmp ebx, 8
jge 0x5ff159
test ecx, 1
je 0x5ff1a9
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x5ff191
shr ecx, 1
jmp 0x5ff191
call sym.runtime.morestack_noctxt
jmp sym.hash_crc32.init
Function at 0x630f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x8c8664]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6310f6
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x630f87
mov eax, dword [eax + 0x7c]
jmp 0x630f93
lea ecx, [0x714ae4]
lea eax, [0x8c8520]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], eax
lea eax, [0x676cc0]
mov dword [esp + 4], eax
lea eax, [0x8c8520]
mov dword [esp + 8], eax
call ecx
lea eax, [0x680620]
cmp dword [esp + 0xc], eax
jne 0x630fc1
mov ecx, dword [esp + 0x10]
jmp 0x630fc3
xor ecx, ecx
test ecx, ecx
je 0x6310f2
mov edx, dword [ecx + 4]
test edx, edx
je 0x6310f2
mov dword [esp + 0x1c], ecx
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0046c89b
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
movzx edx, byte [esp + 0x70]
mov byte [esp + 0x3c], dl
lea ebx, [ecx + 0x30]
mov dword [esp + 0x4c], ebx
mov dword [esp], ebx
call sym.sync._Mutex_.Lock
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x60]
test edx, edx
je 0x63101e
mov eax, dword [edx]
jmp 0x631020
xor eax, eax
test eax, eax
sete al
movzx edx, byte [esp + 0x70]
and edx, eax
mov byte [esp + 0x3d], dl
test dl, dl
je 0x6310cb
lea esi, [ecx + 0x78]
mov dword [esp + 0x48], esi
lea edi, [esp + 0x20]
call fcn.0046cd7e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x80000000
je 0x63107b
shl eax, 1
mov edx, ecx
shl ecx, 1
mov ebx, edx
shr edx, 0x1f
or edx, eax
mov eax, edx
shl edx, 1
shr eax, 0x1f
shr ecx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x631085
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ebx, ecx
test edx, edx
sete cl
test eax, eax
sete al
and eax, ecx
test al, al
je 0x63109d
test ebx, 0x3fffffff
je 0x6310cb
lea edi, [esp + 0x50]
mov esi, dword [esp + 0x48]
call fcn.0046cd7e
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0046cd7e
call sym.time.Since
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.sync._Mutex_.Unlock
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [edx]
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0046cd7e
call eax
add esp, 0x64
ret
add esp, 0x64
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http.http2traceGotConn
Function at 0x438cb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
mov ebx, 0xaf201c23
sub edx, ebx
sub edx, 1
call fcn.00438cf2
mov edx, 0x59590075
add ebx, 0xf75398ec
xor dword [edi], eax
or edx, edx
sub edx, 0x2a3ea18d
inc edi
inc edx
cmp edi, esi
jne fcn.00438cb0
sub ebx, edx
add edx, 1
ret

Function at 0x408919
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
add eax, 0x574a80c2
and esi, eax
call fcn.00408941
xor dword [ebx], edx
inc ebx
or esi, eax
add esi, 0xe713afb2
cmp ebx, ecx
jne fcn.00408919
ret
Function at 0x406ad8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c400]
jne 0x406ae2
repz ret
jmp fcn.00408a36

Function at 0x407263
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040529d
and dword [ebp - 0x14], 0
cmp dword [0x43b234], 0
mov dword [ebp - 0x18], eax
jne 0x407316
push 0x4021a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4073be
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402194
push ebx
call edi
test eax, eax
je 0x4073be
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402184
push ebx
mov dword [0x43b234], eax
call edi
push eax
call esi
push 0x402170
push ebx
mov dword [0x43b238], eax
call edi
push eax
call esi
push 0x402154
push ebx
mov dword [0x43b23c], eax
call edi
push eax
call esi
mov dword [0x43b244], eax
test eax, eax
je 0x407316
push 0x40213c
push ebx
call edi
push eax
call esi
mov dword [0x43b240], eax
mov eax, dword [0x43b240]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40736f
cmp dword [0x43b244], ecx
je 0x40736f
push eax
call esi
push dword [0x43b244]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40736f
test ebx, ebx
je 0x40736f
call edi
test eax, eax
je 0x407366
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407366
test byte [ebp - 8], 1
jne 0x40736f
or dword [ebp + 0x10], 0x200000
jmp 0x4073a2
mov eax, dword [0x43b238]
cmp eax, dword [ebp - 0x18]
je 0x4073a2
push eax
call esi
test eax, eax
je 0x4073a2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4073a2
mov eax, dword [0x43b23c]
cmp eax, dword [ebp - 0x18]
je 0x4073a2
push eax
call esi
test eax, eax
je 0x4073a2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43b234]
call esi
test eax, eax
je 0x4073be
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4073c0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406ad8
leave
ret
Function at 0x409db0
Capabilities:
Copy file
Get uefi variable

Disassembly:
sub esp, 0xe3c
cmp dword [0x4b6d98], 0x37
jne 0x409e35
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
push 0x402a58
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push 0
lea ecx, [esp + 0x23c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
lea edx, [esp]
push edx
push 0
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_PulseEvent]
push 0
lea ecx, [esp + 0x63c]
push ecx
push 0x402a7c
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov edx, dword [0x4b6d9c]
mov ecx, dword [0x4b647c]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0xe3c
ret

Function at 0x409ec0
Capabilities:
Decrypt data using tea

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov ecx, dword [0x43a3f0]
push ebx
push ebp
mov ebp, dword [0x43a3ec]
push esi
mov esi, dword [eax]
mov eax, dword [0x43a3e8]
mov dword [esp + 0x1c], eax
mov eax, dword [0x43a3f4]
push edi
mov edi, 0xc6ef3720
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov ebx, 0x20
lea esp, [esp]
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x18]
mov eax, esi
shr eax, 5
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], eax
lea ecx, [edi + esi]
push ecx
lea ecx, [esp + 0x14]
mov dword [0x4b6480], 0xffcf03fc
call fcn.00409e60
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x10]
mov dword [0x4b6480], 0
sub edx, eax
mov dword [esp + 0x14], eax
mov eax, edx
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
mov eax, edx
shr eax, 5
add eax, ebp
lea ecx, [edi + edx]
xor ecx, eax
mov eax, dword [esp + 0x10]
xor eax, ecx
sub esi, eax
add edi, 0x61c88647
dec ebx
mov dword [0x4b6488], 0xff6b3619
mov dword [0x4b648c], 0xffffffff
jne 0x409f00
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], edx
pop ebx
add esp, 0x14
ret 4
Function at 0x401140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401159
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401194
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401190
lea ebx, [ebx]
cmp esi, eax
jae 0x401194
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401180
cmp esi, eax
jb 0x40119a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402e50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x13674
call fcn.00412880
mov eax, dword [0x43660c]
xor eax, esp
mov dword [esp + 0x13670], eax
mov eax, dword [esp + 0x13680]
mov dword [esp], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x1367c]
cmp dword [esp + 0x13688], eax
jbe 0x402f8b
lea esp, [esp]
mov byte [esp + eax + 0x414], al
inc eax
cmp eax, 0x13260
jb 0x402e90
push ebx
push esi
push edi
mov edi, dword [esp + 0x1368c]
xor esi, esi
xor ecx, ecx
lea ecx, [ecx]
xor edx, edx
mov eax, ecx
div edi
mov bl, byte [esp + ecx + 0x420]
movzx eax, bl
inc ecx
movzx edx, byte [edx + ebp]
add edx, esi
add eax, edx
xor edx, edx
mov esi, 0x13260
div esi
mov esi, edx
mov al, byte [esp + esi + 0x420]
mov byte [esp + ecx + 0x41f], al
mov byte [esp + esi + 0x420], bl
cmp ecx, 0x13260
jb 0x402eb0
mov ebp, dword [esp + 0x10]
xor edi, edi
xor esi, esi
lea esp, [esp]
xor edx, edx
mov ecx, 0x13260
lea eax, [esi + 1]
div ecx
dec dword [esp + 0x13694]
push 0
mov esi, edx
mov cl, byte [esp + esi + 0x424]
movzx eax, cl
add eax, edi
xor edx, edx
mov edi, 0x13260
div edi
mov edi, edx
mov dl, byte [esp + edi + 0x424]
mov byte [esp + esi + 0x424], dl
mov byte [esp + edi + 0x424], cl
movzx eax, byte [esp + esi + 0x424]
movzx ecx, cl
add eax, ecx
cdq
mov ecx, 0x13260
idiv ecx
lea ecx, [esp + 0x18]
mov bl, byte [esp + edx + 0x424]
xor bl, byte [ebp]
call fcn.00402d40
mov byte [ebp], bl
lea ecx, [esp + 0x14]
inc ebp
call fcn.00402a30
cmp dword [esp + 0x13694], 0
jne 0x402f00
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13674]
pop ebp
xor ecx, esp
call fcn.004121fa
add esp, 0x13674
ret
Function at 0x4038b0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x422848
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x43660c]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43660c]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
push 8
xor ebx, ebx
push str.nQtH4qGw
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00403780
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov al, 0x6c
push ebx
mov byte [esp + 0x56], al
mov byte [esp + 0x58], al
mov byte [esp + 0x59], al
mov byte [esp + 0x45], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], al
mov cl, 0x75
push ebx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x58], 0x56
mov byte [esp + 0x59], 0x69
mov byte [esp + 0x5a], 0x72
mov byte [esp + 0x5b], 0x74
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], 0x61
mov byte [esp + 0x5f], 0x41
mov byte [esp + 0x62], 0x6f
mov byte [esp + 0x63], 0x63
mov byte [esp + 0x64], 0x45
mov byte [esp + 0x65], 0x78
mov byte [esp + 0x66], 0x4e
mov byte [esp + 0x67], cl
mov byte [esp + 0x68], 0x6d
mov byte [esp + 0x69], 0x61
mov byte [esp + 0x6a], bl
mov byte [esp + 0x48], 0x6b
mov byte [esp + 0x49], 0x65
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x6e
mov byte [esp + 0x4c], 0x65
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x32
mov byte [esp + 0x50], 0x2e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x54], bl
call esi
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
mov edi, eax
mov byte [esp + 0x3c], 0x74
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], 0x73
mov byte [esp + 0x3f], 0x6b
mov byte [esp + 0x40], 0x6d
mov byte [esp + 0x41], 0x67
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x2e
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x78
mov byte [esp + 0x46], 0x65
mov byte [esp + 0x47], bl
call esi
test eax, eax
jne 0x403a26
cmp dword [esp + 0x2c], 0x10
jb 0x403a1f
mov eax, dword [esp + 0x18]
push eax
call fcn.00403e51
add esp, 4
xor al, al
jmp 0x403aa6
push ebx
push 0x424ea0
call fcn.004128c1
add esp, 4
push eax
push 0x3000
push 0x8944
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x403a67
cmp dword [esp + 0x2c], 0x10
jb 0x403a1f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00403e51
add esp, 4
xor al, al
jmp 0x403aa6
push 0x8944
push 0x42d130
push esi
call fcn.004128d0
mov edx, dword [esp + 0x84]
push 0x8944
push esi
push edx
push ebp
call fcn.00402e50
add esp, 0x1c
call esi
cmp dword [esp + 0x2c], 0x10
jb 0x403aa4
mov eax, dword [esp + 0x18]
push eax
call fcn.00403e51
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.004121fa
add esp, 0x5c
ret
Function at 0x4095c3
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 0x40960a
call fcn.0040a34e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40960a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x409626
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040913d
mov esi, eax
test edi, edi
je 0x409624
test ebx, ebx
je 0x409624
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40dfa8
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 0x40dfcc
cmp dword [edi + 0x54], 0
jne 0x40dfcc
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040a34e
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.0040df69
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 0x4121fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43660c]
jne 0x412204
repz ret
jmp fcn.00417b27
Function at 0x41e097
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00418958
and dword [ebp - 4], 0
cmp dword [0x43a2f4], 0
mov ebx, eax
jne 0x41e148
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41e1f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x427bc8
push edi
call esi
test eax, eax
je 0x41e1f9
push eax
call fcn.004188e6
mov dword [esp], 0x427bb8
push edi
mov dword [0x43a2f4], eax
call esi
push eax
call fcn.004188e6
mov dword [esp], 0x427ba4
push edi
mov dword [0x43a2f8], eax
call esi
push eax
call fcn.004188e6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43a2fc], eax
call esi
push eax
call fcn.004188e6
pop ecx
mov dword [0x43a304], eax
test eax, eax
je 0x41e148
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004188e6
pop ecx
mov dword [0x43a300], eax
mov eax, dword [0x43a300]
cmp eax, ebx
je 0x41e1a0
cmp dword [0x43a304], ebx
je 0x41e1a0
push eax
call fcn.00418961
push dword [0x43a304]
mov esi, eax
call fcn.00418961
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41e1a0
test edi, edi
je 0x41e1a0
call esi
test eax, eax
je 0x41e197
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41e197
test byte [ebp - 0xc], 1
jne 0x41e1a0
or dword [ebp + 0x10], 0x200000
jmp 0x41e1d9
mov eax, dword [0x43a2f8]
cmp eax, ebx
je 0x41e1d9
push eax
call fcn.00418961
pop ecx
test eax, eax
je 0x41e1d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41e1d9
mov eax, dword [0x43a2fc]
cmp eax, ebx
je 0x41e1d9
push eax
call fcn.00418961
pop ecx
test eax, eax
je 0x41e1d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43a2f4]
call fcn.00418961
pop ecx
test eax, eax
je 0x41e1f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e1fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret