joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019e052
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1019e0ef
push ebx
push esi
call fcn.1019e01b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1019dfaf
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1019e09c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1019e0ee
push edi
push eax
call fcn.101964ab
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1019e0bc
call fcn.101958df
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1019e0ed
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1019dfaf
add esp, 0x20
test eax, eax
jne 0x1019e0db
push edi
call fcn.101958df
jmp 0x1019e0e3
push ebx
call fcn.101958df
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1019e0f2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1019e103
pop esi
ret
push ebx
push edi
push esi
call fcn.1019e01b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.101964ab
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1019e12b
push ebx
push esi
push edi
call fcn.1017caa0
add esp, 0xc
push 0
call fcn.101958df
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1019e885
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1019e3a0

Function at 0x101a13dd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10193ed2
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101a144c
cmp esi, dword [ebp - 4]
je 0x101a1447
cmp dword [ebp + 0xc], 0
je 0x101a1447
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x101a1424
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.101a0f2f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x101a144e
xor eax, eax
inc eax
jmp 0x101a144e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x101a14b3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102200c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10193ed2
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10193ed2
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x101a152a
cmp word [ecx], dx
je 0x101a152a
mov eax, dword [0x101f2a84]
push edi
dec eax
push eax
push 0x101f2970
call fcn.101a1452
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x101a159d
cmp word [eax], dx
je 0x101a159d
mov eax, dword [edi]
test eax, eax
je 0x101a154e
cmp word [eax], dx
je 0x101a154e
lea eax, [ebp - 0x10]
push eax
call fcn.101a0e35
jmp 0x101a1557
lea eax, [ebp - 0x10]
push eax
call fcn.101a0ed0
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x101a15c7
mov eax, dword [0x101f296c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101f2660
call fcn.101a1452
add esp, 0xc
test al, al
je 0x101a15c7
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x101a1592
cmp word [eax], di
je 0x101a1592
lea eax, [ebp - 0x10]
push eax
call fcn.101a0e35
pop ecx
jmp 0x101a15c9
lea eax, [ebp - 0x10]
push eax
call fcn.101a0ed0
jmp 0x101a158f
mov eax, dword [edi]
test eax, eax
je 0x101a15b4
cmp word [eax], dx
je 0x101a15b4
lea eax, [ebp - 0x10]
push eax
call fcn.101a0dea
pop ecx
jmp 0x101a15c7
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x101a1692
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.101a12d7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x101a1692
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x101a1692
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x101a1692
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x101a161f
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10195f90
test ebx, ebx
je 0x101a168d
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10195f90
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101a1692
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x101a1692
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1018c074
add esp, 0x10
xor eax, eax
inc eax
jmp 0x101a1694
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10178d42
leave
ret
Function at 0x101a61d3
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.101a614f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101a6342
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101a6342
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101a62f7
jg 0x101a622f
test eax, eax
je 0x101a62ed
push 1
push 0x1000
call fcn.10195882
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x101a6252
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101a62e4
push 0x8000
push ebx
call fcn.101a6080
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x101a627b
jg 0x101a6276
cmp ecx, 0x1000
jb 0x101a627b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101996dd
add esp, 0x10
cmp eax, 0xffffffff
je 0x101a62c0
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x101a6276
jl 0x101a62a7
test ecx, ecx
jne 0x101a6268
push dword [ebp - 0xc]
push ebx
call fcn.101a6080
push esi
call fcn.101958df
add esp, 0xc
xor ebx, ebx
jmp 0x101a6350
cmp byte [edi + 0x24], 0
je 0x101a62d7
cmp dword [edi + 0x20], 5
jne 0x101a62d7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101a62e2
mov ebx, dword [edi + 0x18]
jmp 0x101a62e4
xor ebx, ebx
push esi
call fcn.101958df
pop ecx
jmp 0x101a6350
test ecx, ecx
jg 0x101a62b9
jl 0x101a62f7
test eax, eax
jae 0x101a62b9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1019a871
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101a6317
cmp byte [edi + 0x1c], 0
je 0x101a62b9
jmp 0x101a6348
push ebx
call fcn.10191561
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101a62b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101a6350
cmp byte [edi + 0x1c], 0
je 0x101a634d
mov ebx, dword [edi + 0x18]
jmp 0x101a6350
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1019a871
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101a6e00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101a6e2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101a6e2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x44c449
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5edee0]
jne 0x44c453
repz ret
jmp fcn.0044ea78

Function at 0x44ee00
Capabilities:
Parse pe header

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x44ee16
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44ee12
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
push edx
pop eax
pop ebp
ret

Function at 0x44ee40
Capabilities:
Enumerate pe sections

Disassembly:
push esi
pop esi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
sub edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
je 0x44ee7d
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x44ee75
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x44ee7f
inc edx
add eax, 0x28
cmp edx, esi
jb 0x44ee65
sub eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44f13e
Capabilities:
Terminate process

Disassembly:
push ecx
pop ecx
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0044f015
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
pop esi
ret

Function at 0x452e2e
Capabilities:
Query environment variable

Disassembly:
push eax
pop eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
push eax
pop esi
sub ecx, ecx
cmp esi, ecx
jne 0x452e43
xor eax, eax
pop esi
ret
cmp word [esi], cx
je 0x452e58
add eax, 2
cmp word [eax], cx
jne 0x452e48
add eax, 2
cmp word [eax], cx
jne 0x452e48
push ebx
sub eax, esi
lea ebx, [eax + 2]
push edi
push ebx
call fcn.004529d9
push eax
pop edi
pop ecx
or edi, edi
jne 0x452e79
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
push edi
pop eax
pop edi
pop ebx
pop esi
ret
push ebx
push esi
push edi
call fcn.0044c460
add esp, 0xc
jmp 0x452e6c
Function at 0x456108
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5edee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00451982
and dword [ebp - 0x14], 0
cmp dword [0x5efc54], 0
mov dword [ebp - 0x18], eax
jne 0x4561bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x456263
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x456263
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5efc54], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5efc58], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5efc5c], eax
call edi
push eax
call esi
mov dword [0x5efc64], eax
test eax, eax
je 0x4561bb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5efc60], eax
mov eax, dword [0x5efc60]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x456214
cmp dword [0x5efc64], ecx
je 0x456214
push eax
call esi
push dword [0x5efc64]
push eax
pop edi
call esi
mov ebx, eax
or edi, edi
je 0x456214
or ebx, ebx
je 0x456214
call edi
or eax, eax
je 0x45620b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
or eax, eax
je 0x45620b
test byte [ebp - 8], 1
jne 0x456214
or dword [ebp + 0x10], 0x200000
jmp 0x456247
mov eax, dword [0x5efc58]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
or eax, eax
je 0x456247
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x456247
mov eax, dword [0x5efc5c]
cmp eax, dword [ebp - 0x18]
je 0x456247
push eax
call esi
or eax, eax
je 0x456247
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5efc54]
call esi
or eax, eax
je 0x456263
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x456265
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c449
leave
ret
Function at 0x457d0f
Capabilities:
Clear file content

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00455697
mov dword [ebp - 0x18], eax
and eax, edx
add esp, 0x10
mov dword [ebp - 0x14], edx
cmp eax, 0xffffffff
je 0x457d97
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.00455697
push eax
pop ecx
and ecx, edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x457d97
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
sbb edi, edx
js 0x457e2c
jg 0x457d70
cmp esi, ebx
jbe 0x457e2c
mov ebx, 0x1000
push ebx
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [ebp - 4], eax
or eax, eax
jne 0x457da3
call fcn.0044f1e2
mov dword [eax], 0xc
call fcn.0044f1e2
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
mov dword [ebp - 8], eax
test edi, edi
jl 0x457dc3
jg 0x457dbf
cmp esi, ebx
jb 0x457dc3
push ebx
pop eax
jmp 0x457dc5
push esi
pop eax
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00454353
add esp, 0xc
cmp eax, 0xffffffff
je 0x457e0f
cdq
sub esi, eax
sbb edi, edx
js 0x457de6
jg 0x457db5
test esi, esi
jne 0x457db5
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0045847c
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
sub ebx, ebx
jmp 0x457e95
call fcn.0044f1f5
cmp dword [eax], 5
jne 0x457e24
call fcn.0044f1e2
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x457de9
cmp edi, ebx
jg 0x457ea1
jl 0x457e36
cmp esi, ebx
jae 0x457ea1
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
push dword [ebp + 8]
call fcn.00456bb7
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
mov dword [ebp - 0xc], edx
cmp eax, 0xffffffff
jne 0x457ea1
call fcn.0044f1e2
mov dword [eax], 0xd
call fcn.0044f1f5
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x457d97
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.00455697
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x457d97
sub eax, eax
jmp 0x457d9e
Function at 0x401110
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 0x401129
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401164
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401160
lea ebx, [ebx]
cmp esi, eax
jae 0x401164
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401150
cmp esi, eax
jb 0x40116a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ddfb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
call fcn.0041a118
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x402f29
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
push edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
push 0x44197f
mov ecx, ebx
mov dword [esp + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.00401aa0
or eax, 0xffffffff
push edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov dword [esi + 8], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi], edi
call fcn.0042907c
push edi
call fcn.0042907c
push edi
call fcn.0042907c
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x404060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43e046
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CIRDeleteFiles.0
lea ebx, [esi + 4]
call fcn.0041a118
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4040b0
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x20], edi
lea ebp, [esi + 0x2c]
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4040df
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 1
call fcn.00403d30
mov ecx, ebx
call fcn.00401600
mov ebx, 1
mov ecx, ebp
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], edi
call fcn.00401600
mov dword [esi + 0x20], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x24], 0x32
mov dword [esi + 0x58], ebx
mov dword [esi + 0x28], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x404150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e086
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CIRDeleteFiles.0
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.00401ef0
mov eax, dword [esi + 0x2c]
sub eax, 0x10
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 4]
sub esi, 0x10
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041d9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x406a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp method.CDialog.virtual_332
push 0x24
mov eax, 0x43fc2d
call fcn.0042cbf9
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041a00a
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41d1a1
call fcn.0041a00a
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41d1b2
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41d1bf
or eax, 0xffffffff
jmp 0x41d31c
mov ecx, esi
call fcn.0041cccc
mov dword [ebp - 0x14], eax
call fcn.0042128d
and dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x14], ebx
je 0x41d23d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41d23d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41d23d
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041c10b
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x41d23d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x128]
test eax, eax
je 0x41d23d
mov ecx, ebx
call fcn.0041b0aa
test eax, eax
je 0x41d23d
push 0
mov ecx, ebx
call fcn.0041b0c5
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00422cc5
push dword [ebp - 0x14]
call fcn.004211d4
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041cfa0
xor edi, edi
cmp eax, edi
je 0x41d29b
test byte [esi + 0x3c], 0x10
je 0x41d285
push 4
pop edi
mov ecx, esi
call fcn.0041afdc
test eax, 0x100
je 0x41d27b
push 5
pop edi
push edi
mov ecx, esi
call fcn.00420d91
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41d29b
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041b151
or dword [ebp - 4], 0xffffffff
jmp 0x41d2c6
cmp dword [ebp - 0x28], edi
je 0x41d2d4
push 1
mov ecx, ebx
call fcn.0041b0c5
cmp dword [ebp - 0x2c], edi
je 0x41d2e4
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41d2fd
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41d2fd
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041cd08
cmp dword [esi + 0x58], edi
je 0x41d319
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0042cc9e
ret
Function at 0x408d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e66e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45060c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 2
call fcn.00407400
cmp dword [esi + 0x2c], 0
lea edi, [esi + 0x2c]
mov byte [esp + 0x18], 1
je 0x408d8e
mov ecx, edi
call fcn.00407f80
mov dword [edi], 0
mov eax, dword [esi + 4]
sub eax, 0x10
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408db8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408dde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x409940
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret