joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4618a0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
movzx eax, word [edi]
test ax, ax
jne 0x4618d7
xor al, al
jmp 0x461ad5
push eax
call fcn.0047f120
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4618e2
push ebx
sub eax, edx
sar eax, 1
push edi
mov ebx, eax
call fcn.00460f20
test al, al
je 0x4619cc
movzx eax, word [edi]
push eax
call fcn.0047f120
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x46195b
cmp word [edi + 2], 0x3a
jne 0x46195b
add ebx, 4
cmp dword [esp + 0x101c], ebx
jbe 0x461ad2
push 4
push 0x4db150
push esi
call fcn.004c3524
add esp, 0xc
sub esi, edi
mov eax, edi
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461945
mov al, 1
jmp 0x461ad4
cmp word [edi], 0x5c
jne 0x461ad2
add edi, 2
cmp word [edi], 0x5c
jne 0x461ad2
add ebx, 6
cmp dword [esp + 0x101c], ebx
jbe 0x461ad2
push 4
push 0x4db150
push esi
call fcn.004c3524
mov eax, 0x4db148
mov ecx, esi
add esp, 0xc
sub ecx, eax
lea edx, [ecx + 8]
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4619a0
sub esi, edi
mov eax, edi
lea edx, [esi + 0xe]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4619b6
mov al, 1
jmp 0x461ad4
lea edx, [esp + 0xc]
push edx
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x461ad2
cmp eax, 0x7ff
ja 0x461ad2
movzx eax, word [edi]
push eax
call fcn.00460190
test al, al
je 0x461a49
add ebx, 6
cmp dword [esp + 0x101c], ebx
jbe 0x461ad2
push 4
push 0x4db150
push esi
call fcn.004c3524
push 2
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + 8]
push edx
call fcn.004c3524
add esp, 0x18
sub esi, edi
mov eax, edi
lea edx, [esi + 0xc]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461a33
mov al, 1
jmp 0x461ad4
push 0x800
lea eax, [esp + 0x10]
push eax
call fcn.004601c0
lea eax, [esp + 0xc]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x461a60
sub eax, edx
sar eax, 1
lea ecx, [eax + ebx + 4]
mov ebx, dword [esp + 0x101c]
cmp ebx, ecx
jbe 0x461ad2
push 4
push 0x4db150
push esi
call fcn.004c3524
lea eax, [esp + 0x18]
mov edx, esi
mov ecx, eax
sub edx, ecx
add esp, 0xc
add edx, 8
jmp 0x461aa0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461aa0
cmp word [edi], 0x2e
jne 0x461ac6
movzx edx, word [edi + 2]
push edx
call fcn.00460190
test al, al
je 0x461ac6
add edi, 4
push ebx
push edi
push esi
call fcn.0047f4c0
mov al, 1
jmp 0x461ad4
xor al, al
pop ebx
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x1004
ret 0xc
Function at 0x465590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0x20], eax
call fcn.00443fb0
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc0]
push edx
push eax
push esi
call fcn.00443fd0
mov edx, dword [ebp + 0x14]
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x160]
push ecx
push edx
push ebx
call fcn.00444050
mov eax, dword [ebp + 0x20]
lea ecx, [eax - 1]
mov eax, 0xcccccccd
mul ecx
shr edx, 4
add edx, 1
mov dword [esp + 0x18], edx
je 0x46578b
lea edx, [esp + 0x204]
mov dword [esp + 0x10], 0
mov ebx, 1
mov dword [esp + 0xc], edx
xor eax, eax
mov ecx, 0x28
lea esi, [esp + 0x160]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
mov ecx, ebx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x219], cl
mov ecx, dword [ebp + 0x18]
mov edx, ebx
shr edx, 8
mov byte [esp + 0x218], al
mov byte [esp + 0x21a], dl
mov byte [esp + 0x21b], bl
mov eax, 4
test ecx, ecx
jbe 0x465750
mov dword [esp + 0x14], ecx
jmp 0x4656b0
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x220]
push edx
call fcn.00444050
lea eax, [esp + 0x20]
push eax
push 0x14
lea ecx, [esp + 0x220]
push ecx
call fcn.004440f0
xor eax, eax
lea esp, [esp]
movzx edx, byte [esp + eax + 0x218]
xor byte [esp + eax + 0x204], dl
movzx ecx, byte [esp + eax + 0x219]
movzx edx, byte [esp + eax + 0x21a]
xor byte [esp + eax + 0x205], cl
xor byte [esp + eax + 0x206], dl
movzx ecx, byte [esp + eax + 0x21b]
movzx edx, byte [esp + eax + 0x21c]
xor byte [esp + eax + 0x207], cl
xor byte [esp + eax + 0x208], dl
add eax, 5
cmp eax, 0x14
jb 0x4656e0
sub dword [esp + 0x14], 1
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x4656b0
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [ebp + 0x20]
jae 0x465770
mov edx, dword [esp + 0xc]
mov dl, byte [edx + eax]
mov esi, dword [esp + 0x1c]
mov byte [eax + esi], dl
inc ecx
inc eax
cmp ecx, 0x14
jb 0x465756
mov eax, 0x14
add dword [esp + 0x10], eax
sub dword [esp + 0xc], eax
inc ebx
lea eax, [ebx - 1]
cmp eax, dword [esp + 0x18]
jb 0x465635
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x466980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, ebp
cmp ebp, 0x8000
jb 0x4669a5
mov eax, 0x8000
mov edi, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.004c2480
mov eax, 1
add esp, 0xc
xor bl, bl
cmp ebp, eax
jbe 0x4669cb
xor bl, byte [eax + edi]
inc eax
cmp eax, ebp
jb 0x4669c3
push 8
mov ecx, esi
call fcn.00442010
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
cmp bl, byte [edi]
pop ebx
jne 0x466a0c
push ebp
push edi
push 0xffffffffffffffff
call fcn.00428110
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x4e9d04], eax
jne 0x466a03
cmp dword [ecx + 0x4e9d00], ebp
je 0x466a7b
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x4669f3
push 1
mov ecx, esi
call fcn.004668f0
mov eax, dword [esi + 0x14]
lea ecx, [eax + 1]
mov dword [esi + 0x14], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + edx*8]
lea ecx, [eax + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, 3
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
lea edx, [eax + 0x1c]
xor ecx, ecx
mov dword [eax], 0x16
mov dword [eax + 0x24], edx
cmp dword [esi + 0x14], ecx
jle 0x466a75
xor edx, edx
lea esp, [esp]
mov eax, dword [esi]
add eax, edx
cmp dword [eax + 0x14], 0
jne 0x466a60
lea edi, [eax + 0xc]
mov dword [eax + 0x14], edi
cmp dword [eax + 0x24], 0
jne 0x466a6c
lea edi, [eax + 0x1c]
mov dword [eax + 0x24], edi
inc ecx
add edx, 0x28
cmp ecx, dword [esi + 0x14]
jl 0x466a50
pop edi
pop esi
pop ebp
ret 0xc
lea ecx, [edx + edx*2]
mov edi, dword [ecx*4 + 0x4e9d08]
test edi, edi
je 0x466a0c
push 1
mov ecx, esi
call fcn.004668f0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 1]
mov dword [esi + 0x14], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
lea ecx, [eax + 0xc]
mov dword [ecx], edi
pop edi
mov dword [eax + 0x14], ecx
mov ecx, 3
lea edx, [eax + 0x1c]
pop esi
mov dword [eax], 0x28
mov dword [eax + 0x24], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
pop ebp
ret 0xc
Function at 0x46bcf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebp
mov ebp, dword [esp + 0x5ac]
push edi
mov edi, dword [esp + 0x5b4]
cmp word [edi], 0
je 0x46bdeb
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bdeb
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push esi
push ecx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
jne 0x46bdc8
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x1b8]
push 0x4db230
push eax
mov edx, 0x200
call fcn.0041cb70
add esp, 0x10
lea ecx, [esp + 0x1b0]
push ecx
push ebp
call fcn.0046bcf0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0xc8
call ebx
test eax, eax
je 0x46bd70
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x46bdd9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x46bdeb
inc dword [0x560404]
mov ecx, dword [esp + 0x5a8]
pop edi
pop ebp
xor ecx, esp
call fcn.004c1302
add esp, 0x5a4
ret 8

Function at 0x46be10
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x40c]
cmp esi, 0x80000001
jne 0x46be7e
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x46be6e
test cx, cx
mov ecx, 0x4d78e8
jne 0x46be53
mov ecx, 0x4d79fc
push eax
push ecx
lea eax, [esp + 0xc]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.0041cb70
add esp, 0x10
jmp 0x46be8e
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0xc]
push ecx
jmp 0x46be89
push 0x200
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0047f480
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x404
ret 8
Function at 0x46bec0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x410]
push esi
mov esi, dword [esp + 0x410]
push edi
mov edi, dword [esp + 0x41c]
cmp esi, 0x80000001
jne 0x46bf36
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x46bf26
test cx, cx
mov ecx, 0x4d78e8
jne 0x46bf0b
mov ecx, 0x4d79fc
push eax
push ecx
lea eax, [esp + 0x14]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.0041cb70
add esp, 0x10
jmp 0x46bf46
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0x14]
push ecx
jmp 0x46bf41
push 0x200
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0047f480
lea eax, [esp + 8]
push eax
push 0x20006
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bf7d
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
test eax, eax
je 0x46bf7d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
call fcn.004c1302
add esp, 0x408
ret 0xc

Function at 0x46c240
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push eax
lea edi, [esp + 0x14]
call fcn.0046c0b0
mov edi, eax
test edi, edi
je 0x46c298
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46c263
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 0x10

Function at 0x46c350
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push eax
call fcn.0046c180
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x46c3a4
push ebx
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push esi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
pop ebx
je 0x46c3a4
cmp dword [esp + 0x10], 0
jne 0x46c3ad
mov eax, dword [esp + 0x18]
pop esi
pop ecx
ret 0x10
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 0x10
Function at 0x46c3c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push eax
call fcn.0046c180
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x46c413
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x46c413
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46c43b
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x46c42e
push eax
push ebx
call fcn.004c2480
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.004c1d50
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x46c810
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push esi
push edi
push ecx
lea edi, [esp + 0x10]
mov esi, 0x80000001
mov dword [esp + 0x18], eax
call fcn.0046c0b0
mov esi, eax
test esi, esi
je 0x46c85a
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0xc
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0xc

Function at 0x46c870
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
lea edi, [esp + 0x10]
mov esi, 0x80000001
call fcn.0046c0b0
mov esi, eax
test esi, esi
je 0x46c8b5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret 0x10

Function at 0x46c940
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov esi, 0x80000001
call fcn.0046c180
mov edi, eax
test edi, edi
jne 0x46c95c
pop edi
pop esi
ret 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
ret 8

Function at 0x46ce90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor esi, esi
xor ebx, ebx
xor byte [esi + ecx], bl
mov eax, 0xaaaaaaab
mul ebx
shr edx, 1
lea ebx, [edx + ebx + 3]
inc esi
and ebx, 0xffffff
cmp esi, 0x480
jb 0x46ce96
pop esi
pop ebx
ret
Function at 0x46cfa0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
push ebp
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.0046cec0
test eax, eax
je 0x46cfcf
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 8
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.0046cec0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0046cec0
mov dword [esi + 0x18], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046cec0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.0046cec0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0046cec0
mov dword [esi + 0x24], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046cec0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x2c]
push edx
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.0046cf20
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046cec0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x130]
push edx
mov ecx, esi
mov dword [esi + 0x12c], eax
call fcn.0046cf20
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046cec0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x100
lea edx, [esi + 0x234]
mov dword [esi + 0x230], eax
push edx
mov ecx, esi
call fcn.0046cf20
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046cec0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x334], eax
call fcn.0046cec0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x338], eax
call fcn.0046cec0
push ebp
mov dword [esi + 0x33c], eax
lea eax, [esp + 0x14]
push eax
push edi
push 0x20
lea ecx, [esi + 0x340]
push ecx
mov ecx, esi
call fcn.0046cf20
push ebp
lea edx, [esp + 0x14]
push edx
push edi
push 0x100
lea eax, [esi + 0x380]
push eax
mov ecx, esi
call fcn.0046cf20
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
jbe 0x46d128
nop
xor bl, byte [eax + edi]
inc eax
cmp eax, ecx
jb 0x46d120
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.0046cec0
movzx edx, bl
pop edi
xor ecx, ecx
cmp edx, eax
pop esi
sete cl
pop ebp
mov al, cl
pop ebx
pop ecx
ret 8
Function at 0x472860
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xa804
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0xa800], eax
mov ecx, dword [esp + 0xa80c]
lea eax, [esp + 0xa810]
push eax
push ecx
lea edx, [esp + 8]
push 0x1800
push edx
call fcn.004c52f9
xor eax, eax
mov word [esp + 0x300e], ax
mov eax, dword [esp + 0xa818]
add esp, 0x10
sub eax, 0
je 0x472919
sub eax, 1
je 0x4728f7
sub eax, 1
jne 0x47295d
push 0x1800
lea ecx, [esp + 0x3004]
push ecx
lea edx, [esp + 8]
push edx
call fcn.00486b80
lea eax, [esp + 0x3000]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4728e0
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x300c]
push eax
jmp 0x472955
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472900
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x472954
push 0x6000
lea edx, [esp + 0x4804]
push edx
lea eax, [esp + 8]
push eax
call fcn.00486c90
lea eax, [esp + 0x4800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472940
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x480c]
push ecx
call fcn.004c3ee0
add esp, 0x10
mov ecx, dword [esp + 0xa800]
xor ecx, esp
call fcn.004c1302
add esp, 0xa804
ret

Function at 0x472980
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1054
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x1050], eax
cmp byte [0x532b51], 0
je 0x4729d6
push 0x800
lea eax, [esp + 4]
push eax
call fcn.004a3ee0
test al, al
je 0x472a1c
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x472a1c
lea edx, [esp]
jmp 0x472a08
lea eax, [esp]
push eax
mov ecx, 0x53f4e8
call fcn.0044d2f0
test al, al
je 0x472a1c
push 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push str.print
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x472a1c
lea edx, [esp]
push edx
push 0x557
call fcn.00475570
push eax
call fcn.004ad030
add esp, 8
mov ecx, dword [esp + 0x1050]
xor ecx, esp
call fcn.004c1302
add esp, 0x1054
ret
Function at 0x4751a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x418
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
push esi
push edi
push 5
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x51ef04]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x51ef04]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x51ef04]
push esi
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.004c23a7
mov edi, eax
add esp, 4
test edi, edi
jne 0x475219
mov dword [ebx], eax
jmp 0x475359
push esi
push ebp
push edi
call fcn.004c2480
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
add esp, 0xc
and eax, 0xffff0000
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
cmp eax, 0xffff0000
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
sete bl
call fcn.00474b80
mov ebp, dword [esp + 0x1c]
test al, al
je 0x4752a0
mov ecx, edi
test bl, bl
je 0x475266
lea ecx, [edi + 8]
movsx edx, word [ecx + 0xe]
imul edx, ebp
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx edx, word [ecx + 0x10]
imul edx, dword [esp + 0x10]
mov word [ecx + 0xe], ax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ecx + 0x10], ax
xor ecx, ecx
test bl, bl
setne cl
mov eax, 0xffff
lea ecx, [ecx*4 + 9]
cmp word [edi + ecx*2], ax
lea edx, [edi + ecx*2]
jne 0x4752c3
mov eax, 2
jmp 0x4752e0
mov eax, edx
lea esi, [eax + 2]
jmp 0x4752d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4752d0
sub eax, esi
sar eax, 1
inc eax
lea edx, [edx + eax*2]
mov ecx, 0xffff
cmp word [edx], cx
jne 0x4752f4
mov eax, 2
jmp 0x475310
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x475300
sub eax, esi
sar eax, 1
inc eax
mov ecx, dword [esp + 0x14]
push ecx
push 1
push 0x200
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [edx + eax*2]
push edx
call fcn.004749b0
lea eax, [esp + 0x24]
push eax
call fcn.004c339d
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
cmp ebp, 0x64
jne 0x475357
cmp dword [esp + 0x10], ebp
jne 0x475357
push edi
call fcn.004c1aa4
add esp, 4
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x418
ret 8