joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e091
Capabilities:
Delete file

Disassembly:
push 0xac
mov eax, 0x44709c
call fcn.00429daf
mov edi, ecx
lea ebx, [edi + 4]
push dword [ebx]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x98], ebx
call dword [sym.imp.USER32.dll_GetParent]
and dword [ebp - 4], 0
push 0x74
push 0
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ee
push dword [ebx]
mov dword [edi + 0x88], eax
call esi
push 0x3eb
push dword [ebx]
mov dword [ebp - 0xac], eax
call esi
push 0x640000
push 0
push 0x401
push eax
mov dword [ebp - 0x9c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x402
push dword [ebp - 0x9c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push dword [ebx]
call esi
mov dword [ebp - 0xa0], eax
push 0
lea eax, [edi + 0x80]
push eax
push 0xe
pop ebx
lea esi, [ebp - 0xa0]
call fcn.004065e0
mov eax, dword [ebp - 0x98]
pop ecx
pop ecx
push 0x3ef
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xa4], eax
push 0
lea eax, [edi + 0x84]
push eax
push 8
pop ebx
call fcn.004065e0
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
xor ebx, ebx
pop ecx
pop ecx
cmp byte [eax + 0x55], bl
jne 0x40e1fc
mov eax, dword [edi + 0x9c]
add eax, 0x50
push eax
lea esi, [ebp - 0x34]
call fcn.00402e8d
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x40e1a8
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40e1ee
push 0x4d
push str.An_unknown_error_has_been_occured._We_apologize_for_any_inconvenience_caused.
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
call fcn.0040366e
lea eax, [ebp - 0x50]
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00416a20
push 0x455268
mov eax, esi
push eax
call fcn.0042a64b
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00403a1b
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [edi + 0x94]
sub eax, dword [edi + 0x8c]
mov edi, dword [ebp - 0x98]
sub eax, edx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov esi, 0xc8
sub esi, eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004081d9
pop ecx
mov edx, edi
lea ecx, [esi + 0x14]
lea edi, [ebp - 0xac]
mov dword [ebp - 0xb4], eax
call fcn.004080a2
mov edx, dword [ebp - 0x98]
lea ecx, [esi + 0x14]
lea edi, [ebp - 0xa0]
call fcn.004080a2
mov edx, dword [ebp - 0x98]
lea ecx, [esi + 0x14]
lea edi, [ebp - 0x9c]
call fcn.004080a2
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x98]
lea ecx, [eax + esi + 0x14]
lea edi, [ebp - 0xa4]
call fcn.004080a2
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0xac]
push eax
mov ecx, esi
call fcn.0040eaef
lea eax, [ebp - 0xa0]
push eax
mov ecx, esi
call fcn.0040eaef
lea eax, [ebp - 0x9c]
push eax
mov ecx, esi
call fcn.0040eaef
mov eax, edi
push eax
mov ecx, esi
call fcn.0040eaef
mov ecx, esi
call fcn.0040ebb8
xor eax, eax
inc eax
call fcn.00429e0b
ret
Function at 0x40e3e9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x45a400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x60], 0
push edi
mov ebx, edx
jne 0x40e5d0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3eb
push dword [esi + 4]
call edi
push 0xffffffffffffffff
push dword [esi + 4]
mov dword [ebp - 0x310], eax
call edi
push 0x3ef
push dword [esi + 4]
mov dword [ebp - 0x30c], eax
call edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x314], eax
cmp esi, 0xffffffff
jne 0x40e486
push 0
push 0
push 0x402
push dword [ebp - 0x310]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0x14], 0x10
jb 0x40e465
mov ebx, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextA]
push ebx
push dword [ebp - 0x30c]
call esi
push 0x44c430
push dword [ebp - 0x314]
call esi
jmp 0x40e5d0
fild dword [ebp + 8]
xor ecx, ecx
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40e4aa
fild dword [ebp + 0xc]
fmul qword [0x44cd40]
fdivrp st(1)
call fcn.0042a5a0
mov ecx, eax
jmp 0x40e4ac
fstp st(0)
cmp dword [ebp + 0xc], esi
jne 0x40e4b4
push 0x64
pop ecx
push 0
push ecx
push 0x402
push dword [ebp - 0x310]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 0xff
push esi
lea eax, [ebp - 0x307]
push 0
push eax
mov byte [ebp - 0x308], 0
call fcn.0042a4a0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x30c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [ebx + 0x14], 0x10
jb 0x40e508
mov eax, dword [ebx]
jmp 0x40e50a
mov eax, ebx
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0042930e
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
pop ecx
pop ecx
test eax, eax
je 0x40e534
cmp dword [ebx + 0x14], 0x10
jb 0x40e52b
mov ebx, dword [ebx]
push ebx
push dword [ebp - 0x30c]
call edi
push 0x7f
xor ebx, ebx
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], 0
call fcn.0042a4a0
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x87]
push ebx
push eax
mov byte [ebp - 0x88], bl
call fcn.0042a4a0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
call fcn.0040e371
push dword [ebp + 8]
lea ecx, [ebp - 0x88]
call fcn.0040e371
push esi
lea eax, [ebp - 0x207]
push ebx
push eax
mov byte [ebp - 0x208], bl
call fcn.0042a4a0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
push str.Downloaded:__s_of__s
lea eax, [ebp - 0x208]
push 0x80
push eax
call fcn.004288d3
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
push dword [ebp - 0x314]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428263
leave
ret 8
Function at 0x40f284
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Get common file path
Get file attributes

Disassembly:
push 0x1a8
mov eax, 0x4469d6
call fcn.00429d79
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x117]
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.0042a4a0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push ebx
push ebx
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x40f318
push 0x4d
push str.An_unknown_error_has_been_occured._We_apologize_for_any_inconvenience_caused.
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
call fcn.0040366e
lea eax, [ebp - 0x16c]
lea esi, [ebp - 0x1b0]
mov dword [ebp - 4], ebx
call fcn.00416a20
push 0x455268
mov eax, esi
push eax
call fcn.0042a64b
push 0xf
pop edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f336
sub eax, esi
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x134]
call fcn.0040366e
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x124]
cmp ecx, ebx
je 0x40f390
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x40f378
lea eax, [ebp - 0x134]
cmp byte [eax + ecx - 1], 0x5c
je 0x40f390
push 0x44b3dc
lea eax, [ebp - 0x134]
push eax
call fcn.00402eb1
push str.Downloads_
lea eax, [ebp - 0x134]
push eax
call fcn.00402eb1
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x40f3b6
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f3df
cmp dword [ebp - 0x120], 0x10
mov eax, dword [ebp - 0x134]
jae 0x40f3d7
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
mov edi, dword [ebp - 0x1b4]
add edi, 0x1c
push edi
lea ebx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00407928
pop ecx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x150]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x134]
call fcn.00403159
cmp dword [ebp - 0x120], 0x10
mov ecx, dword [ebp - 0x134]
jae 0x40f434
mov ecx, esi
cmp dword [edi + 0x14], 0x10
jb 0x40f43e
mov eax, dword [edi]
jmp 0x40f440
mov eax, edi
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [edi + 0x14], 0x10
jb 0x40f453
mov eax, dword [edi]
jmp 0x40f455
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x134]
push eax
mov ecx, edi
call fcn.00403978
push ebx
push 1
lea ecx, [ebp - 0x150]
call fcn.00403a1b
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.00403a1b
call fcn.00429dfc
ret 4
Function at 0x40fee8
Capabilities:
Hide graphical window

Disassembly:
push 0x5c
mov eax, 0x447433
call fcn.00429daf
mov edi, ecx
lea esi, [edi + 4]
push dword [esi]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], esi
call dword [sym.imp.USER32.dll_GetParent]
xor ebx, ebx
push 0xf
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], ebx
pop eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea eax, [ebp - 0x4c]
push eax
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040fa56
cmp byte [eax + 0x39], bl
jne 0x40ff50
push 0x75
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [edi + 0x1b0], eax
push 0x74
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push 0xffffffffffffffff
push dword [esi]
mov dword [edi + 0x1ac], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x5c], eax
push ebx
lea eax, [edi + 0x1a4]
push eax
push 0xb
pop ebx
lea esi, [ebp - 0x5c]
call fcn.004065e0
mov eax, dword [ebp - 0x54]
pop ecx
pop ecx
push 0x3ed
push dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x50], eax
push 0
lea eax, [edi + 0x1a8]
push eax
push 9
pop ebx
lea esi, [ebp - 0x50]
call fcn.004065e0
mov ebx, dword [ebp - 0x54]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
pop ecx
push 0x3ef
push dword [ebx]
call esi
push 0x3f0
push dword [ebx]
mov dword [ebp - 0x60], eax
call esi
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x1c4]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [edi + 0x1bc]
sub eax, dword [edi + 0x1b4]
mov esi, 0xc8
sub eax, edx
add eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
sub esi, ecx
add esi, 0x14
mov edx, ebx
mov ecx, esi
lea edi, [ebp - 0x5c]
call fcn.004080a2
mov edx, ebx
mov ecx, esi
lea edi, [ebp - 0x50]
call fcn.004080a2
mov edx, ebx
mov ecx, esi
lea edi, [ebp - 0x60]
call fcn.004080a2
mov edx, ebx
mov ecx, esi
lea edi, [ebp - 0x64]
call fcn.004080a2
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00410dea
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.00410dea
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.00410dea
mov eax, edi
push eax
mov ecx, esi
call fcn.00410dea
push dword [ebx]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push 4
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebx]
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx]
call esi
push 0x3025
push eax
call edi
mov ecx, dword [ebp - 0x58]
push 0
mov dword [ecx + 0x1a0], eax
push 1
lea ecx, [ebp - 0x30]
call fcn.00403a1b
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403a1b
xor eax, eax
inc eax
call fcn.00429e0b
ret
Function at 0x4136ef
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x4473fe
call fcn.00429d79
push 0x3eb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x640000
push 0
mov ebx, 0x401
push ebx
push eax
mov dword [ebp - 0x30], eax
call esi
push 0
push 1
push 0x402
push dword [ebp - 0x30]
call esi
lea eax, [edi + 0xc8]
push eax
lea esi, [ebp - 0x2c]
call fcn.00402e8d
push str.:_Unpacking
lea eax, [ebp - 0x2c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00402eb1
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41375e
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x34]
push ecx
push esi
lea eax, [edi + 0x20]
push eax
push 0x411431
push esi
mov dword [edi + 0xa4], edi
push esi
mov byte [eax + 0x2c], 1
call fcn.004293ea
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0xfa
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push esi
push 1
lea ecx, [ebp - 0x2c]
mov dword [edi + 0xc4], eax
call fcn.00403a1b
xor eax, eax
call fcn.00429dfc
ret

Function at 0x413f91
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push accept
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413fbd
xor eax, eax
jmp 0x414020
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0x22
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x14], eax
cmp eax, esi
je 0x413fb9
push eax
mov dword [ebx + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
jne 0x413ff3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413fb9
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x413fea
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x34], esi
call fcn.004145d3
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x414435
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x274c
call fcn.0042a390
mov eax, dword [0x45a400]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x2738], 0
push esi
push edi
push dword [ebx + 0x14]
mov dword [ebp - 0x2744], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea esi, [ebx + 4]
push esi
mov dword [ebx + 0x1c], eax
call fcn.004146d5
mov eax, dword [ebx + 0x3c]
add eax, 0xd
mov dword [ebx + 0x38], eax
jmp 0x414581
push dword [ebp - 0x2738]
lea eax, [ebp - 0x271c]
push dword [ebp - 0x2744]
push 0x2710
push eax
call fcn.004288d3
add esp, 0x10
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x271c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2740], eax
cmp eax, 0xffffffff
je 0x4145b4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4145b4
push 0
lea ecx, [ebp - 0x274c]
push ecx
push dword [ebp - 0x273c]
push eax
push dword [ebp - 0x2740]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x2740]
mov dword [ebp - 0x2748], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x2748], 0
je 0x4145b4
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x2734]
cmp eax, ecx
jae 0x414558
mov edx, dword [esi]
cmp edx, eax
ja 0x414558
sub eax, edx
push 0x18
cdq
pop edi
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x414546
call fcn.0041470d
mov eax, dword [esi + 4]
imul edi, edi, 0x18
add edi, dword [esi]
test eax, eax
je 0x414574
mov esi, edi
mov edi, eax
jmp 0x41456f
cmp ecx, dword [esi + 8]
jne 0x414562
call fcn.0041470d
mov edi, dword [esi + 4]
test edi, edi
je 0x414574
lea esi, [ebp - 0x2734]
push 6
pop ecx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 4]
add dword [esi + 4], 0x18
inc dword [ebp - 0x2738]
lea eax, [ebp - 0x272c]
push eax
lea eax, [ebp - 0x2734]
push eax
lea eax, [ebp - 0x2724]
push eax
lea eax, [ebp - 0x273c]
push eax
lea eax, [ebp - 0x2720]
mov ecx, ebx
call fcn.0041427d
mov edi, eax
test edi, edi
jne 0x414481
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x2738]
pop edi
xor ecx, ebp
pop esi
call fcn.00428263
leave
ret 4
Function at 0x414b6a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x45a400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x44b696
push esi
lea ecx, [edi + 0xac]
call fcn.004036e3
push esi
lea ecx, [edi + 0xc8]
call fcn.004036e3
lea esi, [edi + 0xe4]
call fcn.00414988
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x414bbd
xor eax, eax
jmp 0x414be9
call fcn.00432a40
mov ebx, esp
push esi
push 0
push ebx
call fcn.0042a4a0
add esp, 0xc
push ebx
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x414bb9
push esi
mov ecx, ebx
call fcn.00414bfd
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428263
leave
ret 4

Function at 0x41542e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x415447
push 0x80004005
call fcn.00403585
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, ebx
je 0x415496
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x415494
cmp dword [ebp + 0x10], ebx
jbe 0x415491
cmp dword [ebp + 0x10], 2
jbe 0x41549d
cmp dword [ebp + 0x10], 7
jne 0x415491
cmp ecx, 1
jb 0x415491
lea edx, [ecx + esi]
cmp byte [edx - 1], bl
jne 0x415491
cmp ecx, 1
jbe 0x415496
cmp byte [edx - 2], bl
je 0x415496
push 0xd
pop eax
mov byte [esi], bl
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp byte [ecx + esi - 1], bl
jmp 0x41548f
Function at 0x416f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x417190
push 0
push 0
mov word [eax + 0x18], 1
call fcn.004293ea
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x417450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4451b5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45a400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CConfigManager.0
mov dword [ebp - 4], 5
mov edi, dword [esi + 0x74]
xor ebx, ebx
cmp edi, dword [esi + 0x78]
je 0x4174a8
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4174a0
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
add edi, 4
cmp edi, dword [esi + 0x78]
jne 0x417492
cmp dword [esi + 0x98], 0x10
jb 0x4174c0
mov eax, dword [esi + 0x84]
push eax
call fcn.00428258
add esp, 4
mov edi, 0xf
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], ebx
mov byte [esi + 0x84], bl
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x4174e7
push eax
call fcn.00428258
add esp, 4
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
cmp dword [esi + 0x6c], 0x10
jb 0x417502
mov ecx, dword [esi + 0x58]
push ecx
call fcn.00428258
add esp, 4
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
cmp dword [esi + 0x50], 0x10
jb 0x41751d
mov edx, dword [esi + 0x3c]
push edx
call fcn.00428258
add esp, 4
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
cmp dword [esi + 0x34], 0x10
jb 0x417538
mov eax, dword [esi + 0x20]
push eax
call fcn.00428258
add esp, 4
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
cmp dword [esi + 0x18], 0x10
jb 0x417553
mov ecx, dword [esi + 4]
push ecx
call fcn.00428258
add esp, 4
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
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 0x41c035
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp 0x41c735
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
call fcn.0041ceeb
pop edi
test eax, eax
jne 0x41c755
and dword [esi + 0x308], eax
lea ecx, [esi + 8]
pop esi
jmp fcn.0041f38a
pop esi
ret

Function at 0x41c468
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x41c479
pop ebp
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
pop ebp
ret

Function at 0x41cac3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4e24
call fcn.0042a390
mov eax, dword [0x45a400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x2714]
push ecx
push eax
call fcn.0041ca3e
lea eax, [ebp - 0x2714]
push eax
call fcn.0042a410
mov edi, eax
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0x2714], 0x5c
jne 0x41cb4c
cmp byte [ebp - 0x2713], 0x5c
jne 0x41cb4c
lea eax, [ebp - 0x2712]
push 0x5c
push eax
call fcn.0042a1a0
pop ecx
pop ecx
test eax, eax
je 0x41cb36
inc eax
push 0x5c
push eax
call fcn.0042a1a0
pop ecx
pop ecx
test eax, eax
je 0x41cb36
inc eax
jne 0x41cb42
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41cbb6
lea ecx, [ebp - 0x2714]
sub eax, ecx
jmp 0x41cb58
cmp byte [ebp - 0x2713], 0x3a
jne 0x41cb58
push 3
pop eax
push esi
mov esi, eax
cmp eax, edi
jge 0x41cbb2
mov al, byte [ebp + esi - 0x2714]
cmp al, 0x5c
je 0x41cb6e
cmp al, 0x2f
jne 0x41cbad
push esi
lea eax, [ebp - 0x2714]
push eax
lea eax, [ebp - 0x4e24]
push eax
call fcn.00429e20
add esp, 0xc
push 0
lea eax, [ebp - 0x4e24]
push eax
mov byte [ebp + esi - 0x4e24], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41cbad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41cbc3
inc esi
cmp esi, edi
jl 0x41cb5f
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00428263
leave
ret
xor eax, eax
jmp 0x41cbb5

Function at 0x41d30e
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0x9c], 4
je 0x41d330
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffd
push eax
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
Function at 0x41e051
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0xffffffff
je 0x41e068
xor eax, eax
inc eax
jmp 0x41e15c
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp dword [ebp + 8], ebx
je 0x41e0fb
push dword [esi + 0x7c]
call edi
cmp eax, 0xffffffff
jne 0x41e0fb
lea ecx, [esi + 0xb8]
call fcn.00420961
test eax, eax
je 0x41e0fb
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 0x24], 0xffffffff
push ebx
lea eax, [ebp - 0x50]
push eax
push ebx
lea ecx, [esi + 0xb8]
mov dword [ebp - 0x34], ebx
call fcn.00420bca
lea ecx, [esi + 0xb8]
call fcn.00420961
cmp eax, 1
jne 0x41e0d0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x50]
jne 0x41e0d0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x4c]
je 0x41e0fb
cmp dword [ebp + 0xc], ebx
jne 0x41e0e3
push 2
push 0x44b696
mov ecx, esi
call fcn.0041cebd
or dword [esi + 0x54], 8
cmp dword [ebp + 0xc], ebx
jne 0x41e0f6
push ebx
push 0x15
mov ecx, esi
call fcn.0041cfcc
or eax, 0xffffffff
jmp 0x41e15a
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [esi + 0x7c]
mov dword [esi + 0x4c], eax
call edi
test byte [esi + 0x9c], 4
je 0x41e136
test al, 2
jne 0x41e136
or eax, 2
push eax
push dword [esi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esi + 0x4c], 0xffffffff
jne 0x41e140
xor eax, eax
jmp 0x41e15a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41e157
push dword [esi + 0x4c]
mov ecx, esi
call fcn.0041d3a9
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret 8