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

Disassembly:
mov ecx, 0x4ad720
jmp 0x428eb0
push 0xffffffffffffffff
push 0x485f06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047793c
xor ebp, ebp
lea ecx, [esi + 0x84]
mov dword [esp + 0x2c], ebp
call fcn.00475971
lea edi, [esi + 0x140]
push ebp
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0045b107
mov dword [edi], 0x48c120
add edi, 8
push edi
call dword [0x48a184]
lea eax, [esp + 0x14]
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esi], method.CWnd.virtual_0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call sub.gdiplus.dll_GdiplusStartup
lea edi, [esi + 0x50]
mov ecx, 6
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
mov dword [esi + 0x48], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x160], ebp
mov dword [esi + 0x164], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x74], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x40], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x42ae00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48616f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x4a6058]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov edi, 1
push ecx
push 0x20019
push ebx
push str.SOFTWAREASUSLifeFrame
push 0x80000002
mov dword [esp + 0x3c], edi
call dword [0x48a00c]
test eax, eax
je 0x42ae6b
mov esi, dword [esp + 0x30]
push 0x4acc48
mov ecx, esi
call fcn.0047b1eb
mov dword [esp + 0x14], edi
jmp 0x42aef0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push ebx
push str.Version
push ecx
call dword [0x48a014]
test eax, eax
je 0x42aea8
mov edx, dword [esp + 0x10]
push edx
call dword [0x48a004]
mov esi, dword [esp + 0x30]
push 0x4acc48
mov ecx, esi
call fcn.0047b1eb
jmp 0x42aeec
mov eax, dword [esp + 0x10]
push eax
call dword [0x48a004]
mov eax, dword [esp + 0x18]
xor edx, edx
mov dl, byte [esp + 0x1a]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x18
push eax
push edx
push ecx
lea ecx, [esp + 0x18]
push str._i._i._i
push ecx
call fcn.00474d53
mov esi, dword [esp + 0x44]
add esp, 0x14
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0047ae8f
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call fcn.0047b122
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x42bfd0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x486250
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov edx, dword [esp + 0x28]
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
mov ecx, dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x44]
push eax
call fcn.0043bc40
test eax, eax
jne 0x42c035
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0x14
mov ecx, dword [esi + 0x1c]
push 5
push ecx
call dword [0x48a59c]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4aa22c
call fcn.0047b196
push ecx
mov dword [esp + 0x24], 0
mov ecx, esp
mov dword [esp + 0x30], esp
push str.GAME
call fcn.0047b196
push ecx
mov byte [esp + 0x28], 1
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x4aa22c
call fcn.0047b196
push ecx
mov byte [esp + 0x2c], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push str.game1_single_down.png
call fcn.0047b196
push ecx
mov byte [esp + 0x30], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push str.game1_single_hover.png
call fcn.0047b196
push ecx
mov byte [esp + 0x34], 4
mov ecx, esp
mov dword [esp + 0x28], esp
push str.game1_single.png
call fcn.0047b196
push 0x11
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.0043c690
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4aa22c
call fcn.0047b196
push ecx
mov dword [esp + 0x24], 5
mov ecx, esp
mov dword [esp + 0x30], esp
push str.GAME
call fcn.0047b196
push ecx
mov byte [esp + 0x28], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4aa22c
call fcn.0047b196
push ecx
mov byte [esp + 0x2c], 7
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.game1_multiple_down.png
call fcn.0047b196
push ecx
mov byte [esp + 0x30], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.game1_multiple_hover.png
call fcn.0047b196
push ecx
mov byte [esp + 0x34], 9
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.game1_multiple.png
call fcn.0047b196
push 0x12
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.0043c690
mov ecx, esi
call fcn.0042c190
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0x14
Function at 0x437ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486e18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
push 0
push 0
push 0
mov esi, ecx
push 8
call fcn.004789f4
push eax
lea ecx, [esp + 0x10]
call fcn.0047b196
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x25c], ecx
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
lea edi, [esi + 0x26c]
push ecx
push eax
push 0
push 0
push edi
mov dword [esp + 0x2c], 0
mov dword [esi + 0x260], edx
mov dword [esi + 0x254], eax
mov dword [esi + 0x258], ecx
call dword [0x48a5a4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
push 0
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0x12000000
push 0
push edx
push 0x80080
mov ecx, esi
call fcn.00478272
test eax, eax
jne 0x437baa
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0047b122
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x14
mov eax, dword [esi + 0x1c]
push 0xfffffffffffffff0
push eax
call dword [0x48a6e4]
mov ecx, dword [esi + 0x1c]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [0x48a6e8]
push str.ImageDescWnd
mov ecx, esi
call fcn.0047abe3
push 1
push esi
push edi
push 0x10000081
lea ecx, [esi + 0x280]
call fcn.004377a0
sub esp, 0x10
mov edx, edi
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, esi
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
call fcn.00438930
push 0
call dword [0x48a5a8]
push eax
mov dword [esi + 0x264], eax
call dword [0x48a050]
mov ecx, dword [esi + 0x254]
mov dword [esi + 0x250], eax
mov eax, dword [esi + 0x258]
push 0
push 0x20
push 1
push eax
push ecx
call dword [0x48a038]
mov edx, dword [esi + 0x250]
push eax
push edx
call dword [0x48a03c]
push 0xff
call dword [0x48a0c8]
mov ebx, eax
mov eax, dword [esi + 0x250]
push ebx
push edi
push eax
call dword [0x48a550]
push ebx
call dword [0x48a048]
mov ecx, dword [esi + 0x278]
mov ebx, dword [esi + 0x270]
mov edx, dword [esi + 0x274]
mov eax, dword [esi + 0x258]
sub ecx, ebx
push 4
push ecx
mov ecx, dword [edi]
sub edx, ecx
mov ecx, dword [esi + 0x254]
neg eax
push edx
push eax
neg ecx
push ecx
push 0
mov ecx, esi
call fcn.0047ac95
mov edx, dword [esi + 0x258]
mov eax, dword [esi + 0x254]
push edx
push eax
mov ecx, esi
call fcn.00438570
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0047b122
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x438110
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
cmp ebx, 1
mov esi, ecx
je 0x438129
cmp ebx, 2
je 0x438129
pop esi
xor eax, eax
pop ebx
ret 4
cmp dword [esi + 0x40], ebx
je 0x438167
mov eax, dword [esi + 0x1c]
push ebp
push edi
push 0xffffffffffffffec
push eax
mov dword [esi + 0x40], ebx
call dword [0x48a6e4]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x48a6e8]
mov edi, eax
and edi, 0xfff7ffff
push edi
push 0xffffffffffffffec
push ecx
call ebp
mov edx, dword [esi + 0x1c]
or edi, 0x80000
push edi
push 0xffffffffffffffec
push edx
call ebp
pop edi
pop ebp
cmp ebx, 1
jne 0x43819b
mov eax, dword [esi + 0x29c]
push 5
push eax
call dword [0x48a59c]
lea ecx, [esi + 0x280]
call fcn.0047ad4d
mov ecx, dword [esi + 0x1c]
push 2
push 0xc8
push 0
push ecx
call dword [0x48a6c0]
jmp 0x4381b1
mov edx, dword [esi + 0x29c]
push 0
push edx
call dword [0x48a59c]
mov ecx, esi
call fcn.004381e0
push 3
push 0
push 0
push 0
push 0
push 0x4b0108
lea ecx, [esi + 0x280]
call fcn.0047ac95
pop esi
mov eax, 1
pop ebx
ret 4

Function at 0x438a60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x486ee8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp eax, esi
jne 0x438a9b
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0x48ab2c
push ecx
push eax
mov dword [esp + 0x14], esi
call sub.gdiplus.dll_GdipLoadImageFromFile
cmp eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
je 0x438ae5
mov edx, dword [esp + 0xc]
mov dword [esp + 8], 0x48ab2c
push edx
call sub.gdiplus.dll_GdipDisposeImage
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, ebx
call fcn.00438b30
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0xc], 0x48ab2c
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x438fe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, ecx
test esi, esi
je 0x43907b
push 1
lea eax, [esp + 0x1c]
push 0x23
push eax
push 0
call dword [0x48a434]
lea ecx, [esp + 0x18]
push str._tmp.png
push ecx
call fcn.00462d8d
add esp, 8
lea edx, [esp + 8]
mov ecx, edi
push edx
push str.image_png
call fcn.00439a90
cmp eax, 0xffffffff
je 0x43907b
mov edx, dword [esi + 4]
lea eax, [esp + 8]
push 0
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipSaveImageToFile
test eax, eax
je 0x43905b
mov dword [esi + 8], eax
pop edi
xor eax, eax
pop esi
add esp, 0x218
ret 0xc
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x228]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.00438ef0
test eax, eax
jne 0x439088
pop edi
xor eax, eax
pop esi
add esp, 0x218
ret 0xc
lea eax, [esp + 0x18]
push eax
call dword [0x48a16c]
pop edi
mov eax, 1
pop esi
add esp, 0x218
ret 0xc
Function at 0x445990
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
test ebx, ebx
push edi
je 0x445a56
mov eax, dword [esp + 0x18]
test eax, eax
je 0x445a56
lea esi, [ecx + 8]
push 1
push 0x1c
push esi
push 0
call dword [0x48a434]
push 0x4a41a4
push esi
call fcn.00462d8d
mov edi, dword [0x48a37c]
add esp, 8
push 0
push esi
call edi
mov ebp, dword [0x48a38c]
test eax, eax
jne 0x4459e8
call ebp
cmp eax, 0xb7
jne 0x445a56
push 0x4a1028
push esi
call fcn.00462d8d
push ebx
push esi
call fcn.00462d8d
add esp, 0x10
push 0
push esi
call edi
test eax, eax
jne 0x445a0f
call ebp
cmp eax, 0xb7
jne 0x445a56
push 0x4a1028
push esi
call fcn.00462d8d
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.00462d8d
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 3
push esi
call dword [0x48a3a4]
cmp eax, 0xffffffff
je 0x445a4a
push eax
call dword [0x48a3a8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x44fba0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4881a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor eax, eax
push esi
mov ah, byte [esp + 0x30]
mov esi, ecx
mov al, byte [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shl eax, 8
and ecx, 0xff
push edi
or eax, ecx
push eax
call dword [0x48a0c8]
push 0
push eax
push 0x7f00
push 0
call dword [0x48a544]
push eax
push 0
call fcn.004789f4
push eax
lea ecx, [esp + 0x38]
call fcn.0047b196
mov edi, dword [0x48a580]
push 0
mov dword [esp + 0x24], 0
call edi
push 1
mov dword [esi + 0x40], eax
call edi
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x44], eax
mov dword [esp + 0x14], eax
push 0
push 0
lea eax, [esp + 0x10]
push edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
push eax
push 0x80000000
push 0
push ecx
push 0
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00478272
mov eax, dword [esi + 0x1c]
or edi, 0xffffffff
push 0
push eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], edi
call dword [0x48a59c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], edi
call fcn.0047b122
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x44fca0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x44fd19
push 0
call dword [0x48a67c]
push 3
push 0
push 0
push 0
push 0
push 0x4b0088
mov ecx, esi
call fcn.0047ac95
push 0
push 0
push str.GPLV
call fcn.0044fdd0
add esp, 0xc
mov dword [esi + 0x48], eax
test eax, eax
jl 0x44fcf2
push 0xf
push 1
push str.SPLV
call fcn.0044fdd0
add esp, 0xc
mov eax, dword [esi + 0x3c]
push 5
push eax
call dword [0x48a59c]
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x44fd5a
mov ecx, dword [esi + 0x1c]
push 0
push eax
push 1
push ecx
call dword [0x48a584]
pop esi
ret 8
mov eax, dword [esi + 0x48]
test eax, eax
jl 0x44fd30
push eax
push 1
push str.SPLV
call fcn.0044fdd0
add esp, 0xc
mov edx, dword [esi + 0x3c]
push 0
push edx
call dword [0x48a59c]
push 3
push 0
push 0
push 0
push 0
push 0x4b0048
mov ecx, esi
call fcn.0047ac95
push 1
call dword [0x48a67c]
pop esi
ret 8
Function at 0x4740d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x48a06c]
mov edi, dword [ebp + 8]
push edi
call dword [0x48a5c4]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00463200
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x47419b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [0x48a5d4]
test eax, eax
je 0x47419b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x47414e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x474159
or bh, 8
and edi, 0x8000000
je 0x474174
mov eax, dword [0x4b235c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x48a108]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [0x48a5d8]
test edi, edi
je 0x47419b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [0x48a108]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x478727
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47875f
push dword [esi + 0x1c]
call dword [0x48a444]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047b4cb
push eax
push dword [esi + 0x1c]
call dword [0x48a6b8]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047b4a2
jmp 0x47876b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x54b740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf1000]
push edi
or ebp, 0xffffffff
jmp 0x54b762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54b769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b758
mov eax, 1
add ebx, ebx
jne 0x54b77b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54b78c
jne 0x54b7ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b7ab
dec eax
add ebx, ebx
jne 0x54b798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54b770
add ebx, ebx
jne 0x54b7a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54b7fd
xor ecx, ecx
sub eax, 3
jb 0x54b7c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54b832
sar eax, 1
mov ebp, eax
jmp 0x54b7ce
add ebx, ebx
jne 0x54b7ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b79c
inc ecx
add ebx, ebx
jne 0x54b7dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54b79c
add ebx, ebx
jne 0x54b7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54b7de
jne 0x54b7fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54b7de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54b81c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54b80e
jmp 0x54b75e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54b81c
add edi, ecx
jmp 0x54b75e
pop esi
mov edi, esi
mov ecx, 0x639
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54b83a
cmp byte [edi], 5
jne 0x54b83a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x54b83f
lea edi, [esi + 0x149000]
mov eax, dword [edi]
or eax, eax
je 0x54b8b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14bd60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14bd9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54b86c
mov ecx, edi
jns 0x54b89b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14bda0]
or eax, eax
je 0x54b8b1
mov dword [ebx], eax
add ebx, 4
jmp 0x54b889
call dword [esi + 0x14bdb0]
mov ebp, dword [esi + 0x14bda4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x54b8eb
sub esp, 0xffffff80
jmp 0x403974
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x429d4208
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x636d55f1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401083
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jbe 0x4010b0
test cl, 7
je 0x4010b0
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4191a0]
dec esi
inc ecx
jmp 0x401091
cmp esi, 8
jb 0x401153
mov edx, esi
shr edx, 3
mov dword [ebp + 8], edx
push ebx
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x4195a0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4191a0]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x4199a0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x41a1a0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x41a5a0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x41a9a0]
movzx edx, dl
xor edi, dword [edx*4 + 0x419da0]
movzx eax, al
xor edi, dword [eax*4 + 0x41ada0]
sub esi, 8
add ecx, 8
dec dword [ebp + 8]
mov eax, edi
jne 0x4010c2
pop ebx
jmp 0x401153
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4191a0]
dec esi
inc ecx
test esi, esi
ja 0x40113f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40165a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
push edi
mov edi, 0x4e20
jne 0x401681
cmp dword [ebp + 0xc], edi
jbe 0x401676
mov dword [ebp + 0xc], edi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4016ea
mov ecx, esi
call fcn.004015fa
test al, al
je 0x4016b7
cmp dword [ebp + 0xc], edi
jbe 0x4016b7
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.0040165a
jmp 0x4016ed
cmp dword [esi + 0xc], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x4016ce
call ebx
cmp eax, 0x6d
jne 0x4016ce
xor eax, eax
jmp 0x4016ed
cmp dword [esi + 0xc], 0
jne 0x4016e5
mov edi, 0x8000
cmp dword [ebp + 0xc], edi
jbe 0x4016e5
call ebx
cmp eax, 0x21
je 0x4016aa
or eax, 0xffffffff
jmp 0x4016ed
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00406ce0
mov eax, dword [0x4181b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
mov edi, dword [ebp + 8]
push edi
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401961
push 0x800
lea eax, [ebp - 0x1004]
push eax
push edi
call fcn.00403f0a
test al, al
je 0x401961
lea eax, [ebp - 0x1004]
push eax
call esi
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00406ccd
leave
ret 4
Function at 0x401974
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00406ce0
mov eax, dword [0x4181b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call esi
test eax, eax
setne bl
test bl, bl
jne 0x4019cd
push 0x800
lea eax, [ebp - 0x1004]
push eax
push edi
call fcn.00403f0a
test al, al
je 0x4019cd
push dword [ebp + 0xc]
lea eax, [ebp - 0x1004]
push eax
call esi
test eax, eax
setne bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00406ccd
leave
ret 8

Function at 0x401a6e
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00406ce0
mov eax, dword [0x4181b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
mov edi, dword [ebp + 8]
push 0
push edi
call esi
test eax, eax
jne 0x401ac8
push edi
call fcn.00401a58
test al, al
jne 0x401adb
push 0x800
lea eax, [ebp - 0x1004]
push eax
push edi
call fcn.00403f0a
test al, al
je 0x401adb
push 0
lea eax, [ebp - 0x1004]
push eax
call esi
test eax, eax
je 0x401adb
cmp byte [ebp + 0xc], 0
je 0x401ad7
push dword [ebp + 0x10]
push edi
call fcn.00401974
xor eax, eax
jmp 0x401af3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x401af0
cmp eax, 3
je 0x401af0
xor eax, eax
inc eax
jmp 0x401af3
push 2
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00406ccd
leave
ret 0xc