joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408280
Capabilities:
Set registry value

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x438d6b
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x444690]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x30], ecx
sub edi, edi
mov edx, 0x445c50
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], edi
call fcn.0040ad40
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], edi
je 0x4083e1
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
push ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040a930
mov esi, dword [ebp - 0x40]
test eax, eax
jne 0x4083d3
test esi, esi
je 0x4083de
sub esp, 8
lea ecx, [ebp - 0xf0]
call fcn.004089f0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.0040a2f0
push ebx
pop edx
push eax
pop ecx
call fcn.0040a5b0
mov ecx, eax
call fcn.0040a2f0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00408b20
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
cmp edi, 8
cmovae edx, ebx
lea ecx, [edx + 2]
lea ecx, [ecx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x408350
sub edx, ecx
sar edx, 1
lea ecx, [ebp - 0x2c]
lea eax, [edx*2 + 2]
push eax
cmp edi, 8
cmovae ecx, ebx
push ecx
push 2
push 0
push dword [ebp - 0x30]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp - 0x18], 8
jb 0x408397
push dword [ebp - 0x2c]
call fcn.0041fd2d
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
call fcn.00408aa0
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x440f0c
call fcn.0041f8a1
add esp, 4
test esi, esi
je 0x4083de
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
or ecx, ecx
jg 0x408411
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x408411
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fd32
mov esp, ebp
pop ebp
ret
Function at 0x40a9c0
Capabilities:
Get common file path

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x670
mov eax, dword [0x444690]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x440f18
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0x440f28
push str.Shlwapi.dll
push eax
pop edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call esi
mov esi, eax
test edi, edi
je 0x40ab08
test esi, esi
je 0x40ab08
push 0x40
lea eax, [ebp - 0x66c]
push 0
push eax
call fcn.00422330
sub eax, eax
push 0x206
push eax
mov word [ebp - 0x640], ax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x620], eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x670], 0x44
movq qword [ebp - 0x628], xmm0
call fcn.00422330
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x440f4c
lea eax, [ebp - 0x20c]
push eax
call esi
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
sub eax, eax
push 0x40e
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.00422330
push ebx
lea eax, [ebp - 0x20c]
push eax
push str.__s__start___s_
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.00420b3c
add esp, 0x20
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x670]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fd32
push ebp
pop esp
pop ebp
ret
Function at 0x40ab20
Capabilities:
Modify service
Start service

Disassembly:
push ebp
push esp
pop ebp
push 0xffffffffffffffff
push 0x438e10
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x444690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
xor edi, edi
mov edx, 0x446070
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
call fcn.0040ad40
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], esi
je 0x40ac57
push 5
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x40ac57
push 0x17
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], eax
or esi, esi
je 0x40ac4e
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40ac3a
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x11]
push ecx
push eax
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x30], 0
call fcn.004050e0
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x34]
sub eax, ebx
cmp eax, dword [ebp - 0x18]
jne 0x40ac32
test ebx, ebx
je 0x40ac32
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x40ac32
cmp dword [ebx + 4], 2
je 0x40ac32
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 8]
push 2
push dword [ebx]
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea ecx, [ebp - 0x34]
call fcn.00404fe0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor esi, esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sub edi, edi
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ac86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40ac86
test esi, esi
je 0x40ac91
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or edi, edi
je 0x40ac9c
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
Function at 0x40bdf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov dword [ebp - 0xc], ecx
push esi
mov edx, 0x446288
lea ecx, [ebp - 4]
sub ebx, ebx
call fcn.0040ad40
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], ebx
je 0x40beae
xor esi, esi
push edi
lea esp, [esp]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 8]
push edx
push 0
sub ecx, ecx
push 2
test esi, esi
push 0
setne cl
push 0
push 0
push eax
mov dword [ebp - 8], 0
add ecx, 0x80000001
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bea0
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test edx, edx
jne 0x40be61
lea eax, [edx + 0xd]
jmp 0x40be8e
push edx
pop eax
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40be66
sub eax, ebx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push 0x441070
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ebx, ebx
test eax, eax
sete bl
test edi, edi
je 0x40bea0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
inc esi
cmp esi, 2
jl 0x40be20
pop edi
lea esi, [eax - 0x10]
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bec8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40de90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438ef7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x444690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
pop edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x44102c
mov dword [edi + 0x60], 0x440ec0
mov dword [ebp - 4], 0
mov eax, dword [edi]
lea esi, [edi + 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [edi + eax], 0x440ecc
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0040f200
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x441020
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
push esi
pop ecx
call fcn.0040f2b0
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
mov dword [esi], 0x440fe4
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x47bf9c]
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
push edi
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
push ebp
pop esp
pop ebp
ret 4

Function at 0x40fa90
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x40fadc
push 0x440ed8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
or eax, eax
je 0x40fb06
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40fb06
push 0
push dword [esi]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push 0
push dword [ebp + 0x1c]
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop esi
pop ebp
ret 0x24
cmp dword [esi + 4], 0
je 0x40fb06
pop esi
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
pop ebp
jmp dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pushal
popal
push 1
pop eax
pop esi
pop ebp
ret 0x24
Function at 0x40fb90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4392a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x444690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, 0x47a8e0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040ad40
mov edx, 0x47a8bc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040ad40
mov byte [ebp - 4], 2
mov eax, dword [0x444008]
mov ecx, 0x444008
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
nop
push 0x6a
nop
pop ecx
mov byte [ebp - 4], 3
call fcn.00404890
or eax, eax
je 0x40fc17
push 0x6a
push eax
lea ecx, [ebp - 0x1c]
call fcn.004043f0
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x40fcd5
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x40fcd5
cmp dword [esi - 0xc], 0
je 0x40fcd5
xor ebx, ebx
lea ecx, [ecx]
xor ecx, ecx
or ebx, ebx
setne cl
sub esp, 8
mov dword [ebp - 0x28], 0
push 2
sub esp, 8
mov dword [ebp - 0x24], 0
push eax
add ecx, 0x80000001
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
call fcn.0040fb10
or eax, eax
jne 0x40fcab
push esi
pop eax
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fc80
mov edi, dword [ebp - 0x28]
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40fcae
mov edi, dword [ebp - 0x28]
or edi, edi
je 0x40fcc0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], 0
inc ebx
mov dword [ebp - 0x24], 0
cmp ebx, 2
jge 0x40fcd5
mov eax, dword [ebp - 0x18]
jmp 0x40fc40
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40fcf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fd15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40fd33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push esp
pop ebp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or eax, eax
jne 0x4100d1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41009f
cmp eax, 2
jne 0x4100bb
mov ecx, dword [ebp + 0x10]
or esi, esi
je 0x4100cb
or ecx, ecx
je 0x4100c6
test cl, 1
jne 0x4100bb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4100cb
pop edi
push 0xd
pop eax
pushal
popal
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
sub eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x427687
Capabilities:
Write file on windows

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x1fc
mov eax, dword [0x444690]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00427663
push eax
pop edi
pop ecx
test edi, edi
je 0x427829
push ebx
push 3
call fcn.00427e2d
pop ecx
cmp eax, 1
je 0x4277d1
push 3
call fcn.00427e2d
pop ecx
or eax, eax
jne 0x4276db
cmp dword [0x47b140], 1
je 0x4277d1
cmp esi, 0xfc
je 0x427828
push str.Runtime_Error__n_nProgram:
push 0x314
push 0x47b148
call fcn.0042d37b
add esp, 0xc
sub ebx, ebx
or eax, eax
jne 0x427837
push 0x104
push 0x47b17a
push ebx
mov word [0x47b382], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x2fb
test eax, eax
jne 0x427743
push str._program_name_unknown_
push esi
push 0x47b17a
call fcn.0042d37b
add esp, 0xc
or eax, eax
jne 0x427837
push 0x47b17a
call fcn.004250ad
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x427789
push 0x47b17a
call fcn.004250ad
lea ecx, [eax*2 + 0x47b104]
mov eax, ecx
sub eax, 0x47b17a
push 3
sar eax, 1
push 0x43e9f8
sub esi, eax
push esi
push ecx
call fcn.004303aa
add esp, 0x14
test eax, eax
jne 0x427837
push 0x43ea00
push 0x314
mov esi, 0x47b148
push esi
call fcn.0043033e
add esp, 0xc
test eax, eax
jne 0x427837
push edi
push 0x314
push esi
call fcn.0043033e
add esp, 0xc
or eax, eax
jne 0x427837
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push esi
call fcn.00430468
add esp, 0xc
jmp 0x427828
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
or esi, esi
je 0x427828
cmp esi, 0xffffffff
je 0x427828
xor ebx, ebx
mov ecx, ebx
mov al, byte [edi + ecx*2]
mov byte [ebp + ecx - 0x1f8], al
cmp word [edi + ecx*2], bx
je 0x427801
inc ecx
cmp ecx, 0x1f4
jb 0x4277e8
push ebx
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 5], bl
call fcn.00422a10
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041fd32
leave
ret
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00428754
int3

Function at 0x427f47
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
pop edi
or edi, edi
je 0x427f9f
push ebx
sub ebx, ebx
push esi
push edi
pop esi
cmp word [edi], bx
je 0x427f73
add esi, 2
cmp word [esi], bx
jne 0x427f63
add esi, 2
cmp word [esi], bx
jne 0x427f63
sub esi, edi
add esi, 2
push esi
call fcn.00423b17
pop ecx
mov dword [ebp - 4], eax
or eax, eax
je 0x427f94
push esi
push edi
push eax
call fcn.004223c0
mov ebx, dword [ebp - 4]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
push ebx
pop eax
pop ebx
pop edi
leave
ret
Function at 0x4301f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
xor edx, edx
add eax, ecx
push edi
or ebx, ebx
je 0x43022c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x430224
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x43022e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x430214
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x430300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x430314
sub eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
sub eax, eax
cmp dword [ecx], 0x4550
jne 0x43032f
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x430468
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x444690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
sub edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00424c3d
mov dword [ebp - 0x14], eax
cmp dword [0x47bec8], edi
jne 0x430559
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4304e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x430639
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
pop esi
test esi, esi
je 0x430639
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x430639
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x47bec8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x47becc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x47bed0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47bed8], eax
or eax, eax
je 0x430556
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47bed4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
or eax, eax
je 0x43057e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x430571
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x430593
push 4
pop eax
jmp 0x43063b
cmp dword [ebp - 0x14], edi
je 0x430593
push dword [0x47bec8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x430578
mov eax, dword [0x47bed4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4305f1
cmp dword [0x47bed8], esi
je 0x4305f1
push eax
call ebx
push dword [0x47bed8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
or ecx, ecx
je 0x4305f1
test eax, eax
je 0x4305f1
call ecx
or eax, eax
je 0x4305e6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4305e6
test byte [ebp - 8], 1
jne 0x4305f1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x430621
mov eax, dword [0x47becc]
cmp eax, esi
je 0x43061e
push eax
call ebx
or eax, eax
je 0x43061e
call eax
mov edi, eax
or edi, edi
je 0x43061e
mov eax, dword [0x47bed0]
cmp eax, esi
je 0x43061e
push eax
call ebx
or eax, eax
je 0x43061e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x47bec8]
call ebx
or eax, eax
je 0x430639
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x43063b
sub eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fd32
leave
ret
Function at 0x435312
Capabilities:
Get geographical location

Disassembly:
push ebp
push esp
pop ebp
push esi
mov esi, dword [ebp + 8]
or esi, esi
je 0x43536f
cmp word [esi], 0
je 0x43536f
push 0x440724
push esi
call fcn.004346b2
pop ecx
pop ecx
test eax, eax
je 0x43536f
push 0x44072c
push esi
call fcn.004346b2
pop ecx
pop ecx
test eax, eax
jne 0x435366
push 2
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x2000000b
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or eax, eax
je 0x43538a
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
push esi
call fcn.0041fd4a
pop ecx
jmp 0x435363
push 2
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push 0x20001004
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x43538e
sub eax, eax
jmp 0x435363
mov eax, dword [ebp + 8]
or eax, eax
jne 0x435363
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetACP]

Function at 0x4353bf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042716b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or eax, eax
jne 0x4353f7
sub eax, eax
jmp 0x435423
cmp esi, dword [ebp - 4]
je 0x435420
cmp dword [ebp + 0xc], 0
je 0x435420
push dword [edi + 0x9c]
call fcn.00434fcd
push dword [edi + 0x9c]
mov esi, eax
call fcn.004250ad
pop ecx
pop ecx
cmp esi, eax
je 0x4353f3
sub eax, eax
inc eax
pop edi
pop esi
leave
ret