joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4142a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x475aa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x40c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 0x408], esi
push edi
test eax, eax
je 0x4144af
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4142f2
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov ecx, 2
imul ecx
mov edi, eax
test edx, edx
jg 0x4144af
jl 0x414323
cmp edi, 0x7fffffff
ja 0x4144af
cmp edx, 0xffffffff
jl 0x4144af
jg 0x41433a
cmp edi, 0x80000000
jb 0x4144af
cmp edi, 0x400
jg 0x414360
push edi
call fcn.00416be0
add esp, 4
test al, al
je 0x414360
mov eax, edi
call fcn.0041e530
mov ebx, esp
mov dword [ebp - 0x410], esp
jmp 0x41438e
mov eax, edi
not eax
cmp eax, 8
jb 0x4144fb
lea eax, [edi + 8]
push eax
call fcn.0043b169
add esp, 4
test eax, eax
je 0x4144af
lea ebx, [eax + 8]
mov dword [eax], esi
mov esi, eax
mov dword [ebp - 0x410], ebx
test ebx, ebx
je 0x4144af
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x414]
mov byte [ebx], 0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4144af
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push 0x60
push 0
push ebx
call edi
mov ebx, eax
test ebx, ebx
jne 0x4143e9
push 2
push eax
push dword [ebp - 0x410]
call edi
mov ebx, eax
test ebx, ebx
jne 0x4143e9
call fcn.0040e000
mov edi, eax
jmp 0x4144b4
push dword [ebp - 0x418]
push dword [ebp - 0x40c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41440c
call fcn.0040e000
jmp 0x4144a0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40c], eax
test eax, eax
jne 0x414425
call fcn.0040e000
jmp 0x4144a0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x41443d
mov edi, 0x8007000e
jmp 0x4144a2
cmp eax, 0x400
jbe 0x414460
push eax
lea ecx, [ebp - 0x408]
call fcn.0040de70
cmp dword [ebp - 0x408], 0
jne 0x41446c
mov edi, 0x8007000e
jmp 0x4144a2
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], eax
push edi
push dword [ebp - 0x40c]
push edi
push dword [ebp - 0x408]
call fcn.00416d30
mov eax, dword [ebp - 0x408]
lea ecx, [ebp - 0x420]
add esp, 0x10
mov byte [eax + edi], 0
push dword [ebp + 0x14]
push dword [ebp - 0x408]
call fcn.00413e90
mov edi, eax
test ebx, ebx
je 0x4144b4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4144b4
mov edi, 0x8007000e
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x4144cd
lea ecx, [ebp - 0x408]
call fcn.0040fb00
test esi, esi
je 0x4144e0
push esi
mov esi, dword [esi]
call fcn.0043b14e
add esp, 4
test esi, esi
jne 0x4144d1
mov eax, edi
lea esp, [ebp - 0x42c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041de32
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040e0c0
int3
Function at 0x41a340
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
xor edx, edx
mov eax, 4
test esi, esi
cmove edx, eax
push edx
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
lea ecx, [edi + 0x3c]
test esi, esi
push 0
sete al
push eax
push 0xe801
call fcn.0041a5e0
push 1
mov ecx, edi
call fcn.00415a30
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x41ef44
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41ef83
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ef83
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ef83
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41ef83
cmp dword [ecx + 0x74], 0xe
jbe 0x41ef83
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44c65e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c01c

Function at 0x44c9f8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044c8cc

Function at 0x45e6f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45e71d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45e71d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401443
pop dword [ebp - 0x40]
mov eax, 0xf43447c6
add eax, 0xc0bcc7d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x979ba07d
sub dword [ebp - 0x50], 0x49495b32
mov dword [ebp - 0x4c], 0x79023ae7
sub dword [ebp - 0x4c], 0x46ceeea2
mov dword [ebp - 0x48], 0xd5b258c4
add dword [ebp - 0x48], 0x7699eb6a
mov dword [ebp - 0x44], 0x91002767
add dword [ebp - 0x44], 0x6effd899
lea eax, [ebp - 0x50]
push eax
mov eax, 0xf1a21755
sub eax, 0xf16196dd
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x12a75fb3
add dword [ebp - 0x50], 0x61cb09a3
mov dword [ebp - 0x4c], 0x144a0c3c
sub dword [ebp - 0x4c], 0xd2ddaac7
mov dword [ebp - 0x48], 0x9a5167d3
sub dword [ebp - 0x48], 0x36e1fb67
mov dword [ebp - 0x44], 0x3c2ebd1b
add dword [ebp - 0x44], 0xc3d142e5
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x239807ff
sub eax, 0x23578783
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3ab7d
push 0
call eax
mov ecx, 0x515e
mov esi, eax
mov edi, 0xc65e9ac1
add edi, 0x39e6e73f
add edi, dword [ebp - 0x40]
mov ebx, 0x21e03a59
sub ebx, 0x1b78e8d5
mov edx, dword [edi]
add edx, ebx
mov dword [esi], edx
xor dword [ebp - 0x24], 0x9375a446
add esi, 0x3c766934
sub esi, 0x3c766930
add edi, 0x4ae04516
sub edi, 0x4ae04512
loop 0x40155f
add eax, 0x1384b
xor ebx, ebx
add ebx, eax
add eax, 0x1297560b
sub eax, 0x12975606
mov ecx, 0x7780baa1
add ecx, 0x88bf455f
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x1014008c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019c258]
jne 0x10140096
repz ret
jmp fcn.101424c8

Function at 0x101438c0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1013eca6
and dword [ebp - 4], 0
cmp dword [0x1019df78], 0
mov ebx, eax
jne 0x10143971
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10143a22
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10143a22
push eax
call fcn.1013ec34
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019df78], eax
call esi
push eax
call fcn.1013ec34
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019df7c], eax
call esi
push eax
call fcn.1013ec34
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019df80], eax
call esi
push eax
call fcn.1013ec34
pop ecx
mov dword [0x1019df88], eax
test eax, eax
je 0x10143971
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1013ec34
pop ecx
mov dword [0x1019df84], eax
mov eax, dword [0x1019df84]
cmp eax, ebx
je 0x101439c9
cmp dword [0x1019df88], ebx
je 0x101439c9
push eax
call fcn.1013ecaf
push dword [0x1019df88]
mov esi, eax
call fcn.1013ecaf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101439c9
test edi, edi
je 0x101439c9
call esi
test eax, eax
je 0x101439c0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101439c0
test byte [ebp - 0xc], 1
jne 0x101439c9
or dword [ebp + 0x10], 0x200000
jmp 0x10143a02
mov eax, dword [0x1019df7c]
cmp eax, ebx
je 0x10143a02
push eax
call fcn.1013ecaf
pop ecx
test eax, eax
je 0x10143a02
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10143a02
mov eax, dword [0x1019df80]
cmp eax, ebx
je 0x10143a02
push eax
call fcn.1013ecaf
pop ecx
test eax, eax
je 0x10143a02
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019df78]
call fcn.1013ecaf
pop ecx
test eax, eax
je 0x10143a22
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10143a24
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10145485
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1019b9f0], 0
mov byte [0x1019b9f4], 0
mov dword [0x1019b9ec], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101454db
xor eax, eax
mov ecx, 0x25fd
mov dword [0x1019b9ec], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x1014550d
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1019b9e4], 0x25fd
mov eax, dword [0x1019b9ec]
add eax, 1
mov dword [0x1019b9ec], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101454db
jmp 0x101454c2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1019b9f8], 0
mov edi, dword [ebp - 0x28]
add edi, 0xfffff560
mov ebx, dword [0x1019b9f0]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x1019b9f8], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1019b9f0], edx
mov dword [0x1019b9e4], edi
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x1019b9f4], bl
mov dword [0x1019b9e8], 0x21ee
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x1019b9f4]
mov ecx, dword [0x1019b9f0]
mov byte [edi + ecx], bl
mov ecx, dword [0x1019b9e4]
add ecx, 0xfffff153
mov dword [0x1019b9e4], ecx
mov edx, dword [0x1019b9ec]
add edx, 1
mov dword [0x1019b9ec], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x1014550d
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101455d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1019b9e4]
add esi, 0xffffeeb0
mov dword [0x1019b9e4], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10145646
lea eax, [ebp - 0x24]
mov dword [0x1019b9e8], 0x19f0
mov dword [ebp - 0x34], eax
call fcn.101453d1
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10145054
xor ecx, ecx
mov dword [0x1019b9e8], 0x22ca
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x10145714
jmp 0x10145672
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1018a598]
mov dh, byte [eax + 0x1018a569]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x10145603
jmp 0x10145646
mov dword [0x1019b9e4], 0x16e2
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10145b60
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1019b9e8], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1019b9e4], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x30], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x10145714
mov dword [0x1019b9e8], 0x20b8
mov eax, dword [ebp - 0x40]
add eax, 0x2689
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x10145a46
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1019b9e8], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1019b9e4], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10145ab1
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10145a84
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10145b51
mov dword [0x1019b9e8], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10145b51
mov dword [0x1019b9e4], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10145b51
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10145b51
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10145b51
mov dword [0x1019b9e8], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10145b51
mov eax, 1
mov dword [0x1019b9e4], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10145b58
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10145b58
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10145f54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101461c3
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10145f90
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1019b9e4], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1019b9e8], 0x241c
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101460c4
jmp 0x10146004
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x1014608c
jmp 0x1014605f
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
jmp 0x10146040
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x50]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x30], eax
jae 0x101460c4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x10145fd5
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x10145fd5
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10146095
jmp 0x10146018
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1019b9e8], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x1019b9e4], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10146337
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1019b9ec], 0
mov dword [0x1019b9f0], 0
mov dword [0x1019b9fc], 0
mov ebx, dword [0x1019b9e4]
add ebx, 0xffffec41
mov dword [0x1019b9e8], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10146481
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1019b9ec], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1019b9f0], edx
mov dword [0x1019b9e8], 0x63e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x1019b9f4], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1019b9f4]
mov edx, dword [0x1019b9f0]
mov byte [ebx + edx], cl
mov edx, dword [0x1019b9ec]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1019b9f0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1019b9fc], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x1019b9e8], 0xff5
mov dword [0x1019b9e4], 0xc9e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x10146481
mov eax, dword [0x1019b9ec]
mov ecx, dword [0x1019b9f0]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x101463a2
mov dword [0x1019b9e8], 0x22fd
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10146493
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x1019b9e4]
mov esi, edx
add esi, 0xffffddef
mov dword [0x1019b9e8], esi
add edx, 0xfffff1ae
mov dword [0x1019b9e4], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10145c7a
lea ecx, [0x101451ae]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], 0x14a200
mov edx, dword [0x1019b9d0]
mov dword [esp + 0x44], edx
mov edx, dword [0x1019b9d4]
mov dword [esp + 0x40], edx
mov dword [0x1019b9e4], 0x1a6c
mov edx, dword [0x1019b9d8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1019b9dc]
mov dword [esp + 0x70], edx
mov edx, dword [0x1019b9e0]
mov dword [esp + 0x34], edx
mov edx, dword [0x1019b9e8]
add edx, 0xc86
mov dword [0x1019b9e8], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101465bd
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101455d7
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1019b9e8], 0xd4a
mov dword [esp + 0x10], eax
jmp 0x101465f4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [0x1019b9e8], 0x8e8
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], edx
mov dword [0x1019b9e4], 0x1277
call fcn.10145a46
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x10146548
jmp 0x101465f4
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x101465e0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10146581
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101465bd
mov eax, dword [esp + 0x10]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x424d4a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x525835
call fcn.0050cf19
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x424d6f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x424dc1
call fcn.0041ae8c
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d8d0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050ca4d
push eax
call fcn.00401010
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012b0
mov eax, esi
call fcn.0050cff1
ret 8

Function at 0x428285
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5896f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4282ba
xor eax, eax
jmp 0x42830d
lea eax, [ebp - 0x210]
push eax
call fcn.0050cb1a
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4282eb
push 0x55d2ac
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f07c
add esp, 0xc
test eax, eax
jne 0x4282b6
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f07c
add esp, 0xc
test eax, eax
jne 0x4282b6
lea eax, [ebp - 0x210]
push eax
call fcn.00415a00
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050baf1
leave
ret

Function at 0x453c72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x453c8c
call fcn.00420a03
mov esi, dword [eax + 0xc]
push dword [0x58de98]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x453caa
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x453ca2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x453cd7
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x453ca4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00453ba0
mov esi, eax
jmp 0x453cc9

Function at 0x487790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00418ae5
call fcn.00415a86
cmp eax, esi
pop esi
jne 0x4877ac
mov ecx, 0x58ce50
jmp fcn.00428e9f
ret