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

Disassembly:
mov eax, 0x1004
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1014]
movzx eax, word [esi]
push edi
mov edi, dword [esp + 0x101c]
push eax
call fcn.0047ec10
mov eax, esi
lea edx, [eax + 2]
jmp 0x4615e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4615e0
sub eax, edx
sar eax, 1
mov ebp, eax
movzx eax, word [esi]
cmp ax, 0x5c
jne 0x461603
cmp word [esi + 2], ax
lea ebx, [esi + 2]
je 0x461639
push eax
call fcn.0047ec10
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x461706
cmp word [esi + 2], 0x3a
lea ebx, [esi + 2]
jne 0x461706
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x461639
cmp eax, 0x2f
jne 0x461706
movzx ecx, word [esi]
push ecx
call fcn.0047ec10
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x461696
cmp word [ebx], 0x3a
jne 0x461696
add ebp, 4
cmp dword [esp + 0x1020], ebp
jbe 0x4617fb
push 4
push 0x4db1b0
push edi
call fcn.004c2cd4
add esp, 0xc
sub edi, esi
mov eax, esi
lea edx, [edi + 8]
jmp 0x461680
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461680
mov al, 1
jmp 0x4617fd
cmp word [esi], 0x5c
jne 0x4617fb
cmp word [ebx], 0x5c
jne 0x4617fb
add ebp, 6
cmp dword [esp + 0x1020], ebp
jbe 0x4617fb
push 4
push 0x4db1b0
push edi
call fcn.004c2cd4
mov eax, 0x4db1a8
mov edx, edi
sub edx, eax
add esp, 0xc
add edx, 8
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4616d6
sub edi, ebx
mov eax, ebx
lea edx, [edi + 0xe]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4616f0
mov al, 1
jmp 0x4617fd
lea eax, [esp + 0x10]
push eax
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4617fb
cmp eax, 0x7ff
ja 0x4617fb
movzx eax, word [esi]
cmp eax, 0x5c
je 0x461736
cmp eax, 0x2f
jne 0x461783
add ebp, 6
cmp dword [esp + 0x1020], ebp
jbe 0x4617fb
push 4
push 0x4db1b0
push edi
call fcn.004c2cd4
push 2
lea ecx, [esp + 0x20]
push ecx
lea edx, [edi + 8]
push edx
call fcn.004c2cd4
add esp, 0x18
sub edi, esi
mov eax, esi
lea edx, [edi + 0xc]
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x461770
mov al, 1
jmp 0x4617fd
push 0x800
lea eax, [esp + 0x14]
push eax
call fcn.0045fed0
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4617a0
mov ebx, dword [esp + 0x1020]
sub eax, edx
sar eax, 1
lea ecx, [eax + ebp + 4]
cmp ebx, ecx
jbe 0x4617fb
push 4
push 0x4db1b0
push edi
call fcn.004c2cd4
lea eax, [esp + 0x1c]
mov edx, edi
mov ecx, eax
sub edx, ecx
add esp, 0xc
add edx, 8
jmp 0x4617e0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4617e0
push ebx
push esi
push edi
call fcn.0047efb0
mov al, 1
jmp 0x4617fd
xor al, al
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x1004
ret 0xc
Function at 0x4652e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4eb984]
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.00443c40
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc0]
push edx
push eax
push esi
call fcn.00443c60
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.00443ce0
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 0x4654db
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 0x4654a0
mov dword [esp + 0x14], ecx
jmp 0x465400
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x220]
push edx
call fcn.00443ce0
lea eax, [esp + 0x20]
push eax
push 0x14
lea ecx, [esp + 0x220]
push ecx
call fcn.00443d80
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 0x465430
sub dword [esp + 0x14], 1
mov ecx, 0x28
lea esi, [esp + 0xc0]
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x465400
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, dword [ebp + 0x20]
jae 0x4654c0
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 0x4654a6
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 0x465385
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x466670
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 0x466695
mov eax, 0x8000
mov edi, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.004c1de0
mov eax, 1
add esp, 0xc
xor bl, bl
cmp ebp, eax
jbe 0x4666bb
xor bl, byte [eax + edi]
inc eax
cmp eax, ebp
jb 0x4666b3
push 8
mov ecx, esi
call fcn.00441d90
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
cmp bl, byte [edi]
pop ebx
jne 0x4666fc
push ebp
push edi
push 0xffffffffffffffff
call fcn.00427d90
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x4ea684], eax
jne 0x4666f3
cmp dword [ecx + 0x4ea680], ebp
je 0x46676b
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x4666e3
push 1
mov ecx, esi
call fcn.004665e0
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 0x466765
xor edx, edx
lea esp, [esp]
mov eax, dword [esi]
add eax, edx
cmp dword [eax + 0x14], 0
jne 0x466750
lea edi, [eax + 0xc]
mov dword [eax + 0x14], edi
cmp dword [eax + 0x24], 0
jne 0x46675c
lea edi, [eax + 0x1c]
mov dword [eax + 0x24], edi
inc ecx
add edx, 0x28
cmp ecx, dword [esi + 0x14]
jl 0x466740
pop edi
pop esi
pop ebp
ret 0xc
lea ecx, [edx + edx*2]
mov edi, dword [ecx*4 + 0x4ea688]
test edi, edi
je 0x4666fc
push 1
mov ecx, esi
call fcn.004665e0
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 0x46b9f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x4eb984]
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 0x46baeb
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 0x46baeb
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 0x46bac8
lea ebx, [ebx]
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x1b8]
push 0x4db290
push eax
mov edx, 0x200
call fcn.00495190
add esp, 0x10
lea ecx, [esp + 0x1b0]
push ecx
push ebp
call fcn.0046b9f0
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 0x46ba70
mov eax, dword [esp + 0x14]
pop esi
pop ebx
test eax, eax
je 0x46bad9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x46baeb
inc dword [0x560ce4]
mov ecx, dword [esp + 0x5a8]
pop edi
pop ebp
xor ecx, esp
call fcn.004c0c62
add esp, 0x5a4
ret 8

Function at 0x46bb10
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x40c]
cmp esi, 0x80000001
jne 0x46bb7e
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x46bb6e
test cx, cx
mov ecx, 0x4d78e8
jne 0x46bb53
mov ecx, 0x4d79fc
push eax
push ecx
lea eax, [esp + 0xc]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.00495190
add esp, 0x10
jmp 0x46bb8e
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0xc]
push ecx
jmp 0x46bb89
push 0x200
push eax
lea edx, [esp + 0xc]
push edx
call fcn.0047ef70
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.004c0c62
add esp, 0x404
ret 8
Function at 0x46bbc0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x4eb984]
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 0x46bc36
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x46bc26
test cx, cx
mov ecx, 0x4d78e8
jne 0x46bc0b
mov ecx, 0x4d79fc
push eax
push ecx
lea eax, [esp + 0x14]
push str.SoftwareWinRAR_s_s
push eax
mov edx, 0x200
call fcn.00495190
add esp, 0x10
jmp 0x46bc46
push 0x200
add eax, 2
push eax
lea ecx, [esp + 0x14]
push ecx
jmp 0x46bc41
push 0x200
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0047ef70
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 0x46bc7d
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 0x46bc7d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
call fcn.004c0c62
add esp, 0x408
ret 0xc

Function at 0x46bf40
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.0046bdb0
mov edi, eax
test edi, edi
je 0x46bf98
mov edx, dword [esp + 0x18]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46bf63
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 0x46c050
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.0046be80
mov esi, eax
mov dword [esp + 0x10], 4
test esi, esi
je 0x46c0a4
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 0x46c0a4
cmp dword [esp + 0x10], 0
jne 0x46c0ad
mov eax, dword [esp + 0x18]
pop esi
pop ecx
ret 0x10
mov eax, dword [esp + 0xc]
pop esi
pop ecx
ret 0x10
Function at 0x46c0c0
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.0046be80
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ebp
test esi, esi
je 0x46c113
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 0x46c113
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46c13b
mov eax, dword [esp + 0x20]
push ebp
test eax, eax
je 0x46c12e
push eax
push ebx
call fcn.004c1de0
add esp, 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
push 0
push ebx
call fcn.004c16b0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x46c510
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.0046bdb0
mov esi, eax
test esi, esi
je 0x46c55a
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 0x46c570
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.0046bdb0
mov esi, eax
test esi, esi
je 0x46c5b5
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 0x46c640
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
mov esi, 0x80000001
call fcn.0046be80
mov edi, eax
test edi, edi
jne 0x46c65c
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 0x46ca10
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 0x46ca16
pop esi
pop ebx
ret
Function at 0x46cb20
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.0046ca40
test eax, eax
je 0x46cb4f
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.0046ca40
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0046ca40
mov dword [esi + 0x18], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046ca40
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.0046ca40
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0046ca40
mov dword [esi + 0x24], eax
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046ca40
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.0046caa0
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046ca40
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.0046caa0
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046ca40
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.0046caa0
push ebp
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046ca40
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esi + 0x334], eax
call fcn.0046ca40
push ebp
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
mov dword [esi + 0x338], eax
call fcn.0046ca40
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.0046caa0
push ebp
lea edx, [esp + 0x14]
push edx
push edi
push 0x100
lea eax, [esi + 0x380]
push eax
mov ecx, esi
call fcn.0046caa0
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
jbe 0x46cca8
nop
xor bl, byte [eax + edi]
inc eax
cmp eax, ecx
jb 0x46cca0
push ebp
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.0046ca40
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 0x4723a0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0xa804
call fcn.004c0c80
mov eax, dword [0x4eb984]
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.004c4a29
xor eax, eax
mov word [esp + 0x300e], ax
mov eax, dword [esp + 0xa818]
add esp, 0x10
sub eax, 0
je 0x472459
sub eax, 1
je 0x472437
sub eax, 1
jne 0x47249d
push 0x1800
lea ecx, [esp + 0x3004]
push ecx
lea edx, [esp + 8]
push edx
call fcn.00486550
lea eax, [esp + 0x3000]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472420
push esi
sub eax, edx
push eax
push 1
lea eax, [esp + 0x300c]
push eax
jmp 0x472495
lea eax, [esp]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472440
sub eax, edx
push esi
sar eax, 1
push eax
push 2
lea ecx, [esp + 0xc]
jmp 0x472494
push 0x6000
lea edx, [esp + 0x4804]
push edx
lea eax, [esp + 8]
push eax
call fcn.00486660
lea eax, [esp + 0x4800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472480
push esi
sub eax, edx
push eax
push 1
lea ecx, [esp + 0x480c]
push ecx
call fcn.004c3690
add esp, 0x10
mov ecx, dword [esp + 0xa800]
xor ecx, esp
call fcn.004c0c62
add esp, 0xa804
ret

Function at 0x4724c0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1054
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x1050], eax
cmp byte [0x533431], 0
je 0x472516
push 0x800
lea eax, [esp + 4]
push eax
call fcn.004a3790
test al, al
je 0x47255c
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 0x47255c
lea edx, [esp]
jmp 0x472548
lea eax, [esp]
push eax
mov ecx, 0x53fdc8
call fcn.0044ce70
test al, al
je 0x47255c
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 0x47255c
lea edx, [esp]
push edx
push 0x557
call fcn.004750b0
push eax
call fcn.004ac840
add esp, 8
mov ecx, dword [esp + 0x1050]
xor ecx, esp
call fcn.004c0c62
add esp, 0x1054
ret
Function at 0x474ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x418
mov eax, dword [0x4eb984]
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 [0x51f7e4]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x51f7e4]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x51f7e4]
push esi
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.004c1d07
mov edi, eax
add esp, 4
test edi, edi
jne 0x474d59
mov dword [ebx], eax
jmp 0x474e99
push esi
push ebp
push edi
call fcn.004c1de0
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.004746c0
mov ebp, dword [esp + 0x1c]
test al, al
je 0x474de0
mov ecx, edi
test bl, bl
je 0x474da6
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 0x474e03
mov eax, 2
jmp 0x474e20
mov eax, edx
lea esi, [eax + 2]
jmp 0x474e10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474e10
sub eax, esi
sar eax, 1
inc eax
lea edx, [edx + eax*2]
mov ecx, 0xffff
cmp word [edx], cx
jne 0x474e34
mov eax, 2
jmp 0x474e50
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474e40
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.004744f0
lea eax, [esp + 0x24]
push eax
call fcn.004c2b4c
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
cmp ebp, 0x64
jne 0x474e97
cmp dword [esp + 0x10], ebp
jne 0x474e97
push edi
call fcn.004c1404
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.004c0c62
add esp, 0x418
ret 8