joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43218a
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret

Function at 0x432c88
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, eax
push edi
lea edi, [esi + 4]
mov eax, edi
call fcn.0041179d
test al, al
je 0x432c9f
pop edi
xor al, al
pop esi
ret
push 0xc
call fcn.00437407
test eax, eax
pop ecx
je 0x432cb5
push esi
mov esi, eax
call fcn.00433efb
jmp 0x432cb7
xor eax, eax
push ebx
mov ebx, eax
call fcn.00432d51
mov eax, edi
call fcn.00433ab5
pop ebx
pop edi
pop esi
jmp 0x433fa6
push esi
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x433fb4
xor al, al
pop esi
ret
push edi
lea edi, [eax + 0x20]
test edi, edi
je 0x433fc3
mov eax, edi
call fcn.0042b648
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x43402a
mov eax, esi
call fcn.00433f9c
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x433d9f
push 0
push 0
call fcn.00448f92
mov ecx, dword [esi + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
add esp, 0x18
cmp dword [eax + 0x10], 0
je 0x43401d
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
add eax, 0x24
call fcn.00434170
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x434039
call fcn.00433fa1
mov esi, dword [esi + 8]
call fcn.00433e67
test edi, edi
je 0x434035
mov eax, edi
call fcn.0042b656
xor al, al
jmp 0x434046
test edi, edi
je 0x434044
mov eax, edi
call fcn.0042b656
mov al, 1
pop edi
pop esi
ret
Function at 0x434984
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x44c68c
call fcn.0043b500
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x434a96
cmp byte [esi + 0x42], bl
je 0x434a96
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp ax, di
jne 0x4349c0
xor al, al
jmp 0x434a98
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0043495e
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004056be
mov ecx, eax
call fcn.0043428b
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004056be
mov ecx, eax
call fcn.0043428b
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x434a30
dec eax
je 0x434a34
dec eax
dec eax
je 0x434a92
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004029cc
mov al, bl
jmp 0x434a98
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004056be
mov ecx, eax
call fcn.0043428b
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x434a74
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004056be
mov ecx, eax
call fcn.0043428b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043c157
add esp, 0x10
cmp edi, eax
jne 0x434a1e
cmp byte [esi + 0x42], 0
je 0x434a92
test edi, edi
jne 0x4349ce
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00404d1e
jmp 0x4349ce
mov bl, 1
jmp 0x434a20
mov al, 1
call fcn.0043b583
ret

Function at 0x436edd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b87c]
jne 0x436ee7
repz ret
jmp fcn.0043e533
Function at 0x43e953
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x45b898]
je 0x43e96e
inc edi
cmp edi, 0x17
jb 0x43e95f
cmp edi, 0x17
jae 0x43eaee
push ebp
push 3
call fcn.00446bd1
cmp eax, 1
pop ecx
je 0x43eaba
push 3
call fcn.00446bd1
test eax, eax
pop ecx
jne 0x43e9a2
cmp dword [0x45b430], 1
je 0x43eaba
cmp ebx, 0xfc
je 0x43eaed
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45ff60
push ebp
call fcn.00443000
add esp, 0xc
test eax, eax
je 0x43e9d8
push esi
push esi
push esi
push esi
push esi
call fcn.004375b5
add esp, 0x14
push 0x104
mov esi, 0x45ff79
push esi
push 0
mov byte [0x46007d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ea1c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00443000
add esp, 0xc
test eax, eax
je 0x43ea1c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004375b5
add esp, 0x14
push esi
call fcn.00437520
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43ea61
push esi
call fcn.00437520
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x460274
push 0x44e47c
sub ecx, eax
push ecx
push eax
call fcn.004458e9
add esp, 0x14
test eax, eax
je 0x43ea61
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004375b5
add esp, 0x14
jmp 0x43ea63
xor esi, esi
push 0x44e478
push ebx
push ebp
call fcn.00445878
add esp, 0xc
test eax, eax
je 0x43ea83
push esi
push esi
push esi
push esi
push esi
call fcn.004375b5
add esp, 0x14
push dword [edi*8 + 0x45b89c]
push ebx
push ebp
call fcn.00445878
add esp, 0xc
test eax, eax
je 0x43eaa5
push esi
push esi
push esi
push esi
push esi
call fcn.004375b5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00446a14
add esp, 0xc
jmp 0x43eaed
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43eaed
cmp ebp, 0xffffffff
je 0x43eaed
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x45b89c]
push dword [esi]
call fcn.00437520
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x446a14
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043ec06
xor ebx, ebx
cmp dword [0x460558], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x446aea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x446bca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x446bca
push eax
call fcn.0043eb98
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x460558], eax
call esi
push eax
call fcn.0043eb98
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46055c], eax
call esi
push eax
call fcn.0043eb98
mov dword [0x460560], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043e6e0
test eax, eax
pop ecx
pop ecx
je 0x446ab8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004375b5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x446aea
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043eb98
cmp eax, ebx
pop ecx
mov dword [0x460568], eax
je 0x446aea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043eb98
pop ecx
mov dword [0x460564], eax
mov eax, dword [0x460564]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x446b6f
cmp dword [0x460568], ecx
je 0x446b6f
push eax
call fcn.0043ec0f
push dword [0x460568]
mov esi, eax
call fcn.0043ec0f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x446b6f
cmp edi, ebx
je 0x446b6f
call esi
cmp eax, ebx
je 0x446b3c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446b3c
test byte [ebp - 0x18], 1
jne 0x446b6f
lea eax, [ebp - 0x10]
push eax
call fcn.0043e717
test eax, eax
pop ecx
je 0x446b57
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004375b5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x446b66
or dword [ebp + 0x10], 0x200000
jmp 0x446baa
or dword [ebp + 0x10], 0x40000
jmp 0x446baa
mov eax, dword [0x46055c]
cmp eax, dword [ebp - 8]
je 0x446baa
push eax
call fcn.0043ec0f
cmp eax, ebx
pop ecx
je 0x446baa
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x446baa
mov eax, dword [0x460560]
cmp eax, dword [ebp - 8]
je 0x446baa
push eax
call fcn.0043ec0f
cmp eax, ebx
pop ecx
je 0x446baa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460558]
call fcn.0043ec0f
cmp eax, ebx
pop ecx
je 0x446bca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446bcc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407c10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea edx, [ebp - 0x3f4]
push edx
push 0x20019
push 0
push str.TypeLib
push SysReAllocStringLen
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x400], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push SysReAllocStringLen
mov esi, eax
call edi
test esi, esi
je 0x407c77
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455b03
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x3f4]
lea eax, [ebp - 0x3f0]
push eax
push 0x20019
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp - 0x3f4]
push edx
mov esi, eax
call edi
test esi, esi
jne 0x407c65
mov edx, dword [ebp - 0x3f0]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
push ecx
push esi
push edx
mov dword [ebp - 0x3f8], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
mov eax, dword [ebp - 0x3f0]
push eax
call edi
test esi, esi
jne 0x407c65
mov ecx, dword [ebp - 0x400]
mov edx, dword [ebp - 0x3fc]
push ecx
push edx
lea eax, [ebp - 0x3ec]
push str._d._d
push eax
call fcn.00456c45
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00455b03
mov esp, ebp
pop ebp
ret
Function at 0x407d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x271c
call fcn.0046d2f0
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x270f
push eax
lea eax, [ebp - 0x2714]
push eax
mov esi, ecx
mov ebx, edx
mov byte [ebp - 0x2715], 0
call fcn.00456d10
add esp, 0xc
test esi, esi
je 0x407d97
push edi
lea edi, [ebp - 0x2714]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407d58
mov cx, word [0x47ce48]
mov eax, esi
mov word [edi], cx
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407d70
lea edi, [ebp - 0x2714]
sub eax, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407d80
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0
lea edx, [ebp - 0x271c]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x2714]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x407e39
test ebx, ebx
je 0x407df3
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407dd0
mov ecx, dword [ebp - 0x271c]
sub eax, edx
inc eax
push eax
push ebx
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x407e14
mov edx, dword [ebp - 0x271c]
push edx
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455b03
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x271c]
mov bl, byte [ebp - 0x2715]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455b03
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2715]
pop esi
xor ecx, ebp
pop ebx
call fcn.00455b03
mov esp, ebp
pop ebp
ret

Function at 0x407e50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2714
call fcn.0046d2f0
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x270f
push eax
lea eax, [ebp - 0x2714]
push eax
call fcn.00456d10
add esp, 0xc
lea ecx, [ebp - 0x2714]
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp - 4]
test eax, eax
sete al
xor ecx, ebp
call fcn.00455b03
mov esp, ebp
pop ebp
ret
Function at 0x40cf20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477f0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4934c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov ecx, dword [0x47c288]
mov dword [esi + 0xc], ecx
mov edx, dword [0x47c28c]
mov dword [esi + 0x10], edx
mov ecx, dword [0x47c290]
mov dword [esi + 0x14], ecx
mov edx, dword [0x47c294]
mov dword [esi + 0x18], edx
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [esi + 0x30], edi
cmp edi, ebx
je 0x40cff4
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push esi
push edi
call ecx
cmp eax, ebx
mov eax, dword [esi + 0x30]
jl 0x40cfe5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x30]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
cmp eax, ebx
jl 0x40cff4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esi + 4]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40cff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], ebx
jmp 0x40cff4
cmp eax, ebx
je 0x40cff4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x30], ebx
push 8
call fcn.00455d5d
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x40d025
mov dword [ebx], vtable.tcomxTypeHandler.0
mov dword [ebx + 4], edi
test edi, edi
je 0x40d027
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
jmp 0x40d027
xor ebx, ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x34]
mov ecx, 0x96
mov dword [eax], 0
add eax, 0x10
dec ecx
jne 0x40d032
mov eax, dword [0x4961f8]
mov dword [esi + 0x994], eax
inc eax
mov dword [0x4961f8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x416425
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 0xc]
lea eax, [edx + 5]
push esi
cmp eax, 4
ja case.0x416403.2
jmp dword [eax*4 + 0x4164ac]
mov ecx, dword [ebp + 8]
xor eax, eax
add ecx, 0xffffffc0
cmp edx, 0xfffffffc
sete al
push eax
call fcn.00416b20
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 8]
push eax
call edx
test byte [esi + 0x68], 4
je 0x416461
mov eax, dword [esi + 0x5c]
and dword [esi + 0x68], 0xfffffffb
test eax, eax
je 0x416461
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x416461
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, str.FAIL
test edx, edx
jle 0x41648e
push 0x30b
push 0x495260
call fcn.00415910
add esp, 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x1c
push 0x317
push str.Unrecognized_Negative_verb_in_DoVerb__.__bad.
call fcn.00415910
add esp, 8
mov eax, 0x80004001
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x41b900
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041b7f0
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41b981
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x41b947
mov edx, dword [ebp - 0x18]
push edx
jmp 0x41b97b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043df70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455b03
mov esp, ebp
pop ebp
ret
Function at 0x41c000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
push edi
test esi, esi
jne 0x41c018
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test esi, esi
jne 0x41c036
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x41c02d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41c02d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41c02d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
mov edi, eax
push edi
push edx
call fcn.0041a730
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x47d948
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x42d9f8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42da08
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x18], edi
mov edx, edi
cmp edi, ecx
jb 0x42da48
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0x10]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x42da25
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x42dab6
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x42dab0
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x42da84
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x42daa8
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x42da70
test ecx, ecx
je 0x42daf6
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x42daa8
cmp ecx, 1
jbe 0x42daf6
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x42daa8
cmp ecx, 2
jbe 0x42daf6
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x42daf6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x42da60
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0042f050
add esp, 8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + edx]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x100
jl 0x42d9f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x42dac5
xor cl, 3
mov byte [eax + 5], cl
jmp 0x42dac5
Function at 0x444830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x444886
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x4448f0
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x4448a8
call fcn.00429560
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.0042f120
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.0041e0a0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x4448f9
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.0045cc72
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x44492f
cmp eax, edi
je 0x444880
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x444989
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x444953
call fcn.00429560
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0042f120
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041b2b0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x444a06
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x4449bf.6
jmp dword [eax*4 + 0x444a1c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x4449ef
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x4449ef
mov eax, dword [esi]
call fcn.00427980
jmp 0x4449ef
call fcn.00429790
test eax, eax
je 0x4449ed
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x4449ef
xor eax, eax
test eax, eax
jne 0x444a06
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455b03
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00455b03
mov esp, ebp
pop ebp
ret