joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41000d
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x45b840], 0
je 0x41001a
or eax, 0xffffffff
ret
mov eax, dword [0x44b71c]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
jg 0x410058
mov ecx, dword [0x44b718]
jl 0x410033
cmp ecx, ebp
ja 0x410058
or ebx, 0xffffffff
mov dword [0x45b760], ebp
add ecx, ebx
mov dword [0x45b764], ebp
mov dword [0x44b718], ecx
adc eax, ebx
mov dword [0x44b71c], eax
mov eax, ebx
jmp 0x410165
push esi
push edi
mov edi, dword [0x45b764]
or ebx, 0xffffffff
cmp edi, ebp
jg 0x4100bd
jl 0x410073
mov esi, dword [0x45b760]
cmp esi, ebp
ja 0x4100c3
mov esi, 0x2000
push esi
push dword [0x45b754]
call fcn.0041033f
cdq
mov ecx, eax
mov dword [0x45b760], eax
or ecx, edx
mov dword [0x45b764], edx
je 0x410102
and eax, edx
cmp eax, ebx
je 0x4100f3
add dword [0x45b798], esi
mov eax, dword [0x45b754]
adc dword [0x45b79c], ebp
mov dword [0x45b758], eax
call fcn.0040fa83
mov edi, dword [0x45b764]
mov esi, dword [0x45b760]
mov eax, dword [0x44b748]
test byte [eax + 0x80], 1
je 0x410145
cmp byte [0x45b918], 0
mov eax, esi
je 0x410112
or eax, edi
je 0x410145
push esi
push dword [0x45b758]
push 0x45b928
call fcn.0041399e
jmp 0x410139
push 0x45c294
mov ecx, 0x45c598
call fcn.0040374a
mov dword [0x45b760], ebp
mov eax, ebx
mov dword [0x45b764], ebp
jmp 0x410163
or eax, edi
mov ebp, dword [0x45b758]
je 0x410145
add esi, ebx
adc edi, ebx
call fcn.00413766
xor byte [ebp], al
movzx eax, byte [ebp]
push eax
call fcn.00413890
mov eax, esi
inc ebp
or eax, edi
jne 0x41011c
mov esi, dword [0x45b760]
mov edi, dword [0x45b764]
mov eax, dword [0x45b758]
add esi, ebx
mov dword [0x45b760], esi
adc edi, ebx
mov dword [0x45b764], edi
movzx eax, byte [eax]
inc dword [0x45b758]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4137c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43f780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
call fcn.00413784
push 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041e510
add esp, 0xc
xor esi, esi
call fcn.00413766
xor byte [ebp + esi - 0x10], al
movzx eax, byte [ebp + esi - 0x10]
push eax
call fcn.00413890
inc esi
cmp esi, 0xc
jl 0x4137f5
mov eax, dword [0x44b748]
movzx edx, byte [ebp - 5]
movzx ecx, byte [0x45b7b7]
test byte [eax + 0x80], 2
jne 0x41382f
movzx ecx, byte [0x45b7bf]
cmp edx, ecx
je 0x413838
or eax, 0xffffffff
jmp 0x413881
cmp byte [ebp + 0x10], 0
je 0x41387f
mov ecx, dword [0x45b760]
mov eax, ecx
cdq
cmp edx, dword [0x44b71c]
jl 0x41385b
mov esi, dword [0x44b718]
jg 0x41385d
cmp eax, esi
ja 0x41385d
mov esi, ecx
push edi
mov edi, dword [0x45b758]
test esi, esi
je 0x41387e
call fcn.00413766
xor byte [edi], al
movzx eax, byte [edi]
push eax
call fcn.00413890
inc edi
sub esi, 1
jne 0x413868
pop edi
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041d104
leave
ret 0xc

Function at 0x413890
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x45b898]
mov eax, dword [esp + 4]
mov edx, dword [0x45b8a0]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x44b2f0]
movzx eax, cl
add eax, dword [0x45b89c]
mov dword [0x45b898], ecx
imul ecx, eax, 0x8088405
mov eax, dword [esp + 4]
inc ecx
mov dword [0x45b89c], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x44b2f0]
mov dword [0x45b8a0], edx
ret 4

Function at 0x413ad4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x43f780]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x40]
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x18], esi
call fcn.00413e7a
test ebp, ebp
je 0x413b21
cmp byte [esi], 0
je 0x413b21
push 0x18
pop ecx
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
jmp 0x413b45
lea edi, [ebx + 0x60]
push 0x40
mov eax, edi
pop ecx
xor byte [eax], 0x6a
inc eax
sub ecx, 1
jne 0x413b29
push ebx
call fcn.0040a506
push 0x40
push edi
push ebx
call fcn.0040a537
test ebp, ebp
je 0x413b5a
cmp byte [esi], 0
jne 0x413b5a
mov eax, dword [esp + 0x10]
mov esi, ebx
push 0x18
pop ecx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x14
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.0040a537
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00413e7a
cmp dword [esp + 0x3c], 0
pop edi
pop esi
pop ebp
pop ebx
jbe 0x413b92
push dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call fcn.0041e510
add esp, 0xc
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041d104
add esp, 0x20
ret 0x14
Function at 0x413ba3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
lea ebx, [esi + 0x60]
cmp edi, 0x40
jbe 0x413bda
push esi
call fcn.0040a506
push edi
push dword [esp + 0x18]
push esi
call fcn.0040a537
push ebx
push esi
call fcn.00413e7a
mov dword [esi + 0xa0], 0x14
jmp 0x413bf2
push edi
push dword [esp + 0x18]
push ebx
call fcn.0041e510
add esp, 0xc
mov dword [esi + 0xa0], edi
test edi, edi
je 0x413c0a
push 0xffffffffffffffa0
pop edx
mov ecx, ebx
sub edx, esi
xor byte [ecx], 0x36
inc ecx
mov edi, dword [esi + 0xa0]
lea eax, [edx + ecx]
cmp eax, edi
jb 0x413bf9
push 0x40
pop eax
sub eax, edi
push eax
lea eax, [esi + 0x60]
add eax, edi
push 0x36
push eax
call fcn.0041ea90
add esp, 0xc
push esi
call fcn.0040a506
push 0x40
push ebx
push esi
call fcn.0040a537
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x413c35
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x23c
mov eax, dword [0x43f780]
xor eax, esp
mov dword [esp + 0x238], eax
mov eax, dword [esp + 0x250]
mov ecx, dword [esp + 0x248]
push ebx
mov ebx, dword [esp + 0x250]
push esi
mov esi, dword [esp + 0x248]
push 0x40
mov dword [esp + 0x1c], eax
pop eax
mov dword [esp + 0x14], ebx
cmp ebx, eax
jae 0x413c78
mov eax, ebx
push eax
push ecx
lea eax, [esp + 0x204]
push eax
call fcn.0041e510
push 0xa8
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.0041ea90
add esp, 0x18
lea eax, [esp + 0x12c]
push dword [esp + 0x24c]
push esi
push eax
call fcn.00413ba3
mov eax, dword [esp + 0x25c]
xor edx, edx
push 0x14
dec eax
pop esi
div esi
add eax, 1
mov dword [esp + 0x20], eax
je 0x413e36
mov eax, dword [esp + 0x260]
xor edx, edx
push ebp
dec eax
xor ebp, ebp
inc edx
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x14], edx
mov eax, edx
mov dword [esp + 0x24], edx
shr eax, 0x18
lea esi, [esp + 0x134]
mov byte [esp + ebx + 0x204], al
lea edi, [esp + 0x8c]
mov eax, edx
mov byte [esp + ebx + 0x207], dl
shr eax, 0x10
mov byte [esp + ebx + 0x205], al
mov eax, edx
shr eax, 8
push 0x2a
mov byte [esp + ebx + 0x20a], al
lea eax, [ebx + 4]
pop ecx
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x413d45
push eax
lea eax, [esp + 0x208]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0040a537
push 0
push 0
push 0x14
pop esi
push esi
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00413ad4
push esi
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x1f8]
push eax
call fcn.0041e510
mov eax, dword [esp + 0x24]
add esp, 0xc
mov byte [esp + 0x13], 0
test eax, eax
je 0x413df4
mov ebx, eax
push 0x2a
pop ecx
push 0x14
lea esi, [esp + 0x138]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0040a537
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x30]
push eax
push esi
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00413ad4
xor ecx, ecx
mov al, byte [esp + ecx + 0x1dc]
xor byte [esp + ecx + 0x1f0], al
inc ecx
cmp ecx, esi
jb 0x413dd8
sub ebx, 1
jne 0x413d8a
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x264]
sub eax, ebp
cmp eax, esi
jbe 0x413e03
mov eax, esi
push eax
lea eax, [esp + 0x1f4]
push eax
mov eax, dword [esp + 0x28]
add eax, ebp
push eax
call fcn.0041e510
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x24]
inc edx
add ebp, esi
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x28]
jb 0x413ce6
pop edi
pop ebp
push 0x44
lea eax, [esp + 0x200]
push eax
call fcn.00409a06
push esi
lea eax, [esp + 0x1ec]
push eax
call fcn.00409a06
push esi
lea eax, [esp + 0x1d8]
push eax
call fcn.00409a06
mov ecx, dword [esp + 0x240]
pop esi
pop ebx
xor ecx, esp
call fcn.0041d104
add esp, 0x23c
ret 0x1c
Function at 0x4146fa
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x43f780]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x94]
xor ebx, ebx
push ebx
push ebx
push ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x433258]
mov ecx, edi
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x80]
push 0x40
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x433258]
mov ecx, edi
call esi
cmp eax, 0x40
jne 0x4147df
cmp byte [ebp - 0x80], 0x4d
jne 0x4147df
cmp byte [ebp - 0x7f], 0x5a
jne 0x4147df
mov eax, dword [edi]
push ebx
push ebx
push dword [ebp - 0x44]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x433258]
mov ecx, edi
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x80]
mov ebx, 0x108
push ebx
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x433258]
mov ecx, edi
call esi
cmp eax, ebx
jne 0x4147df
cmp byte [ebp - 0x80], 0x50
jne 0x4147df
cmp byte [ebp - 0x7f], 0x45
jne 0x4147df
cmp byte [ebp - 0x7e], 0
jne 0x4147df
cmp byte [ebp - 0x7d], 0
jne 0x4147df
cmp byte [ebp - 0x68], 0xb
jne 0x4147df
cmp byte [ebp - 0x67], 1
jne 0x4147c8
cmp dword [ebp - 0xc], 4
jbe 0x4147c8
mov eax, dword [ebp + 0x18]
jmp 0x4147e1
cmp byte [ebp - 0x68], 0xb
jne 0x4147df
cmp byte [ebp - 0x67], 2
jne 0x4147df
cmp dword [ebp + 4], 4
jbe 0x4147df
mov eax, dword [ebp + 0x28]
jmp 0x4147e1
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d104
add ebp, 0x8c
leave
ret 4
Function at 0x415c05
Capabilities:
Hide graphical window

Disassembly:
push 0x38
mov eax, 0x431733
call fcn.0041d1a8
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov al, byte [ebp + 0x18]
push 0
push edi
mov dword [ebp - 0x3c], edi
mov dword [ebx + 8], edi
mov byte [ebx + 0x42], al
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov ecx, ebx
call fcn.00415934
cmp dword [ebx + 0x20], 0
je 0x415c51
push dword [ebx + 0x20]
call fcn.00422428
pop ecx
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x415c5f
push eax
call fcn.00425b06
pop ecx
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x415c70
push eax
call fcn.00425b06
pop ecx
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x415ca3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push dword [ebp - 0x3c]
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push esi
push dword [ebp - 0x34]
push edi
push 0x40000000
xor edi, edi
push edi
push 0x434354
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 4], eax
jne 0x415d2d
cmp dword [ebx + 0x10], edi
jne 0x415d2d
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x415d43
cmp dword [ebx + 0x24], edi
jne 0x415d43
cmp dword [ebx + 0x20], edi
je 0x415d43
push dword [ebx + 0x20]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00415a2e
push 5
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00401c11
lea ecx, [ebp - 0x28]
call fcn.00401780
jmp 0x415d43
test eax, eax
je 0x415d43
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0041d157
ret 0x14
Function at 0x4162ba
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
push ecx
push ebx
lea eax, [esp + 4]
xor ebx, ebx
push eax
push 0x4352cc
push 1
push ebx
push 0x4353bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x416440
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push esi
push ecx
push 0x4353ac
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x433258]
call dword [esi]
test eax, eax
js 0x41642b
push ebp
push edi
mov edi, dword [esp + 0x24]
push 7
pop ebp
cmp byte [esp + 0x1c], bl
je 0x416332
mov edx, edi
cmp dword [edi + 0x14], ebp
jbe 0x41631b
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
push 2
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x433258]
call esi
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x14], ebp
jbe 0x41633d
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x433258]
call esi
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x10], ebx
je 0x416377
cmp dword [edx + 0x14], ebp
jbe 0x416362
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x433258]
call esi
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x10], ebx
jne 0x416388
push ebx
push 0x433688
jmp 0x416391
cmp dword [edx + 0x14], ebp
jbe 0x41638f
mov edx, dword [edx]
push ebx
push edx
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x433258]
call esi
mov edx, dword [esp + 0x34]
cmp dword [edx + 0x10], ebx
je 0x4163ca
cmp dword [edx + 0x14], ebp
jbe 0x4163b5
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x433258]
call esi
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x10], ebx
je 0x4163ef
cmp dword [edx + 0x14], ebp
jbe 0x4163da
mov edx, dword [edx]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x433258]
call esi
cmp dword [edi + 0x14], ebp
jbe 0x4163f6
mov edi, dword [edi]
mov eax, dword [esp + 0x14]
push 1
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x433258]
call esi
mov ebx, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x433258]
call esi
shr ebx, 0x1f
pop edi
xor bl, 1
pop ebp
mov ecx, dword [esp + 8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x433258]
call esi
pop esi
mov al, bl
pop ebx
pop ecx
pop ecx
ret 0x1c
Function at 0x41652e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x434570
push dword [esp + 0x18]
push dword [0x45c074]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x416647
push esi
push dword [0x45c074]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x416647
push esi
push dword [0x45c074]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416647
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416647
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41663f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x416638
push edi
push esi
push eax
call fcn.0041e510
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x416631
push ebp
push dword [esp + 0x14]
call fcn.004164a8
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x433258]
call esi
test edi, edi
je 0x416631
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41661f
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41661f
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x433258]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
jmp 0x416649
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4
Function at 0x41731b
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x8c
mov eax, dword [0x43f780]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x18]
push eax
call fcn.004176f2
test al, al
je 0x4173db
push ebx
push edi
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], 0x11060000
xor edi, edi
mov dword [ebp + 4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 8], edi
xor ebx, ebx
mov dword [ebp], edi
inc ebx
mov dword [ebp - 0x10], 3
push eax
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edi
mov dword [ebp + 0x14], edi
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x4173d9
push ebx
lea eax, [ebp + 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4173cb
push edi
push dword [ebp + 0x14]
lea eax, [ebp + 0x5c]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4173cb
cmp dword [esi + 0x14], 7
lea eax, [ebp + 0x5c]
mov dword [ebp + 8], 0xc
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edi
jbe 0x4173c0
mov esi, dword [esi]
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0x14], edi
je 0x4173d9
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop esi
call fcn.0041d104
add ebp, 0x74
leave
ret 4

Function at 0x4175d6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x43f780]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x43f724], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, 0x400
push edi
mov edi, dword [ebp + 0x14]
jne 0x417631
push 0x64
lea eax, [ebp - 0x130]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x130]
mov word [0x45c04c], ax
xor eax, eax
mov word [0x45c04e], ax
mov dword [0x43f724], 0x45c04c
push 0x32
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040aea0
push edi
push esi
xor eax, eax
push 0x43f714
mov word [esi], ax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [esi + edi*2 - 2], ax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041d104
leave
ret 0x10
Function at 0x417a38
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x43199c
call fcn.0041d175
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x14], 7
jbe 0x417a51
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 1
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417b4f
mov eax, dword [ebp + 0x10]
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x417a77
mov ecx, dword [eax]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417b42
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
shr eax, 1
cmp dword [ecx + 0x10], eax
jbe 0x417aa0
mov eax, dword [ecx + 0x10]
inc eax
mov ecx, 0x10000
cmp eax, ecx
jb 0x417aac
mov eax, ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004018dd
mov edi, dword [ebp - 0x28]
mov eax, edi
mov esi, dword [ebp - 0x2c]
sub eax, esi
and eax, 0xfffffffe
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 7
jbe 0x417adc
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417b2b
mov word [ebp - 0xe], ax
cmp edi, dword [ebp - 0x24]
je 0x417b08
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x28], edi
jmp 0x417b18
lea eax, [ebp - 0xe]
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00417010
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0042234e
pop ecx
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.0040181c
mov bl, 1
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x417b42
mov eax, dword [ebp - 0x24]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.0040127e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x417b5a
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
call fcn.00403aaa
mov al, bl
call fcn.0041d143
ret 0x14
Function at 0x41b6a3
Capabilities:
Hide graphical window

Disassembly:
and dword [0x45c058], 0
push 1
push dword [esp + 8]
mov byte [0x45c065], 1
mov byte [0x45c066], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.00401a76
cmp dword [0x43f690], 0
jne 0x41b6e3
cmp byte [0x45c070], 0
je 0x41b6ec
cmp dword [0x45c068], 0
jne 0x41b6ff
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41b7bf
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x43095b
call fcn.0041d1a8
cmp byte [0x45bb5c], 0
mov esi, dword [ebp + 8]
je 0x41b8a8
cmp dword [0x45bb88], 0
je 0x41b8a8
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
xor ebx, ebx
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
push 0x45bb78
call fcn.004196a2
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b86e
mov ecx, esi
cmp dword [esi + 0x14], edi
jbe 0x41b841
mov ecx, dword [esi]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jbe 0x41b84c
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push ebx
push edx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
cmp eax, edi
jbe 0x41b8a8
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x1000
jb 0x41b89f
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004016c3
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.0041d0f6
pop ecx
pop ecx
call fcn.0041d157
ret 4
Function at 0x41e203
Capabilities:
Parse pe header

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

Function at 0x430390
Capabilities:
Parse pe header

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