joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467570
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4675ac
push str.SetFilePointerEx__
push eax
push 0xcf
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.0045f300
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4675e5
push str.ReadFile__
push eax
push 0xd2
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.0045f300
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x467609
push 0x488fc4
push 1
push 0xd4
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.0045f670
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x467730
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x46775f
push str.GetFileSizeEx__
push eax
push 0xf4
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.0045f300
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x467c30
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x46ad20
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x46ad50
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x46ad80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x409970
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
lea edx, [ecx - 1]
cmp eax, edx
jne 0x4099b0
cmp eax, ecx
jae 0x4099a1
test eax, eax
mov esi, dword [esi + 0xd8]
jbe 0x40999c
sub eax, 1
mov esi, dword [esi + 8]
jne 0x409994
mov ecx, dword [esi + 4]
jmp 0x4099a3
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push 0
call fcn.0043aea0
cmp eax, ecx
jae 0x4099cd
test eax, eax
mov ecx, dword [esi + 0xd8]
jbe 0x4099c8
mov edi, edi
sub eax, 1
mov ecx, dword [ecx + 8]
jne 0x4099c0
mov ecx, dword [ecx + 4]
jmp 0x4099cf
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x409a06
add dword [esi + 0x94], 1
mov eax, dword [esi + 0x94]
push eax
mov ecx, esi
call fcn.00409900
mov eax, dword [esi + 0x94]
push eax
mov ecx, esi
call fcn.004094b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
pop esi
jmp eax
pop esi
ret

Function at 0x40c920
Capabilities:
Write file on windows

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
push esi
push edi
push 0x45d728
push eax
push 0
mov edi, ecx
call dword [0x45b2ec]
mov esi, eax
test esi, esi
jne 0x40c95b
mov ecx, dword [0x471570]
push 0x10
push 0x45ba9c
push ecx
mov ecx, edi
call fcn.004250d4
pop edi
xor al, al
pop esi
pop ecx
ret 8
push esi
push 0
call dword [0x45b2f0]
test eax, eax
jne 0x40c985
mov edx, dword [0x471570]
push 0x10
push 0x45ba9c
push edx
mov ecx, edi
call fcn.004250d4
pop edi
xor al, al
pop esi
pop ecx
ret 8
push ebx
push eax
call dword [0x45b2f4]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x40c9b4
mov eax, dword [0x471570]
push 0x10
push 0x45ba9c
push eax
mov ecx, edi
call fcn.004250d4
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret 8
push ebp
push esi
push 0
call dword [0x45b2f8]
mov esi, eax
xor edi, edi
test esi, esi
jbe 0x40ca1e
mov ebp, dword [esp + 0x18]
mov eax, 0x400
sub eax, ebx
mov dword [esp + 0x1c], eax
jmp 0x40c9db
mov eax, dword [esp + 0x1c]
add eax, ebx
cmp eax, esi
push ebp
push 1
ja 0x40ca0c
push 0x400
push ebx
call fcn.0043ba42
add edi, 0x400
add esp, 0x10
add ebx, 0x400
cmp edi, esi
jb 0x40c9d7
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x18]
sub esi, edi
add edi, ecx
push esi
push edi
call fcn.0043ba42
add esp, 0x10
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 8

Function at 0x40cf00
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40cf33
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x40ce80
push 0
push 0
call fcn.0043d459
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
mov byte [esi + 0x1c], 0
mov byte [esi + 0x1d], 0
setne al
pop esi
ret
cmp byte [esi + 0x1d], 0
je 0x40cf50
mov ecx, dword [esi + 0xc]
push ecx
call dword [0x45b2c8]
cmp eax, 0xffffffff
jne 0x40cf4c
xor al, al
pop esi
ret
mov byte [esi + 0x1d], 0
mov al, 1
pop esi
ret
Function at 0x40e245
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x457c70
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x472cc0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebp
push esi
push edi
mov eax, dword [0x472cc0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040e030
mov ecx, dword [esi + 0x98]
lea eax, [esp + 0x10]
push eax
call fcn.0040a8e0
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0
call fcn.00411c00
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.004121e0
test al, al
jne 0x40e258
push 0
push 0x10
push 0x45d9b0
call fcn.0042018d
push 1
call fcn.0043aea0
push 0x45d9a8
lea ecx, [esp + 0x18]
call fcn.004115e0
test eax, eax
jne 0x40e27e
push eax
push 0x10
push 0x45d994
call fcn.0042018d
push 1
call fcn.0043aea0
push 0x45d980
mov ecx, eax
call fcn.004118a0
mov ebp, eax
push 0x45d978
push ebp
call fcn.004107a0
mov edi, eax
add esp, 8
test edi, edi
je 0x40e33c
mov ecx, dword [esi + 0x98]
call fcn.00409310
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40e2d1
test dl, dl
je 0x40e2cd
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40e2d1
add ecx, 2
add eax, 2
test dl, dl
jne 0x40e2b1
xor eax, eax
jmp 0x40e2d6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40e300
mov ecx, dword [esi + 0x98]
call fcn.00409310
push eax
push 0x45d978
mov ecx, ebp
call fcn.004119a0
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.004108a0
mov eax, dword [esi + 0xe0]
push 0
push 0x64
push 0x402
push eax
call dword [0x45b5b0]
mov ecx, dword [esi + 0x98]
push 1
add ecx, 0xdc
call fcn.0042339b
push 0x14
call dword [0x45b2d0]
mov ecx, dword [esi + 0x98]
call fcn.00409970
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call fcn.00404b30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x7c], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e372
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00439913
add esp, 0x70
ret
Function at 0x40fab0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x457f38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x472cc0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x8c], edi
je 0x40fb04
mov ecx, dword [esi + 0x74]
call fcn.0042302c
mov ecx, dword [esi + 0x74]
cmp ecx, edi
je 0x40fafb
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi + 0x74], edi
mov dword [esi + 0x8c], edi
mov ebx, dword [esp + 0x3c]
cmp ebx, edi
mov dword [esi + 0x90], edi
je 0x40fb6b
push 8
call fcn.0041d7bb
add esp, 4
cmp eax, edi
je 0x40fb2b
mov dword [eax + 4], edi
mov dword [eax], 0x45c504
mov edi, eax
mov dword [esi + 0x74], edi
call fcn.00422507
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [0x45b5b8]
push eax
mov ecx, edi
call fcn.00422fd9
test eax, eax
je 0x40fc38
mov eax, 1
mov ecx, esi
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.0040f160
jmp 0x40fc33
mov ebx, dword [esp + 0x40]
push 0x2050
push edi
push edi
push edi
push ebx
push edi
call dword [0x45b574]
mov ebp, eax
cmp ebp, edi
jne 0x40fb97
push edi
push edi
push 0x45df38
call fcn.0042018d
push edi
call fcn.0043aea0
push ebp
call fcn.00422fcb
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x18
push edx
call dword [0x45b094]
cmp word [esp + 0x26], 0x18
je 0x40fc25
call fcn.00429177
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40fbd0
push 0x80004005
call fcn.00404780
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
movzx ecx, word [esp + 0x26]
push ecx
push ebx
lea edx, [esp + 0x44]
push 0x45df30
push edx
mov dword [esp + 0x44], edi
call fcn.0040b650
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.00422fcb
push eax
mov ecx, esi
call fcn.0040f770
mov eax, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x415070
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x41507b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x415177
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x4150a0
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x45fd60]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x4150a0
pop ebp
test edi, edi
je 0x41519c
jmp 0x415180
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x45fd60]
add ecx, 1
sub edi, 1
jne 0x415180
mov eax, esi
pop edi
not eax
pop esi
ret
Function at 0x418040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x41805a
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x41804f
cmp dword [edi + 0x7c], ebx
je 0x41806d
push edi
call fcn.004160c0
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00415ed0
add esp, 0x10
test eax, eax
je 0x418094
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.0043a24b
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4180d5
push 0x4000
call fcn.0043a24b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x4180e1
push esi
call fcn.0043a30e
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x41812d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00415480
add esp, 4
test eax, eax
jne 0x41812d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x418157
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x418160
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
neg cl
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
sbb ecx, ecx
and ecx, 0xc
test ebp, ebp
mov dword [esi + 0x7c], ecx
je 0x4181a7
lea ecx, [ecx]
movzx eax, byte [ebp]
test al, al
je 0x4181a7
push eax
push ebx
call fcn.004151b0
add esp, 8
add ebp, 1
jne 0x418190
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x419d38
Capabilities:
Read file on windows
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0x64
cmp dword [esp + 0x68], 0
push esi
mov esi, ecx
je 0x419eab
push ebp
mov ebp, dword [esp + 0x74]
push ebx
push edi
jmp 0x419d50
mov eax, dword [esp + 0x78]
mov ecx, dword [esi + 0x5c]
push 0
push 0
push eax
push ecx
call fcn.0043e90a
push 0x4c
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.00439700
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x4c]
push 0x4c
push ecx
call fcn.0043e856
add esp, 0x2c
test eax, eax
je 0x419ea8
xor eax, eax
cmp dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x7c], eax
jbe 0x419e08
mov edx, dword [esi + 0x5c]
push edx
call fcn.0043e5af
mov edi, eax
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x1c]
push 0x18
push ecx
mov ebx, edx
call fcn.0043e856
mov edx, dword [esp + 0x24]
add esp, 0x14
cmp edx, dword [ebp]
jne 0x419df7
mov eax, dword [esp + 0x14]
cmp eax, dword [ebp + 4]
jne 0x419df7
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x419df7
mov edx, dword [esp + 0x1c]
cmp edx, dword [ebp + 0xc]
je 0x419e22
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
jb 0x419db1
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x78], eax
jne 0x419d50
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x64
ret 8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x78]
mov edx, dword [esi + 0x5c]
push 0
lea eax, [eax + eax*2 - 3]
lea ecx, [ebp + eax*8 + 0x4c]
push 0
push ecx
push edx
call fcn.0043e90a
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x28]
push 0x18
push ecx
call fcn.0043e856
mov edx, dword [esi + 0x5c]
push 0
push ebx
push edi
push edx
call fcn.0043e90a
mov edi, dword [esi + 0x5c]
push edi
push 1
lea eax, [esp + 0x48]
push 0x18
push eax
call fcn.0043ba42
add esp, 0x40
push edi
call fcn.0043b7ce
mov ecx, dword [esi + 0x5c]
sub dword [esp + 0x30], 1
push 0
push 0
push ebp
push ecx
call fcn.0043e90a
mov esi, dword [esi + 0x5c]
push esi
push 1
lea edx, [esp + 0x44]
push 0x4c
push edx
call fcn.0043ba42
push esi
call fcn.0043b7ce
add esp, 0x28
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x64
ret 8
Function at 0x41a08d
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x41a109
push edi
push 0x50
mov dword [ebp + 8], eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00439700
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x5c]
push 0
push 0
push ecx
push edx
call fcn.0043e90a
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x34]
push 0x50
push ecx
call fcn.0043e856
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x5c]
push 0
push 0
push edx
push eax
mov dword [esp + 0x58], ebx
call fcn.0043e90a
mov edi, dword [esi + 0x5c]
push edi
push 1
lea ecx, [esp + 0x54]
push 0x50
push ecx
call fcn.0043ba42
add esp, 0x4c
push edi
call fcn.0043b7ce
add esp, 4
pop edi
push 0
mov dword [esi + 0x84], ebx
push 0
mov dword [ebp + 0xc], 0
mov edx, dword [esi + 0x5c]
push ebx
push edx
call fcn.0043e90a
mov esi, dword [esi + 0x5c]
push esi
push 1
push 0x50
push ebp
call fcn.0043ba42
push esi
call fcn.0043b7ce
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8

Function at 0x41a294
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xf0
mov eax, dword [0x472cc0]
xor eax, esp
mov dword [esp + 0xec], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0xf8]
mov eax, dword [ecx]
test eax, eax
je 0x41a2f7
push 0
push 0
push eax
mov eax, dword [esi + 0x5c]
push eax
call fcn.0043e90a
push 0xec
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00439700
mov edx, dword [esi + 0x5c]
push edx
push 1
lea eax, [esp + 0x28]
push 0xec
push eax
call fcn.0043e856
mov eax, dword [esp + 0x34]
add esp, 0x2c
pop esi
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00439913
add esp, 0xf0
ret 4
push edi
mov edi, dword [ecx + 8]
test edi, edi
je 0x41a33c
push 0xec
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.00439700
mov edx, dword [esi + 0x5c]
push 0
push 0
push edi
push edx
call fcn.0043e90a
mov eax, dword [esi + 0x5c]
push eax
push 1
lea ecx, [esp + 0x2c]
push 0xec
push ecx
call fcn.0043e856
mov eax, dword [esp + 0x40]
add esp, 0x2c
jmp 0x41a33f
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
xor ecx, esp
call fcn.00439913
add esp, 0xf0
ret 4

Function at 0x41be51
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x1c0], 0
call fcn.0041b8e0
mov ebx, dword [esp + 0x10]
push 0x46046c
push ebx
call fcn.0043d5cb
mov edi, eax
add esp, 8
test edi, edi
jne 0x41be84
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41be90
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401f50
push edi
push 1
lea ebx, [esi + 0x60]
push pe_nt_image_headers32
push ebx
mov dword [esi + 0x5c], edi
call fcn.0043e856
add esp, 0x10
test eax, eax
je 0x41be7c
cmp dword [ebx], 1
jne 0x41be7c
lea eax, [esi + 0x90]
push eax
call fcn.00456915
add esp, 4
push pe_nt_image_headers32
mov ecx, esi
call fcn.0041ba10
pop edi
pop esi
mov al, 1
pop ebx
ret 4
Function at 0x450ffa
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ch, 0xd9
sar byte [ecx - 0x6a62284e], 0x8c
mov ebp, 0x965b646e
xor eax, 0x1014672d
or eax, 0x101012d
add eax, 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [edx], ecx
add eax, dword [edx]
add dl, byte [edx]
adc byte [ecx + ecx], cl
sub byte [edx], dh
sub dword [edx], esp
pop edx
cmp dh, byte [eax]
sub byte [edx + ebx*2 + 0x50], ah
inc esi
add dword [ebx - 0x71579087], 0xffffff85
jl 0x450fc6
mov es, word [ebp - 0x5f574e84]
cwde
lds edx, [ebx - 0x6d497b75]
mov al, byte [ebx - 0x716b634b]
mov ebp, 0xc3979ca4
cwde
nop
mov bh, byte [edx - 0x69a19b93]
pop edx
push ecx
lea esi, [edx + ebp*2 + 0x61]
pushfd
push esp
dec edx
inc edx
jle 0x451099
dec esi
inc esi
sbb byte [ebx + 0x52], 0x4b
test dword [esi], esi
sub byte cs:[eax + 0x4b], ah
inc edx
cmp esi, dword [esi + 0x5c]
push edx
dec ebx
xchg dword [ecx + 0x40], ecx
cmp dh, byte [ebp + 0x49]
aas
aaa
je 0x4510aa
inc edx
cmp bh, byte [eax + 0x34]
sub al, 0x26
pop esp
adc byte [ebx + ecx], cl
sub al, 0x14
invalid
bound ebx, qword [ebp + edx*4 + 0x79]
jbe 0x451110
cmpsb byte [esi], byte es:[edi]
jbe 0x451114
insd dword es:[edi], dx
mov dword [0xa5707478], eax
test dword [eax - 0x6c665184], eax
jl 0x45105a
cdq
xchg ebx, eax
invalid
mov dh, 0xd9
mov al, byte [0x73bf8f98]
imul ebx, dword [edi - 0x66], 0x682e363f
adc al, 0x10
or eax, 0x101012d
add eax, 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [edx], ecx
push es
add eax, 0xe131d05
or esi, dword [eax]
xor ch, byte [ecx]
and bl, byte [edx + 0x39]
das
sub byte [ebx + 0x59], ah
dec esi
inc esp
add dword [ecx - 0x7359938a], 0x8eb07983
test dword [ebp - 0x4e], edi
mov word [ebx - 0x7a714f87], es
jge 0x4510ca
mov es, word [ebp - 0x6b634d83]
pushfd
xchg esp, eax
Function at 0x451404
Capabilities:
Authenticate hmac
Encode data using base64
Parse pe header
Resolve function by parsing pe exports

Disassembly:
cmp byte [esi], ch
popal
push edx
inc edi
jnp 0x451480
imul ebx, dword [esi - 0x65], 0xa267717b
jl 0x451489
imul esp, dword [ebx - 0x45776f68], 0xbe8f959d
wait
xchg ebx, eax
invalid
push 0x61
pop eax
xchg edx, eax
je 0x4514f0
popal
wait
aas
das
xor dword [bx + si], ebp
and dword [ecx + 0x4e], ebx
inc ebp
cmp eax, 0x50575e7a
mov word [edx + 0x5e], fs
pop eax
xchg edx, eax
push 0x66
bound ebx, qword [ecx - 0x6ea7a29f]
dec esi
dec ecx
inc ebp
jg 0x4514f1
inc edx
js 0x45150d
pop edx
push ebp
mov gs, word [eax + 0x60]
pop ecx
xchg esp, eax
insb byte es:[edi], dx
pop edi
cwde
js 0x45152d
outsd dx, dword [esi]
movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x78], 0xffffffac
lahf
cwde
xchg ecx, eax
sar byte [eax - 0x4a2e554f], 0xae
cmpsb byte [esi], byte es:[edi]
iretd
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [edi], eax
add byte [eax], al
add byte [ecx], al
add dword [ecx], eax
pop es
add eax, dword [edx]
add dl, byte [ecx]
adc byte [ecx + ecx], cl
sub dword [ecx], esi
sub byte [ecx], ah
pop ecx
aaa
sub eax, 0x47516025
cmp eax, 0x5e6a737a
push 0x5e
wait
jnp 0x451584
mov byte [0x7982], al
jo 0x4514c0
lcall 0x8b91, 0x99bb8b92
mov ebx, 0xbf91979e
movsb byte es:[edi], byte [esi]
popfd
xchg esi, eax
ret
bound ebx, qword [edx - 0x6b]