joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413380
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
mov edi, ecx
xor ecx, ecx
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
lea eax, [ecx + 0x20]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00411640
push ebx
mov eax, 8
lea ecx, [esp + 0x18]
call fcn.00411640
lea eax, [esp + 0x70]
push eax
lea esi, [esp + 0x1c]
call fcn.004116f0
add esp, 0xc
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.00413b10
push 2
push str._04x
call fcn.00408570
add esp, 8
push 2
push 0x42d53c
push edi
call fcn.00405be0
push 1
push 0x42d548
push edi
call fcn.00405be0
mov ecx, ebx
mov eax, ebp
call fcn.00413a70
test eax, eax
mov edx, 0x42d544
jne 0x413444
mov edx, 0x42d548
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413450
sub eax, esi
sar eax, 1
push eax
push edx
push edi
call fcn.00405be0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00416130
add esp, 0x78
ret 8

Function at 0x413480
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.InterfaceBC40FFCF_BD8B_423d_882A_DEE82FE3315B
push 0x80000000
mov dword [esp + 0x14], 0
call dword [0x42b020]
test eax, eax
jne 0x4134f4
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push esi
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x42d7e0
push eax
mov esi, eax
mov dword [esp + 0x20], 0x20
call dword [0x42b018]
test eax, eax
jne 0x4134e0
cmp dword [esp + 0x10], 3
je 0x41352e
push edi
call dword [0x42b100]
test eax, eax
je 0x413514
call fcn.004014c0
mov edi, eax
jmp 0x413519
call dword [0x42b100]
test eax, eax
je 0x413509
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x413524
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x413539
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x413550
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.InterfaceBC40FFCF_BD8B_423d_882A_DEE82FE3315B
push 0x80000000
mov dword [esp + 0x24], 0
call dword [0x42b014]
test eax, eax
jne 0x4135b9
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 4]
push 0x20
push edx
push 3
push eax
push 0x42d7e0
push esi
call dword [0x42b010]
test eax, eax
je 0x4135f3
push edi
call dword [0x42b100]
test eax, eax
je 0x4135d9
call fcn.004014c0
mov edi, eax
jmp 0x4135de
call dword [0x42b100]
test eax, eax
je 0x4135ce
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x4135e9
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x4135fe
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4

Function at 0x413680
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.Interface9265A09B_A9C1_44ba_B65B_FEEC1FCA4C05
push 0x80000000
mov dword [esp + 0x14], 0
call dword [0x42b020]
test eax, eax
jne 0x4136f4
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push esi
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x42d7e0
push eax
mov esi, eax
mov dword [esp + 0x20], 8
call dword [0x42b018]
test eax, eax
jne 0x4136e0
cmp dword [esp + 0x10], 3
je 0x41372e
push edi
call dword [0x42b100]
test eax, eax
je 0x413714
call fcn.004014c0
mov edi, eax
jmp 0x413719
call dword [0x42b100]
test eax, eax
je 0x413709
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x413724
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x413739
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4

Function at 0x413750
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.Interface9265A09B_A9C1_44ba_B65B_FEEC1FCA4C05
push 0x80000000
mov dword [esp + 0x24], 0
call dword [0x42b014]
test eax, eax
jne 0x4137b9
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 4]
push 8
push edx
push 3
push eax
push 0x42d7e0
push esi
call dword [0x42b010]
test eax, eax
je 0x4137f3
push edi
call dword [0x42b100]
test eax, eax
je 0x4137d9
call fcn.004014c0
mov edi, eax
jmp 0x4137de
call dword [0x42b100]
test eax, eax
je 0x4137ce
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x4137e9
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x4137fe
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x413d60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x429248
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [0x434b54]
mov edx, dword [eax + 0xc]
mov ecx, 0x434b54
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], 0
call fcn.00405e30
test edi, edi
jne 0x413daf
xor eax, eax
jmp 0x413dc3
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413db4
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
mov eax, esi
call fcn.00406120
push edi
mov dword [esi + 4], 0
call dword [0x42b270]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x429bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 2
xor edi, edi
push edi
push edi
push 0x42b3cc
mov dword [esp + 0x24], eax
mov esi, 0x80004005
call dword [0x42b234]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x414901
mov dword [esp + 0x10], edi
jmp 0x414870
mov ecx, 7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x88], 1
call fcn.00414be0
mov ebx, eax
cmp ebx, 1
je 0x4148e7
cmp ebx, edi
jl 0x4148f4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
add esi, 0x1c
call fcn.00414e50
lea esi, [esp + 0x1c]
call fcn.0040b5b0
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x18]
jmp 0x414870
lea esi, [esp + 0x1c]
call fcn.0040b5b0
mov eax, edi
jmp 0x414903
lea esi, [esp + 0x1c]
call fcn.0040b5b0
mov eax, ebx
jmp 0x414903
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00416130
mov esp, ebp
pop ebp
ret 4
Function at 0x401730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov ecx, 0xa
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
xor edi, edi
pop esi
pop ecx
mov dword [0x402418], esi
push edi
dec ecx
jne 0x40174f
lea eax, [ebp - 0x30]
push eax
mov edx, dword [0x402418]
mov dword [ebp - 0x20], edx
lea ecx, str.contents
mov dword [ebp - 0xc], ecx
lea eax, section..text
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x402418]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x66
push dword [0x402418]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x402418]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402428], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402428]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401819
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401800
pop ebp
ret 0x10
Function at 0x408945
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov ebx, dword [esp]
add esp, 4
sub edi, edi
call fcn.00408979
add edi, 0xde92e12c
or edi, edi
xor dword [ecx], ebx
add esi, 0x30efdf3c
mov esi, 0x927e60ae
inc ecx
add edi, 0x55f500bc
cmp ecx, eax
jne fcn.00408945
ret

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x405a70
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
push ebx
push esi
xor esi, esi
cmp dword [0x4b3e88], 0x400
push edi
jne 0x405ae7
push esi
call fcn.00405ea9
pop ecx
push esi
call fcn.00406092
pop ecx
push esi
push esi
call fcn.004063b2
push esi
push esi
push esi
call fcn.004067d9
add esp, 0x10
mov dword [esp], esi
call fcn.004054aa
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405487
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405464
fstp st(0)
push esi
call fcn.0040688f
pop ecx
push esi
push esi
call fcn.00405f37
pop ecx
pop ecx
mov eax, dword [0x4a9dd4]
mov dword [0x4b3e88], eax
mov eax, dword [0x4a9dac]
mov dword [0x4b3e8c], eax
call fcn.004057a8
mov dword [esp + 0x10], esi
mov ebx, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [esp + 0x1c], esi
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp dword [esp + 0x10], ebx
jle 0x405b56
cmp dword [esp + 0x18], 0x785074d5
jne 0x405b64
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x1c1b
jl 0x405b09
xor edi, edi
push esi
lea eax, [esp + 0x34]
push eax
push esi
push 0x4051e4
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [esp + 0x14]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
cmp edi, ebx
jle 0x405b95
cmp dword [esp + 0x18], 0x785074d5
jne 0x405b9e
inc edi
cmp edi, 0x11915
jl 0x405b66
mov eax, dword [0x4b2dd8]
mov dword [0x4b341c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407200
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8118]
jne 0x40720a
repz ret
jmp fcn.0040c222
Function at 0x40bf45
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.00409ece
and dword [ebp - 4], 0
cmp dword [0x4aa68c], 0
mov ebx, eax
jne 0x40bff6
push 0x4025b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c0a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4025a4
push edi
call esi
test eax, eax
je 0x40c0a7
push eax
call fcn.00409e5c
mov dword [esp], 0x402594
push edi
mov dword [0x4aa68c], eax
call esi
push eax
call fcn.00409e5c
mov dword [esp], 0x402580
push edi
mov dword [0x4aa690], eax
call esi
push eax
call fcn.00409e5c
mov dword [esp], 0x402564
push edi
mov dword [0x4aa694], eax
call esi
push eax
call fcn.00409e5c
pop ecx
mov dword [0x4aa69c], eax
test eax, eax
je 0x40bff6
push 0x40254c
push edi
call esi
push eax
call fcn.00409e5c
pop ecx
mov dword [0x4aa698], eax
mov eax, dword [0x4aa698]
cmp eax, ebx
je 0x40c04e
cmp dword [0x4aa69c], ebx
je 0x40c04e
push eax
call fcn.00409ed7
push dword [0x4aa69c]
mov esi, eax
call fcn.00409ed7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c04e
test edi, edi
je 0x40c04e
call esi
test eax, eax
je 0x40c045
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c045
test byte [ebp - 0xc], 1
jne 0x40c04e
or dword [ebp + 0x10], 0x200000
jmp 0x40c087
mov eax, dword [0x4aa690]
cmp eax, ebx
je 0x40c087
push eax
call fcn.00409ed7
pop ecx
test eax, eax
je 0x40c087
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c087
mov eax, dword [0x4aa694]
cmp eax, ebx
je 0x40c087
push eax
call fcn.00409ed7
pop ecx
test eax, eax
je 0x40c087
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4aa68c]
call fcn.00409ed7
pop ecx
test eax, eax
je 0x40c0a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c0a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40100b
Capabilities:
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x4010ad
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x40102e
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011b8
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401048
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011b8
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x401134
mov word [ebx], 0x5c
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011b8
mov dword [ebp - 0x108], eax
push 0x401023
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x4011ad
push 0x3e8
call eax
test eax, eax
je 0x4011ad
push eax
push 0x40
push 0x3000
push 0x10000
push 0
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
je 0x40119a
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x4010a7]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40108c]
jmp 0x4011be
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
lea eax, [0x40104d]
push 0x10
push 0x4010a7
push eax
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4010f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401109
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401144
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401140
lea ebx, [ebx]
cmp esi, eax
jae 0x401144
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401130
cmp esi, eax
jb 0x40114a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4036b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x44fb08
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x466a78]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0
mov dword [esi], eax
call fcn.004028c0
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
call fcn.004028c0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esi + 0x10]
call fcn.004028c0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esi + 0x14]
call fcn.004028c0
lea eax, [esp + 0x30]
push eax
lea ecx, [esi + 0x18]
call fcn.004028c0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x20], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x24], edx
call fcn.00401e10
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x28

Function at 0x403760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44fb38
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x466a78]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x14], 0
call fcn.004028c0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.004028c0
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 8]
call fcn.004028c0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
lea ecx, [esp + 0x18]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
call fcn.00401f50
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x20
Function at 0x403860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44fb98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x466a78]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x28
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x40], 0
call fcn.00402330
lea ecx, [esi + 0x78]
call fcn.004036b0
lea ecx, [esp + 0x1c]
call fcn.00401e10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x409650
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call fcn.0041c7f7
push 0x400
mov dword [esi + 4], 0
call fcn.0041c7f2
add esp, 8
mov dword [esi + 4], eax
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x409683
xor eax, 0xedb88320
test al, 1
je 0x409690
shr eax, 1
xor eax, 0xedb88320
jmp 0x409692
shr eax, 1
test al, 1
je 0x40969f
shr eax, 1
xor eax, 0xedb88320
jmp 0x4096a1
shr eax, 1
test al, 1
je 0x4096ae
shr eax, 1
xor eax, 0xedb88320
jmp 0x4096b0
shr eax, 1
test al, 1
je 0x4096bd
shr eax, 1
xor eax, 0xedb88320
jmp 0x4096bf
shr eax, 1
test al, 1
je 0x4096cc
shr eax, 1
xor eax, 0xedb88320
jmp 0x4096ce
shr eax, 1
test al, 1
je 0x4096db
shr eax, 1
xor eax, 0xedb88320
jmp 0x4096dd
shr eax, 1
test al, 1
je 0x4096ea
shr eax, 1
xor eax, 0xedb88320
jmp 0x4096ec
shr eax, 1
mov edx, dword [esi + 4]
mov dword [edx + ecx*4], eax
add ecx, 1
cmp ecx, 0x100
jl 0x409675
pop esi
ret
Function at 0x409890
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.0043bd30
push 0xffffffffffffffff
push 0x450360
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x466a78]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x1010]
mov eax, dword [ebp + 0x100c]
xor ebx, ebx
mov dword [edi], 0xffffffff
cmp dword [ecx + 4], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 4], ebx
jne 0x409924
push 0x45eaa0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0043b55a
mov dword [ebp - 0x1c], 0x17
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4099e0
ret
push ebx
push 0x8000027
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x30], esi
jne 0x409966
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp esi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x4099e3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4099e3
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
lea ecx, [ebp - 0x14]
push ecx
push 0x1000
lea edx, [ebp]
push edx
push esi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x40994e
cmp dword [ebp - 0x14], ebx
je 0x40994e
push esi
push edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebx + 4]
lea esi, [ebp]
mov ebx, dword [ebp - 0x14]
lea edx, [esi + ebx]
xor eax, eax
mov bl, byte [esi]
mov al, cl
inc esi
xor al, bl
shr ecx, 8
mov ebx, dword [edi + eax*4]
xor ecx, ebx
cmp edx, esi
jne 0x4099a5
pop edi
pop esi
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov esi, dword [ebp - 0x30]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x1000
lea ecx, [ebp]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [ebp - 0x18]
jmp 0x409986
mov eax, dword [edi]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x28]
push edx
not eax
push ecx
mov ecx, dword [ebp - 0x20]
push eax
mov dword [edi], eax
call fcn.00409750
cmp eax, 0x17
mov eax, 0x17
je 0x409a07
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [edi], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0043b96b
add ebp, 0x1004
mov esp, ebp
pop ebp
ret 8
Function at 0x40a1f0
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
mov eax, dword [0x466a78]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, dword [esp + 0x10c]
mov cl, byte [esi]
push edi
or edi, 0xffffffff
xor eax, eax
test cl, cl
je 0x40a24f
cmp cl, 0x5c
jne 0x40a21f
mov edi, eax
mov cl, byte [esi + eax + 1]
add eax, 1
test cl, cl
jne 0x40a218
test edi, edi
jle 0x40a24f
push edi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0043bf50
lea ecx, [esp + 0x14]
add esp, 0xc
push ecx
mov byte [esp + edi + 0xc], 0
call fcn.0040a1f0
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.0043b96b
add esp, 0x104
ret