joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019784c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1028bd90]
jne 0x10197856
repz ret
jmp fcn.10197afd
Function at 0x10198322
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001089
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101983cf
jmp 0x101983ee
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x1028bd6c], 0x795
mov dword [esp + 0x1c], eax
jmp 0x101983f8
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
mov dword [0x1028bd70], 0x3d
mov dword [0x1028bd6c], 0xffffdef4
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10198fe6
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1028bd6c], 0x9dd
mov dword [esp + 0x14], eax
jmp 0x101984a8
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
call fcn.10198c37
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
je 0x10198410
jmp 0x101984a8
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x1019848b
jmp 0x1019834a
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.1019802e
lea ecx, [0x101996f0]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], 0x12ae00
mov edx, dword [0x1028bd58]
mov dword [esp + 0x78], edx
mov edx, dword [0x1028bd5c]
mov dword [esp + 0x34], edx
mov edx, dword [0x1028bd60]
mov dword [esp + 0x68], edx
mov edx, dword [0x1028bd64]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1028bd68]
mov dword [esp + 0x64], edx
mov dword [0x1028bd6c], 0x1b55
mov dword [0x1028bd70], 0x19df
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], ecx
jmp 0x101983f8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x1019836b
jmp 0x1019834a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x101983ee
Function at 0x101986a7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1028bd78], 0
mov byte [0x1028bd7c], 0
mov dword [0x1028bd70], 0x37b
mov dword [0x1028bd74], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10198723
mov dword [0x1028bd6c], 0x1374
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0xfffff8ce
xor ecx, ecx
mov dword [0x1028bd6c], 0x6f3
mov dword [0x1028bd74], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x1019875f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1028bd6c], 0x195
mov dword [0x1028bd70], 0xfffff8ce
mov eax, dword [0x1028bd74]
add eax, 1
mov dword [0x1028bd74], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10198723
jmp 0x10198700
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x1028bd80], 0
mov esi, dword [0x1028bd78]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x1028bd80], ebx
add ecx, 0xffffe110
mov dword [0x1028bd6c], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x1028bd78], edx
mov dword [0x1028bd70], 0x2010
mov ebx, dword [ebp - 0x28]
mov cl, byte [edi + ebx]
mov byte [0x1028bd7c], cl
mov dword [0x1028bd6c], 0x21db
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov cl, byte [0x1028bd7c]
mov edx, dword [0x1028bd78]
mov byte [edi + edx], cl
mov edx, dword [0x1028bd74]
add edx, 1
mov dword [0x1028bd74], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x101986ee
mov eax, dword [0x1028bd70]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x1019875f
Function at 0x10198c37
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1028bd70], 0x8e3
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10198d00
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x10198d00
jmp 0x10198d1a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10198d86
xor eax, eax
mov dword [0x1028bd6c], 0x8eb
mov dword [ebp - 0x20], eax
jmp 0x10198d86
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10198ca7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x61
je 0x10198d3b
jmp 0x10198ca7
mov dword [0x1028bd6c], 0x192b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10198d59
jmp 0x10198ca7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x10198c70
mov eax, dword [ebp - 0x18]
mov dword [0x1028bd6c], 0x4c9
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10198cbb
jmp 0x10198ca7
mov dword [0x1028bd70], 0x27
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10198ce5
jmp 0x10198ca7
mov dword [0x1028bd6c], 0x157c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x23], dl
mov al, byte [ebp - 0x23]
test al, 1
jne 0x10198c8c
jmp 0x10198ca7
mov eax, dword [ebp - 0x20]
add esp, 0x24
pop ebp
ret
Function at 0x10198fe6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1027bc16]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov dword [0x1028bd70], 0x1712
mov ebx, dword [0x1028bd6c]
add ebx, 0xffffecd1
mov dword [0x1028bd6c], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.1019882f
mov dword [0x1028bd70], 0xa58
call fcn.10198b57
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.101984b5
xor ecx, ecx
mov dword [0x1028bd6c], 0x4cc
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x10199139
jmp 0x101990a6
mov eax, dword [ebp - 0x48]
add eax, 0x1438
mov dword [ebp - 0x4c], eax
mov dword [0x1028bd70], 0x6cd
mov dword [0x1028bd6c], 0x1dc0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
jmp 0x10199139
mov eax, dword [ebp - 0x40]
mov dword [0x1028bd6c], 0x1780
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10198db0
mov dword [0x1028bd6c], 0x6a3
mov dword [0x1028bd70], 0x1c22
mov eax, dword [ebp - 0x48]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x20], edx
cmp edx, 0
mov dword [ebp - 0x44], eax
jne 0x1019907c
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10199316
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [0x1028bd6c]
mov edx, ecx
add edx, 0xfffff6a0
mov dword [0x1028bd70], edx
add ecx, 0xffffdda3
mov dword [0x1028bd6c], ecx
mov dword [ebp - 0x10], eax
call fcn.1019894c
xor ecx, ecx
mov edx, eax
mov dword [0x1028bd70], 0x3d
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1019937c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1028bd6c], 0xffffe1e3
mov edi, eax
add edi, 0x18
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov esi, dword [ecx + edx]
cmp esi, 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
jne 0x1019942e
mov eax, dword [ebp - 0x38]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x1028bd70], 0x257f
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1028bd6c], 0x2299
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x38], edx
jmp 0x101993c7
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x45]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1019946a
jmp 0x10199497
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
jmp 0x10199446
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x1028bd70], 0xffffd675
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x60]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x45], cl
jne 0x10199403
mov al, byte [ebp - 0x45]
test al, 1
jne 0x101993d2
jmp 0x101994a4
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x5c]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edx
jb 0x10199446
jmp 0x101993c7
Function at 0x101994d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1028bd74], 0
mov dword [0x1028bd78], 0
mov dword [0x1028bd84], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x1028bd6c], 0xecf
mov eax, dword [ebp - 0x10]
cmp eax, 0
je 0x10199621
jmp 0x1019964e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1028bd74], edx
mov dword [0x1028bd6c], 0x2136
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x1028bd78], edx
mov dword [0x1028bd6c], esi
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1028bd7c], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1028bd6c]
mov ebx, edx
add ebx, 0xffffedd9
mov dword [0x1028bd6c], ebx
add edx, 0xfffff568
mov dword [0x1028bd70], edx
mov cl, byte [0x1028bd7c]
mov edx, dword [0x1028bd78]
mov byte [edi + edx], cl
mov edx, dword [0x1028bd74]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1028bd78]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1028bd6c], 0x20d8
and ebx, 0xff
mov dword [0x1028bd84], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
mov dword [0x1028bd70], 0x17f8
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x3c], edx
jne 0x10199629
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x3c5f
mov ecx, dword [0x1028bd74]
mov edx, dword [0x1028bd78]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
jmp 0x1019952d
xor eax, eax
mov ecx, dword [0x1028bd70]
add ecx, 0x2467
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
jmp 0x1019952d
Function at 0x401170
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x120]
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [esp + 8], eax
test eax, eax
jne 0x4011de
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x338
push str.Line_no_d_source_s_GetAdsVerFromModule_GetFileVersionInfoSizeA_failed_error_d._r_n
call fcn.0040c370
add esp, 0x10
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00444b03
add esp, 0x114
ret
inc eax
push esi
push eax
call fcn.00419974
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push esi
push ecx
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x401218
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x340
push str.Line_no_d_source_s_GetAdsVerFromModule_GetFileVersionInfoA_failed_error_d._r_n
jmp 0x401247
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x45f638
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40126f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x348
push str.Line_no_d_source_s_GetAdsVerFromModule_VerQueryValueA_failed_error_d._r_n
call fcn.0040c370
push esi
call fcn.00444af8
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00444b03
add esp, 0x114
ret
push 0x104
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.004449b0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, word [ecx + 8]
movzx ecx, word [ecx + 0x12]
push eax
push ecx
lea edx, [esp + 0x34]
push str._d._d._d._d
push edx
call fcn.00444a7b
push esi
call fcn.00444af8
lea eax, [esp + 0x40]
mov edx, ebx
mov ecx, eax
add esp, 0x28
sub edx, ecx
jmp 0x4012c0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4012c0
mov ecx, dword [esp + 0x11c]
pop esi
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00444b03
add esp, 0x114
ret

Function at 0x401c40
Capabilities:
Create directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x208
lea eax, [esp + 4]
push 0
push eax
call fcn.004449b0
mov eax, dword [0x4744ac]
add esp, 0xc
cmp dword [0x4744c0], 8
jae 0x401c7b
mov eax, 0x4744ac
push str.binADSafe3
push eax
lea ecx, [esp + 8]
push 0x45f83c
push ecx
call fcn.00401040
add esp, 0x10
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401cd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x28
push str.Line_no_d_source_s_CreateUnzipTmpDir_CreateDirectory_failed_error_d._r_n
call fcn.0040c370
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00444b03
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov eax, 1
call fcn.00444b03
add esp, 0x20c
ret
Function at 0x4044f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x45b56b
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x474], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x48c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x49c]
mov ecx, dword [esp + 0x4a0]
xor ebp, ebp
push ebp
push eax
mov dword [esp + 0x1c], ecx
call fcn.00417ba0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x404556
xor eax, eax
jmp 0x4046c1
lea edx, [esp + 0x50]
push edx
push 0xffffffffffffffff
push edi
call fcn.00415ee0
mov eax, dword [esp + 0x5c]
add esp, 0xc
xor esi, esi
cmp eax, ebp
mov ebx, eax
jle 0x404586
lea eax, [esp + 0x50]
push eax
push esi
push edi
call fcn.00415ee0
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x404572
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], cx
xor esi, esi
cmp ebx, ebp
mov dword [esp + 0x494], ebp
jle 0x40469f
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x50]
push edx
push esi
push edi
call fcn.00415ee0
lea eax, [esp + 0x60]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4045c6
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403400
push 0x2f
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00404450
add esp, 0xc
cmp dword [esp + 0x30], 8
jb 0x40460c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044475c
add esp, 4
push 0x208
lea ecx, [esp + 0x284]
push 0
push ecx
call fcn.004449b0
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x4c], 8
jae 0x404632
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x288]
push 0x45f83c
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 0x2f
cmp dx, word [esp + eax*2 + 0x52]
jne 0x404684
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404696
push eax
lea ecx, [esp + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x404696
lea edx, [esp + 0x280]
push edx
push esi
push edi
call fcn.00417bc0
add esp, 0xc
inc esi
cmp esi, ebx
jl 0x4045b0
push edi
call fcn.00417ef0
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x4046bc
mov eax, dword [esp + 0x38]
push eax
call fcn.0044475c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.00444b03
add esp, 0x484
ret
Function at 0x4049f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45b61b
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x638], eax
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004449b0
mov eax, dword [0x474490]
add esp, 0xc
cmp dword [0x4744a4], 8
jae 0x404a4e
mov eax, 0x474490
push str.ADSafe.exe
push eax
lea ecx, [esp + 0x2c]
push 0x45f83c
push ecx
call fcn.00401040
lea edx, [esp + 0x34]
push edx
call fcn.00417f70
add esp, 0x14
test eax, eax
je 0x404b8c
lea eax, [esp + 4]
push eax
push 0x1a
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x404ab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x278
push str.Line_no_d_source_s_CreateLaunchShortcut_SHGetSpecialFolderLocation_failed_error_d._r_n
call fcn.0040c370
add esp, 0x10
xor eax, eax
jmp 0x404bbe
push 0x104
lea ecx, [esp + 0x438]
push 0
push ecx
call fcn.004449b0
mov eax, dword [esp + 0x10]
add esp, 0xc
lea edx, [esp + 0x434]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jge 0x404b0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str..common.cpp
push 0x281
push str.Line_no_d_source_s_CreateLaunchShortcut_SHGetPathFromIDList_failed_error_d._r_n
call fcn.0040c370
add esp, 0x10
xor eax, eax
jmp 0x404bbe
lea ecx, [esp + 8]
push 9
push ecx
call fcn.00419370
push 0x208
lea edx, [esp + 0x238]
push 0
push edx
mov dword [esp + 0x65c], 0
call fcn.004449b0
mov eax, dword [esp + 0x20]
add esp, 0x14
cmp dword [esp + 0x20], 8
jae 0x404b48
lea eax, [esp + 0xc]
push eax
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x238]
push str._s_s_s.lnk
push ecx
call fcn.00401040
push 0
lea edx, [esp + 0x244]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004046f0
add esp, 0x20
test eax, eax
jne 0x404b90
lea ecx, [esp + 8]
call fcn.00402300
xor eax, eax
jmp 0x404bbe
lea ecx, [esp + 0x22c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401120
mov edx, dword [esp + 0xc]
add esp, 8
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 8]
call fcn.00402300
mov eax, 1
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.00444b03
add esp, 0x648
ret
Function at 0x4058f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45b77b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x4751f0]
xor eax, esp
mov dword [esp + 0x42c], eax
mov eax, dword [0x4751f0]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
push 0x208
lea eax, [esp + 0x22c]
push 0
push eax
call fcn.004449b0
push 0x208
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.004449b0
mov eax, dword [0x474490]
add esp, 0x18
cmp dword [0x4744a4], 8
jae 0x405962
mov eax, 0x474490
push str.ADSafe.exe
push eax
lea edx, [esp + 0x230]
push 0x45f83c
push edx
call fcn.00401040
lea eax, [esp + 0x238]
push eax
call fcn.00417f70
add esp, 0x14
test eax, eax
je 0x405a03
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x405a03
lea edx, [esp + 4]
push 9
push edx
call fcn.00419370
add esp, 8
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
mov dword [esp + 0x43c], 0
jae 0x4059cc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push 0x4600e4
push ecx
call fcn.00401040
push 1
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x240]
push eax
call fcn.004046f0
add esp, 0x1c
test eax, eax
jne 0x405a07
lea ecx, [esp + 4]
call fcn.00402300
xor eax, eax
jmp 0x405a27
lea ecx, [esp + 0x20]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00401120
add esp, 8
lea ecx, [esp + 4]
call fcn.00402300
mov eax, 1
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.00444b03
add esp, 0x43c
ret