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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43e748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
call fcn.00412e43
push 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041d630
add esp, 0xc
xor esi, esi
call fcn.00412e25
xor byte [ebp + esi - 0x10], al
movzx eax, byte [ebp + esi - 0x10]
push eax
call fcn.00412f4f
inc esi
cmp esi, 0xc
jl 0x412eb4
mov eax, dword [0x4486b8]
movzx edx, byte [ebp - 5]
movzx ecx, byte [0x458727]
test byte [eax + 0x80], 2
jne 0x412eee
movzx ecx, byte [0x45872f]
cmp edx, ecx
je 0x412ef7
or eax, 0xffffffff
jmp 0x412f40
cmp byte [ebp + 0x10], 0
je 0x412f3e
mov ecx, dword [0x4586d0]
mov eax, ecx
cdq
cmp edx, dword [0x44868c]
jl 0x412f1a
mov esi, dword [0x448688]
jg 0x412f1c
cmp eax, esi
ja 0x412f1c
mov esi, ecx
push edi
mov edi, dword [0x4586c8]
test esi, esi
je 0x412f3d
call fcn.00412e25
xor byte [edi], al
movzx eax, byte [edi]
push eax
call fcn.00412f4f
inc edi
sub esi, 1
jne 0x412f27
pop edi
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041c344
leave
ret 0xc

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

Disassembly:
mov ecx, dword [0x458808]
mov eax, dword [esp + 4]
mov edx, dword [0x458810]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x448260]
movzx eax, cl
add eax, dword [0x45880c]
mov dword [0x458808], ecx
imul ecx, eax, 0x8088405
mov eax, dword [esp + 4]
inc ecx
mov dword [0x45880c], ecx
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x448260]
mov dword [0x458810], edx
ret 4

Function at 0x413193
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x43e748]
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.00413532
test ebp, ebp
je 0x4131e0
cmp byte [esi], 0
je 0x4131e0
push 0x18
pop ecx
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
jmp 0x413204
lea edi, [ebx + 0x60]
push 0x40
mov eax, edi
pop ecx
xor byte [eax], 0x6a
inc eax
sub ecx, 1
jne 0x4131e8
push ebx
call fcn.004096e1
push 0x40
push edi
push ebx
call fcn.00409712
test ebp, ebp
je 0x413219
cmp byte [esi], 0
jne 0x413219
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.00409712
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00413532
cmp dword [esp + 0x3c], 0
pop edi
pop esi
pop ebp
pop ebx
jbe 0x413251
push dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call fcn.0041d630
add esp, 0xc
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041c344
add esp, 0x20
ret 0x14
Function at 0x413262
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 0x413292
push esi
call fcn.004096e1
push edi
push dword [esp + 0x18]
push esi
call fcn.00409712
push ebx
push esi
call fcn.00413532
push 0x14
pop edi
jmp 0x4132a0
push edi
push dword [esp + 0x18]
push ebx
call fcn.0041d630
add esp, 0xc
mov dword [esi + 0xa0], edi
test edi, edi
je 0x4132c2
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 0x4132b1
push 0x40
pop eax
sub eax, edi
push eax
lea eax, [esi + 0x60]
add eax, edi
push 0x36
push eax
call fcn.0041dbb0
add esp, 0xc
push esi
call fcn.004096e1
push 0x40
push ebx
push esi
call fcn.00409712
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x4132ed
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x23c
mov eax, dword [0x43e748]
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 0x413330
mov eax, ebx
push eax
push ecx
lea eax, [esp + 0x204]
push eax
call fcn.0041d630
push 0xa8
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.0041dbb0
add esp, 0x18
lea eax, [esp + 0x12c]
push dword [esp + 0x24c]
push esi
push eax
call fcn.00413262
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 0x4134ee
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 0x4133fd
push eax
lea eax, [esp + 0x208]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00409712
push 0
push 0
push 0x14
pop esi
push esi
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00413193
push esi
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x1f8]
push eax
call fcn.0041d630
mov eax, dword [esp + 0x24]
add esp, 0xc
mov byte [esp + 0x13], 0
test eax, eax
je 0x4134ac
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.00409712
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.00413193
xor ecx, ecx
mov al, byte [esp + ecx + 0x1dc]
xor byte [esp + ecx + 0x1f0], al
inc ecx
cmp ecx, esi
jb 0x413490
sub ebx, 1
jne 0x413442
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x264]
sub eax, ebp
cmp eax, esi
jbe 0x4134bb
mov eax, esi
push eax
lea eax, [esp + 0x1f4]
push eax
mov eax, dword [esp + 0x28]
add eax, ebp
push eax
call fcn.0041d630
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 0x41339e
pop edi
pop ebp
push 0x44
lea eax, [esp + 0x200]
push eax
call fcn.00408d6d
push esi
lea eax, [esp + 0x1ec]
push eax
call fcn.00408d6d
push esi
lea eax, [esp + 0x1d8]
push eax
call fcn.00408d6d
mov ecx, dword [esp + 0x240]
pop esi
pop ebx
xor ecx, esp
call fcn.0041c344
add esp, 0x23c
ret 0x1c
Function at 0x413d95
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x43e748]
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 [0x43224c]
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 [0x43224c]
mov ecx, edi
call esi
cmp eax, 0x40
jne 0x413e7a
cmp byte [ebp - 0x80], 0x4d
jne 0x413e7a
cmp byte [ebp - 0x7f], 0x5a
jne 0x413e7a
mov eax, dword [edi]
push ebx
push ebx
push dword [ebp - 0x44]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x43224c]
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 [0x43224c]
mov ecx, edi
call esi
cmp eax, ebx
jne 0x413e7a
cmp byte [ebp - 0x80], 0x50
jne 0x413e7a
cmp byte [ebp - 0x7f], 0x45
jne 0x413e7a
cmp byte [ebp - 0x7e], 0
jne 0x413e7a
cmp byte [ebp - 0x7d], 0
jne 0x413e7a
cmp byte [ebp - 0x68], 0xb
jne 0x413e7a
cmp byte [ebp - 0x67], 1
jne 0x413e63
cmp dword [ebp - 0xc], 4
jbe 0x413e63
mov eax, dword [ebp + 0x18]
jmp 0x413e7c
cmp byte [ebp - 0x68], 0xb
jne 0x413e7a
cmp byte [ebp - 0x67], 2
jne 0x413e7a
cmp dword [ebp + 4], 4
jbe 0x413e7a
mov eax, dword [ebp + 0x28]
jmp 0x413e7c
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c344
add ebp, 0x8c
leave
ret 4
Function at 0x4152b5
Capabilities:
Hide graphical window

Disassembly:
push 0x38
mov eax, 0x4308c1
call fcn.0041c3e8
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.00414fd4
cmp dword [ebx + 0x20], 0
je 0x415301
push dword [ebx + 0x20]
call fcn.00423615
pop ecx
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41530f
push eax
call fcn.00424c16
pop ecx
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x415320
push eax
call fcn.00424c16
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 0x415353
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 0x43330c
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 4], eax
jne 0x4153dd
cmp dword [ebx + 0x10], edi
jne 0x4153dd
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4153f3
cmp dword [ebx + 0x24], edi
jne 0x4153f3
cmp dword [ebx + 0x20], edi
je 0x4153f3
push dword [ebx + 0x20]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004150ce
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.00401b39
lea ecx, [ebp - 0x28]
call fcn.00401770
jmp 0x4153f3
test eax, eax
je 0x4153f3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.0041c397
ret 0x14
Function at 0x41596a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
push ecx
push ebx
lea eax, [esp + 4]
xor ebx, ebx
push eax
push 0x43428c
push 1
push ebx
push 0x43437c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x415aee
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push esi
push ecx
push 0x43436c
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x43224c]
call dword [esi]
test eax, eax
js 0x415ad9
push ebp
push edi
mov edi, dword [esp + 0x24]
push 8
pop ebp
cmp byte [esp + 0x1c], bl
je 0x4159e2
mov edx, edi
cmp dword [edi + 0x14], ebp
jb 0x4159cb
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 [0x43224c]
call esi
mov edx, dword [esp + 0x20]
cmp dword [edx + 0x14], ebp
jb 0x4159ed
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 [0x43224c]
call esi
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0x10], ebx
je 0x415a27
cmp dword [edx + 0x14], ebp
jb 0x415a12
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 [0x43224c]
call esi
mov edx, dword [esp + 0x30]
cmp dword [edx + 0x10], ebx
jne 0x415a38
push ebx
push 0x432668
jmp 0x415a41
cmp dword [edx + 0x14], ebp
jb 0x415a3f
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 [0x43224c]
call esi
mov edx, dword [esp + 0x34]
cmp dword [edx + 0x10], ebx
je 0x415a7a
cmp dword [edx + 0x14], ebp
jb 0x415a65
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 [0x43224c]
call esi
mov edx, dword [esp + 0x28]
cmp dword [edx + 0x10], ebx
je 0x415a9f
cmp dword [edx + 0x14], ebp
jb 0x415a8a
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 [0x43224c]
call esi
cmp dword [edi + 0x14], ebp
jb 0x415aa6
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 [0x43224c]
call esi
pop edi
pop ebp
test eax, eax
js 0x415ac5
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x43224c]
call esi
mov ecx, dword [esp + 8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43224c]
call esi
pop esi
mov al, bl
pop ebx
pop ecx
pop ecx
ret 0x1c
Function at 0x415bdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x433528
push dword [esp + 0x18]
push dword [0x458fc4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x415cf5
push esi
push dword [0x458fc4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x415cf5
push esi
push dword [0x458fc4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x415cf5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x415cf5
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 0x415ced
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x415ce6
push edi
push esi
push eax
call fcn.0041d630
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 0x415cdf
push ebp
push dword [esp + 0x14]
call fcn.00415b56
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x43224c]
call esi
test edi, edi
je 0x415cdf
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x415ccd
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x415ccd
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x43224c]
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 0x415cf7
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4
Function at 0x4169ba
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x8c
mov eax, dword [0x43e748]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x18]
push eax
call fcn.00416d91
test al, al
je 0x416a7a
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 0x416a78
push ebx
lea eax, [ebp + 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x416a6a
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 0x416a6a
cmp dword [esi + 0x14], 8
lea eax, [ebp + 0x5c]
mov dword [ebp + 8], 0xc
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edi
jb 0x416a5f
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 0x416a78
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.0041c344
add ebp, 0x74
leave
ret 4

Function at 0x416c75
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x43e748]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x43e6f4], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, 0x400
push edi
mov edi, dword [ebp + 0x14]
jne 0x416cd0
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 [0x458fa4], ax
xor eax, eax
mov word [0x458fa6], ax
mov dword [0x43e6f4], 0x458fa4
push 0x32
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409ffe
push edi
push esi
xor eax, eax
push 0x43e6e4
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.0041c344
leave
ret 0x10
Function at 0x4170bd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x430b1f
call fcn.0041c3b5
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax + 0x14], 8
jb 0x4170d6
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 0x4171d5
mov eax, dword [ebp + 0x10]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4170fc
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 0x4171c8
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
shr eax, 1
cmp dword [ecx + 0x10], eax
jbe 0x417125
mov eax, dword [ecx + 0x10]
inc eax
mov ecx, 0x10000
cmp eax, ecx
jb 0x417131
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.004018cd
mov edi, dword [ebp - 0x28]
mov eax, edi
mov esi, dword [ebp - 0x2c]
sub eax, esi
sar eax, 1
add eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x417162
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 0x4171b1
mov word [ebp - 0xe], ax
cmp edi, dword [ebp - 0x24]
je 0x41718e
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x28], edi
jmp 0x41719e
lea eax, [ebp - 0xe]
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00416704
mov esi, dword [ebp - 0x2c]
push esi
call fcn.0042145e
pop ecx
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.0040180c
mov bl, 1
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4171c8
mov eax, dword [ebp - 0x24]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.004012a3
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x4171e0
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
call fcn.004021d7
mov al, bl
call fcn.0041c383
ret 0x14
Function at 0x41aaf9
Capabilities:
Hide graphical window

Disassembly:
and dword [0x458fcc], 0
push 1
push dword [esp + 8]
mov byte [0x458fb9], 1
mov byte [0x458fba], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004019f8
cmp dword [0x43e690], 0
jne 0x41ab39
cmp byte [0x458fc3], 0
je 0x41ab42
cmp dword [0x458fbc], 0
jne 0x41ab55
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41ac15
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x42fc6f
call fcn.0041c3e8
cmp byte [0x458acc], 0
mov esi, dword [ebp + 8]
je 0x41acfc
cmp dword [0x458ae0], 0
je 0x41acfc
xor edi, edi
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
push 0x458ad0
call fcn.00418bcb
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41acc1
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41ac93
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
jb 0x41ac9f
mov edx, dword [ebp - 0x28]
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push edi
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, 8
jb 0x41acfc
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
cmp eax, 0x1000
jb 0x41acf3
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004016b3
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
call fcn.0041c336
pop ecx
pop ecx
call fcn.0041c397
ret 4
Function at 0x41d323
Capabilities:
Parse pe header

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

Function at 0x42f490
Capabilities:
Parse pe header

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

Disassembly:
call fcn.10002090
cmp dword [esi + 4], 0
mov dword [esi + 0x10], 0x493e0
je 0x100021ba
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 8], eax
test eax, eax
jne 0x100021d2
xor al, al
ret
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x10015530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x100021cf
mov al, 1
mov byte [esi + 0x14], al
ret