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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x7c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x78]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 0x1c]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0x24]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
call fcn.0042f40c
xor ecx, ecx
mov dword [ebp - 0x20], ecx
jmp 0x42f6d7
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
movzx ecx, word [eax + edx*2]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4]
cmp ecx, dword [ebp - 0x30]
jb 0x42f66c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x2c]
cmp ecx, eax
jb 0x42f6d4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + ecx*4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov dword [edx*4 + 0x53ef00], ecx
mov eax, dword [ebp - 0x40]
mov edx, dword [eax*4 + 0x53ef00]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x40]
mov dword [edx*4 + 0x53ef00], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add dword [ecx*4 + 0x53ef00], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
call fcn.0042f4ac
test al, al
je 0x42f6d4
inc dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0xc]
jg 0x42f6e6
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
call fcn.0042f40c
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ebp - 0x20]
ja 0x42f63e
mov eax, dword [ebp - 0x40]
dec eax
mov esp, ebp
pop ebp
ret 4
Function at 0x430050
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov eax, 0x53f404
call fcn.00524684
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [edx], ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x70]
push edx
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [ebp - 0x6c]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x28]
call fcn.0042febc
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4300ce
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x43017b
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.0042ffb8
test al, al
jne 0x4300f9
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x43017b
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
push dword [ebp - 0x4c]
call fcn.0052370c
pop ecx
mov edx, dword [ebp - 0x2c]
mov dword [edx], eax
mov word [ebp - 0x14], 8
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x2c]
push dword [eax]
call fcn.005242f8
add esp, 0xc
mov word [ebp - 0x14], 0
jmp 0x43015b
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
call fcn.00430024
push dword [ebp - 0x40]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433c18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
mov byte [ebp - 7], 0
and word [ebp - 6], 0
xor eax, eax
mov al, byte [ebp - 7]
and ax, 0x1f
shl eax, 5
mov dx, word [ebp - 6]
and dx, 0xfc1f
or ax, dx
mov word [ebp - 6], ax
mov ecx, dword [ebp - 4]
mov ax, word [ecx + 0x40]
and eax, 0x3ff
mov dx, word [ebp - 6]
and edx, 0xffff
test dh, 2
setne cl
and ecx, 1
neg cx
and ax, cx
mov dx, word [ebp - 6]
and edx, 0x3ff
add edx, edx
xor ax, dx
and ax, 0x3ff
mov cx, word [ebp - 6]
and cx, 0xfc00
or ax, cx
mov word [ebp - 6], ax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x40]
and eax, 0x3ff
mov dx, word [ebp - 6]
and edx, 0xffff
test dh, 2
setne cl
and ecx, 1
neg cx
and ax, cx
mov dx, word [ebp - 6]
and edx, 0x3ff
add edx, edx
xor ax, dx
and ax, 0x3ff
mov cx, word [ebp - 6]
and cx, 0xfc00
or ax, cx
mov word [ebp - 6], ax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x40]
and eax, 0x3ff
mov dx, word [ebp - 6]
and edx, 0xffff
test dh, 2
setne cl
and ecx, 1
neg cx
and ax, cx
mov dx, word [ebp - 6]
and edx, 0x3ff
add edx, edx
xor ax, dx
and ax, 0x3ff
mov cx, word [ebp - 6]
and cx, 0xfc00
or ax, cx
mov word [ebp - 6], ax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x40]
and eax, 0x3ff
mov dx, word [ebp - 6]
and edx, 0xffff
test dh, 2
setne cl
and ecx, 1
neg cx
and ax, cx
mov dx, word [ebp - 6]
and edx, 0x3ff
add edx, edx
xor ax, dx
and ax, 0x3ff
mov cx, word [ebp - 6]
and cx, 0xfc00
or ax, cx
mov word [ebp - 6], ax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x40]
and eax, 0x3ff
mov dx, word [ebp - 6]
and edx, 0xffff
test dh, 2
setne cl
and ecx, 1
neg cx
and ax, cx
mov dx, word [ebp - 6]
and edx, 0x3ff
add edx, edx
xor ax, dx
and ax, 0x3ff
mov cx, word [ebp - 6]
and cx, 0xfc00
or ax, cx
mov word [ebp - 6], ax
xor eax, eax
mov al, byte [ebp - 7]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
mov cx, word [ebp - 6]
and ecx, 0xffff
and cx, 0x3ff
mov eax, dword [ebp - 0x10]
mov dx, word [eax]
and dx, 0xfc00
or cx, dx
mov eax, dword [ebp - 0x10]
mov word [eax], cx
inc byte [ebp - 7]
cmp byte [ebp - 7], 0x20
jb 0x433c25
mov esp, ebp
pop ebp
ret
Function at 0x433f58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
call fcn.0042d4cc
mov dword [ebp - 0x18], 0xc
and word [ebp - 0xa], 0
mov edx, dword [ebp - 4]
mov cx, word [edx + 0x40]
and ecx, 0x3ff
and cx, 0x3ff
mov ax, word [ebp - 0xa]
and ax, 0xfc00
or cx, ax
mov word [ebp - 0xa], cx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00434fac
mov byte [ebp - 0x11], al
mov cx, word [ebp - 0xa]
and ecx, 0x3ff
movzx eax, cx
sar eax, 5
xor edx, edx
mov dl, byte [ebp - 0x11]
xor eax, edx
and eax, 0x1f
mov ecx, dword [ebp - 4]
mov ax, word [ecx + eax*2]
and eax, 0x3ff
mov dx, word [ebp - 0xa]
and edx, 0x3ff
shl edx, 5
xor ax, dx
and ax, 0x3ff
mov cx, word [ebp - 0xa]
and cx, 0xfc00
or ax, cx
mov word [ebp - 0xa], ax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jl 0x433fa5
mov cx, word [ebp - 0xa]
shr ecx, 5
and ecx, 0x1f
lea eax, [ebp - 0x2c]
mov edx, 0xc
call fcn.0043587c
mov cl, byte [ebp - 0xa]
and ecx, 0x1f
lea eax, [ebp - 0x2c]
mov edx, 0xd
call fcn.0043587c
mov esp, ebp
pop ebp
ret
Function at 0x43f2f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x20], ecx
push ebx
call fcn.0043f2cc
pop ecx
lea eax, [ebx + 0x6c]
mov ebx, eax
xor ecx, ecx
mov eax, ecx
xor edx, edx
mov esi, eax
and eax, 1
dec eax
inc edx
not eax
shr esi, 1
and eax, 0xedb88320
xor esi, eax
cmp edx, 8
mov eax, esi
jl 0x43f31d
mov dword [ebx], eax
inc ecx
add ebx, 4
cmp ecx, 0x100
jb 0x43f319
pop esi
pop ebx
pop ebp
ret
Function at 0x443088
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, 0x100
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
or ebx, 0x100
add edi, edi
mov eax, ebx
mov edx, esi
mov ecx, ebx
shr ecx, 8
and edx, edi
shr eax, 7
add edx, esi
add edx, ecx
and eax, 1
push eax
add edx, edx
add edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00442ff0
add esp, 0xc
add ebx, ebx
mov edx, ebx
xor edx, edi
not edx
and esi, edx
cmp ebx, 0x10000
jb 0x44309f
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x443148
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
or eax, 0x100
mov ecx, eax
shr ecx, 8
mov ebx, dword [ebp + 8]
movzx ecx, word [ebx + ecx*2]
mov ebx, eax
shr ebx, 7
and ebx, 1
neg ebx
and ebx, 0x7ff
xor ecx, ebx
sar ecx, 4
mov ebx, dword [ebp + 0x10]
add edx, dword [ebx + ecx*4]
add eax, eax
cmp eax, 0x10000
jb 0x443156
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x44318c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
or eax, 0x100
mov edx, 0x100
add ecx, ecx
mov esi, edx
mov edi, eax
and esi, ecx
shr edi, 8
add esi, edx
add esi, edi
mov edi, dword [ebp + 8]
movzx esi, word [edi + esi*2]
mov edi, eax
add eax, eax
shr edi, 7
and edi, 1
neg edi
and edi, 0x7ff
xor esi, edi
mov edi, dword [ebp + 0x14]
sar esi, 4
add ebx, dword [edi + esi*4]
mov esi, eax
xor esi, ecx
not esi
and edx, esi
cmp eax, 0x10000
jb 0x4431a4
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x443278
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
shl edi, cl
or eax, edi
xor edx, edx
cmp eax, 1
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
je 0x4432be
mov ecx, eax
mov edi, eax
shr ecx, 1
and edi, 1
neg edi
movzx ecx, word [ebx + ecx*2]
and edi, 0x7ff
xor ecx, edi
sar ecx, 4
shr eax, 1
add edx, dword [esi + ecx*4]
cmp eax, 1
jne 0x44329a
mov eax, edx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4432c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 4], eax
mov eax, 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x443314
mov esi, dword [ebp + 8]
mov edx, ebx
and edx, 1
movzx esi, word [esi + eax*2]
mov edi, edx
add eax, eax
neg edi
and edi, 0x7ff
xor esi, edi
mov edi, dword [ebp + 0x14]
sar esi, 4
shr ebx, 1
mov esi, dword [edi + esi*4]
add dword [ebp - 4], esi
or edx, eax
mov eax, edx
dec ecx
test ecx, ecx
jne 0x4432e3
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x446a04
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov ebx, 0x541144
lea esi, [ebp - 0x24]
mov eax, 0x541128
call fcn.00524684
mov word [esi + 0x10], 8
lea edx, [ebx + 4]
mov eax, 0x540f00
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 6]
mov eax, 0x540f04
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 8]
mov eax, 0x540f08
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0xa]
mov eax, 0x540f0c
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0xc]
mov eax, 0x540f10
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0xe]
mov eax, 0x540f14
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x10]
mov eax, 0x540f18
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x12]
mov eax, 0x540f1c
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x14]
mov eax, 0x540f20
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x16]
mov eax, 0x540f24
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x18]
mov eax, 0x540f28
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x1a]
mov eax, 0x540f2c
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x1c]
mov eax, 0x540f30
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x1e]
mov eax, 0x540f34
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x20]
mov eax, 0x540f3c
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x22]
mov eax, 0x540f40
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x24]
mov eax, 0x540f44
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x2e]
mov eax, 0x540f50
call fcn.0052f020
inc dword [esi + 0x1c]
lea edx, [ebx + 0x30]
mov eax, 0x540f54
call fcn.0052f020
inc dword [esi + 0x1c]
mov edx, dword [esi]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45451c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, eax
mov eax, 0x543008
call fcn.00524684
movsx edx, byte [ebx + 8]
cmp edx, 6
ja case.0x45453c.0
jmp dword [edx*4 + 0x454543]
mov eax, dword [ebx]
call fcn.004a3d54
test al, al
jne 0x45459b
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 1
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
mov ecx, 3
mov edx, SysReAllocStringLen
mov eax, ebx
call fcn.00454470
jmp 0x454718
mov eax, dword [ebx]
call fcn.004a3d54
test al, al
jne 0x4545ed
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 1
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
mov ecx, 3
mov edx, 0xc0000000
mov eax, ebx
call fcn.00454470
jmp 0x454718
mov eax, dword [ebx]
call fcn.004a3d54
test al, al
jne 0x45463f
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 1
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
mov ecx, 3
mov edx, 0xc0000000
mov eax, ebx
call fcn.00454470
jmp 0x454718
mov eax, dword [ebx]
call fcn.004a3d54
test al, al
je 0x4546ba
mov edx, 1
mov eax, dword [ebx]
call fcn.0048992c
test al, al
je 0x454686
cmp dword [ebx], 0
je 0x454679
mov edx, dword [ebx]
jmp 0x45467e
mov edx, 0x542ff1
push edx
call sub.KERNEL32.DLL_DeleteFileA
jmp 0x4546ba
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 0x3e7
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
mov ecx, 2
mov edx, 0x40000000
mov eax, ebx
call fcn.00454470
jmp 0x454718
mov eax, dword [ebx]
call fcn.004a3d54
test al, al
je 0x4546df
mov eax, dword [ebx]
call fcn.0052ef94
mov ecx, 2
mov edx, 0x40000000
mov eax, ebx
call fcn.00454470
jmp 0x454718
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x28]
push eax
push 0x4547dc
call fcn.0052be3d
add esp, 0x24
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45494c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, 0x54309c
call fcn.00524684
mov al, byte [ebx + 8]
cmp al, 5
je 0x454970
cmp al, 6
jne 0x4549a1
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 0x11
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
push 0
lea ecx, [ebp - 0x28]
push ecx
push esi
push edi
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
setne al
and eax, 1
test al, al
jne 0x4549c5
mov eax, dword [ebx]
call fcn.00488768
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454a14
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 0x5430a4
call fcn.00524684
cmp byte [ebx + 8], 1
jne 0x454a64
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 0x12
mov ecx, dword [ebx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
push 0
lea ecx, [ebp - 0x28]
push ecx
push edi
push esi
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne al
and eax, 1
test al, al
jne 0x454a88
mov eax, dword [ebx]
call fcn.00488768
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4620d8
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x34]
mov eax, 0x54837c
call fcn.00524684
mov word [edi + 0x10], 0x14
mov edx, 0x546e0d
lea eax, [ebp - 4]
call fcn.0052f020
inc dword [edi + 0x1c]
mov word [edi + 0x10], 8
xor ebx, ebx
mov eax, dword [0x55af7c]
mov edx, dword [eax]
mov eax, dword [edx + 0x44]
call fcn.00501c84
push eax
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4621db
push ebx
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test ebx, ebx
je 0x462142
cmp ebx, 1
je 0x462142
cmp ebx, 0xd
jne 0x46212c
cmp ebx, 1
jne 0x46218d
push 1
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov word [edi + 0x10], 0x20
mov esi, eax
lea eax, [ebp - 8]
mov edx, esi
call fcn.0052f020
mov edx, eax
inc dword [edi + 0x1c]
lea eax, [ebp - 4]
call fcn.0052f364
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0052f334
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
jmp 0x4621d6
cmp ebx, 0xd
jne 0x4621d6
push 0xd
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov word [edi + 0x10], 0x2c
mov esi, eax
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.0052f0f0
mov edx, eax
inc dword [edi + 0x1c]
lea eax, [ebp - 4]
call fcn.0052f364
dec dword [edi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0052f334
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
call sub.USER32.DLL_CloseClipboard
mov word [edi + 0x10], 0x38
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0052f364
mov eax, dword [ebp - 0x10]
mov edx, 2
mov word [edi + 0x10], 0x44
push eax
lea eax, [ebp - 4]
dec dword [edi + 0x1c]
call fcn.0052f334
pop eax
mov word [edi + 0x10], 0x38
inc dword [edi + 0x1c]
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e29c
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, 0x54fe94
mov esi, 0x54ffe0
lea edi, [ebp - 0x24]
mov eax, 0x54ffc4
call fcn.00524684
mov word [edi + 0x10], 8
lea edx, [esi + 0x46]
mov eax, ebx
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x48]
lea eax, [ebx + 4]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x52]
lea eax, [ebx + 8]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x5c]
lea eax, [ebx + 0xc]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x63]
lea eax, [ebx + 0x10]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x6c]
lea eax, [ebx + 0x14]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x77]
lea eax, [ebx + 0x18]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x80]
lea eax, [ebx + 0x1c]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x88]
lea eax, [ebx + 0x20]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x95]
lea eax, [ebx + 0x24]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0x97]
lea eax, [ebx + 0x28]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xa3]
lea eax, [ebx + 0x2c]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xaf]
lea eax, [ebx + 0x30]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xb9]
lea eax, [ebx + 0x34]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xc2]
lea eax, [ebx + 0x38]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xcc]
lea eax, [ebx + 0x3c]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xd5]
lea eax, [ebx + 0x40]
call fcn.0052f020
inc dword [edi + 0x1c]
lea edx, [esi + 0xde]
lea eax, [ebx + 0x44]
call fcn.0052f020
inc dword [edi + 0x1c]
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49f9ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x55cb88
cmp dword [edi], 0
jne 0x49fa28
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x55cb84]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x555b94
mov ecx, 2
call fcn.004b5254
mov edx, 0x49f984
lea eax, [esi + 5]
call fcn.0049f9a4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0049f9a4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x49f9fd
mov dword [0x55cb84], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4a3d64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004b70d4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4a3d7d
test al, 0x10
jne 0x4a3d81
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4a6e24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4a6e5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004b6d14
jmp 0x4a6e66
mov eax, ebx
mov edx, esi
call fcn.004b6c78
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a6e70
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4a6e91
mov al, byte [esp]
jmp 0x4a6e93
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a7518
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4a7390
mov eax, dword [0x55af64]
cmp byte [eax], 0
je 0x4a7585
mov eax, dword [0x55af68]
call fcn.004b57d8
call fcn.004b5148
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004a42a4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4a75cc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4a75bb
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x55ae1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x55b268]
call fcn.004b8404
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret