joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40416a
Capabilities:
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
cmp byte [ebp + 8], 0
mov eax, dword [0x45752c]
mov dword [ebp - 4], eax
je 0x404352
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x404351
push dword [ebp + 0xc]
call fcn.00432170
cmp eax, edi
pop ecx
mov dword [ebp - 0x510], eax
jle 0x404351
push ebx
push esi
push 0x104
lea esi, [ebp - 0x108]
call fcn.00404133
pop ecx
push edi
mov esi, 0x80
push esi
push 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
jne 0x404217
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push esi
push 4
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
je 0x40434f
push 0
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x404254
cmp eax, 0x19000
jbe 0x404254
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
push 5
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
mov edi, eax
jmp 0x40425a
mov edi, dword [ebp - 0x50c]
cmp edi, 0xffffffff
je 0x40434f
push 2
xor ebx, ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x10], ebx
mov esi, dword [ebp - 0x510]
je 0x404293
push dword [ebp + 0x10]
call fcn.00432170
cmp eax, esi
pop ecx
jle 0x404293
push dword [ebp + 0x10]
call fcn.00432170
pop ecx
mov esi, eax
add esi, 0x64
push esi
call fcn.00433072
mov ebx, 0x446730
mov esi, eax
push ebx
push esi
call fcn.00432210
add esp, 0xc
cmp byte [ebp + 0x14], 0
je 0x4042ba
push edi
call fcn.0041b7af
pop ecx
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
call fcn.004323f8
lea eax, [ebp + 8]
push eax
call fcn.004343a8
push eax
push str._d__m__Y__H:_M:_S
lea eax, [ebp - 0x508]
push 0x400
push eax
call fcn.0043438d
lea eax, [ebp - 0x508]
push eax
push esi
call fcn.00432210
push edi
call fcn.0041b7af
push dword [ebp + 0xc]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0x30
cmp dword [ebp + 0x10], 0
je 0x404331
push dword [ebp + 0x10]
call fcn.00432170
test eax, eax
pop ecx
jbe 0x404331
push dword [ebp + 0x10]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push ebx
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00432126
pop ecx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
call fcn.0043215c
leave
ret
Function at 0x40435c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x45a098]
push esi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404427
push ebx
push edi
push 4
pop edi
push edi
mov dword [ebp - 0x10], edi
call fcn.00433072
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push esi
mov esi, str.WarnOnZoneCrossing
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jne 0x4043e4
cmp dword [ebp - 0x14], edi
jne 0x4043fd
push edi
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.004329f0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4043fd
xor eax, eax
inc eax
push edi
mov dword [0x45a098], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0
push esi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
je 0x404413
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0
push esi
push dword [ebp - 4]
call ebx
push dword [ebp - 0xc]
call fcn.00432126
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret

Function at 0x404b6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x20]
sub eax, edi
push eax
lea eax, [esi + edi]
push eax
call fcn.00404a17
add esp, 0xc
cmp edi, dword [ebp + 0x10]
mov ecx, edi
jae 0x404bad
xor edx, edx
mov eax, ecx
div dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
xor al, byte [ebp + 0x1c]
mov byte [ecx + esi], al
inc ecx
cmp ecx, dword [ebp + 0x10]
jb 0x404b91
pop edi
pop esi
pop ebp
ret
Function at 0x40fab2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x45752c]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.0040f9e3
cmp eax, esi
jne 0x40fb3a
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40fb03
lea eax, [ebp - 0x70]
push eax
call fcn.0040fab2
cmp eax, esi
jne 0x40fb39
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x40faf6
call fcn.0040f9cc
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0040f9cc
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.0043215c
add ebp, 0x94
leave
ret 4
Function at 0x40ff4a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40ff55
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x414dd0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
invalid
adc al, ch
loop 0x414d5f
add dword [eax], eax
test eax, eax
pop ecx
jbe 0x414da5
push dword [ebp + 0x10]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push ebx
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00432126
pop ecx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
call fcn.0043215c
leave
ret
push esi
jmp 0x414ddc
jle 0x414e21
arpl si, dx
mov ch, 0x91
movsd dword es:[edi], dword [esi]
mov ch, 0x75
sbb byte [ecx + 2], cl
jl 0x414d88
out 0x4e, eax
and ah, byte [ebx]
call [ebx + 0x76]
imul byte [0x9fb83085]
lahf
rcr byte [ebp + 0x5a0d1d60], 0x5b
pop edx
pop ebx
pop ecx
pop esp
pop eax
jmp 0x414e0d
pop esi
ret
add byte [esi - 0x77], dl
test dword [edi + eax + 0x458d0000], esi
mov al, 0x50

Function at 0x414f1b
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7b8]
sub esp, 0x838
mov eax, dword [0x45752c]
push esi
mov dword [ebp + 0x7b4], eax
lea eax, [ebp - 0x50]
push eax
push 0x20019
push 0
mov esi, ecx
push dword [esi + 0x100]
mov dword [ebp - 0x60], 0x800
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41500d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x415004
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
inc eax
push edi
push eax
call fcn.00433072
pop ecx
mov edi, eax
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x58]
push eax
push 0
push str.cdgfilename
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414ffc
cmp dword [ebp - 0x58], 1
jne 0x414ffc
push dword [esi + 0xfc]
call fcn.00432126
and dword [esi + 0xfc], 0
push edi
call fcn.00432170
inc eax
push eax
call fcn.00433072
push edi
push eax
mov dword [esi + 0xfc], eax
call fcn.00432210
add esp, 0x14
push edi
call fcn.0043306d
pop ecx
pop edi
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0xfc]
mov ecx, dword [ebp + 0x7b4]
pop esi
call fcn.0043215c
add ebp, 0x7b8
leave
ret
Function at 0x418234
Capabilities:
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
cmp byte [ebp + 8], 0
mov eax, dword [0x45752c]
mov dword [ebp - 4], eax
je 0x418450
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x41844f
push dword [ebp + 0xc]
call fcn.00432170
cmp eax, edi
pop ecx
mov dword [ebp - 0x510], eax
jle 0x41844f
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
mov byte [ebp - 0x108], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.00433ae0
cmp eax, edi
pop ecx
pop ecx
je 0x4182b7
mov byte [eax + 1], 0
lea eax, [ebp - 0x108]
push str.wrapperdl.tdat
push eax
call fcn.00432220
pop ecx
pop ecx
push ebx
push esi
push edi
mov esi, 0x80
push esi
push 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
jne 0x418315
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push esi
push 4
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
je 0x41844d
push 0
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x418352
cmp eax, 0x19000
jbe 0x418352
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
push 5
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
mov edi, eax
jmp 0x418358
mov edi, dword [ebp - 0x50c]
cmp edi, 0xffffffff
je 0x41844d
push 2
xor ebx, ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x10], ebx
mov esi, dword [ebp - 0x510]
je 0x418391
push dword [ebp + 0x10]
call fcn.00432170
cmp eax, esi
pop ecx
jle 0x418391
push dword [ebp + 0x10]
call fcn.00432170
pop ecx
mov esi, eax
add esi, 0x64
push esi
call fcn.00433072
mov ebx, 0x446730
mov esi, eax
push ebx
push esi
call fcn.00432210
add esp, 0xc
cmp byte [ebp + 0x14], 0
je 0x4183b8
push edi
call fcn.0041b7af
pop ecx
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
call fcn.004323f8
lea eax, [ebp + 8]
push eax
call fcn.004343a8
push eax
push str._d__m__Y__H:_M:_S
lea eax, [ebp - 0x508]
push 0x400
push eax
call fcn.0043438d
lea eax, [ebp - 0x508]
push eax
push esi
call fcn.00432210
push edi
call fcn.0041b7af
push dword [ebp + 0xc]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0x30
cmp dword [ebp + 0x10], 0
je 0x41842f
push dword [ebp + 0x10]
call fcn.00432170
test eax, eax
pop ecx
jbe 0x41842f
push dword [ebp + 0x10]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push ebx
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00432126
pop ecx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
call fcn.0043215c
leave
ret
Function at 0x41a912
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0x14c
mov eax, dword [0x45752c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp + 0xc8], eax
lea eax, [ebp - 0x40]
push eax
xor esi, esi
mov ebx, 0x20019
push ebx
push esi
push dword [ebp + 0xd8]
mov dword [ebp - 0x5c], 0x104
push dword [ebp + 0xd4]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], esi
call edi
test eax, eax
jne 0x41aa91
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41aa88
mov eax, dword [ebp - 0x44]
inc eax
push eax
mov dword [ebp - 0x4c], eax
call fcn.004321fb
push dword [ebp + 0xd8]
mov dword [ebp - 0x50], eax
call fcn.00432170
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
lea eax, [eax + ecx + 0xa]
push eax
call fcn.004321fb
add esp, 0xc
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x60]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
mov dword [ebp - 0x78], eax
jne 0x41aa62
push dword [ebp - 0x50]
push dword [ebp + 0xd8]
push str._s_s
push dword [ebp - 0x54]
call fcn.0043326c
add esp, 0x10
lea eax, [ebp - 0x48]
push eax
push ebx
push esi
push dword [ebp - 0x54]
push dword [ebp + 0xd4]
call edi
test eax, eax
jne 0x41aa6a
push dword [ebp + 0xe0]
push dword [ebp - 0x48]
call fcn.0041a3b4
cmp eax, esi
pop ecx
pop ecx
je 0x41aa57
mov edx, dword [ebp + 0xdc]
mov ecx, dword [edx]
cmp ecx, esi
jne 0x41aa4f
mov dword [edx], eax
jmp 0x41aa57
mov ecx, dword [ecx + 0x34]
cmp dword [ecx + 0x34], esi
jne 0x41aa4c
mov dword [ecx + 0x34], eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41aa6a
cmp eax, 0x103
je 0x41aa6a
nop
inc dword [ebp - 0x60]
cmp dword [ebp - 0x78], esi
je 0x41a9d2
push dword [ebp - 0x54]
call fcn.00432126
push dword [ebp - 0x50]
call fcn.00432126
pop ecx
pop ecx
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc8]
pop edi
pop esi
pop ebx
call fcn.0043215c
add ebp, 0xcc
leave
ret
Function at 0x41b7af
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
test esi, esi
je 0x41b7e2
push esi
call fcn.00432170
pop ecx
xor ecx, ecx
test eax, eax
jbe 0x41b7d1
xor byte [ecx + esi], 0x2f
inc ecx
cmp ecx, eax
jb 0x41b7c8
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x41b7e7
Capabilities:
Get file size
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
cmp byte [ebp + 8], 0
mov eax, dword [0x45752c]
mov dword [ebp - 4], eax
je 0x41ba03
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x41ba02
push dword [ebp + 0xc]
call fcn.00432170
cmp eax, edi
pop ecx
mov dword [ebp - 0x510], eax
jle 0x41ba02
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
mov byte [ebp - 0x108], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.00433ae0
cmp eax, edi
pop ecx
pop ecx
je 0x41b86a
mov byte [eax + 1], 0
lea eax, [ebp - 0x108]
push str.wrapperdl.tdat
push eax
call fcn.00432220
pop ecx
pop ecx
push ebx
push esi
push edi
mov esi, 0x80
push esi
push 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 2
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
jne 0x41b8c8
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push esi
push 4
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x50c], eax
je 0x41ba00
push 0
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x41b905
cmp eax, 0x19000
jbe 0x41b905
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
push 5
push 0
push 2
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
mov edi, eax
jmp 0x41b90b
mov edi, dword [ebp - 0x50c]
cmp edi, 0xffffffff
je 0x41ba00
push 2
xor ebx, ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp + 0x10], ebx
mov esi, dword [ebp - 0x510]
je 0x41b944
push dword [ebp + 0x10]
call fcn.00432170
cmp eax, esi
pop ecx
jle 0x41b944
push dword [ebp + 0x10]
call fcn.00432170
pop ecx
mov esi, eax
add esi, 0x64
push esi
call fcn.00433072
mov ebx, 0x446730
mov esi, eax
push ebx
push esi
call fcn.00432210
add esp, 0xc
cmp byte [ebp + 0x14], 0
je 0x41b96b
push edi
call fcn.0041b7af
pop ecx
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
call fcn.004323f8
lea eax, [ebp + 8]
push eax
call fcn.004343a8
push eax
push str._d__m__Y__H:_M:_S
lea eax, [ebp - 0x508]
push 0x400
push eax
call fcn.0043438d
lea eax, [ebp - 0x508]
push eax
push esi
call fcn.00432210
push edi
call fcn.0041b7af
push dword [ebp + 0xc]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0x30
cmp dword [ebp + 0x10], 0
je 0x41b9e2
push dword [ebp + 0x10]
call fcn.00432170
test eax, eax
pop ecx
jbe 0x41b9e2
push dword [ebp + 0x10]
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push ebx
push esi
call fcn.00432210
push edi
call fcn.0041b7af
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00432126
pop ecx
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
call fcn.0043215c
leave
ret
Function at 0x41d9fa
Capabilities:
Delete file

Disassembly:
mov eax, 0x44429b
call fcn.004329c4
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [esi], 0x449c90
mov dword [ebp - 4], ebx
je 0x41da5b
call fcn.0041c691
mov edi, eax
cmp edi, ebx
je 0x41da3f
mov eax, dword [esi + 0x1c]
push dword [eax + 4]
push 0x44f018
push edi
call fcn.0040c6ce
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [esi + 0x1c]
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41da4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xc], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esi + 0x20], ebx
je 0x41da7f
push dword [esi + 0x2c]
push 0x44f0b8
push dword [esi + 0x28]
call fcn.0040c6ce
mov eax, dword [esi + 0x20]
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x41da8c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x41da99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x30]
cmp dword [ecx], ebx
je 0x41daa5
call fcn.0041b726
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x41dab3
push eax
call fcn.0043306d
pop ecx
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x41dac1
push eax
call fcn.0043306d
pop ecx
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x41dacf
push eax
call fcn.0043306d
pop ecx
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x41dadd
push eax
call fcn.0043306d
pop ecx
lea eax, [esi + 0x48]
cmp byte [eax], bl
je 0x41daeb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41e3e1
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x45752c]
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, 0x446aea
push esi
push esi
push 1
push str.MyZylomActiveXPlugin
mov dword [ebp - 4], eax
mov byte [ebp - 0x11], bl
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x41e511
push ebx
push 0x4000000
push 3
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41e508
push ebx
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x41e4ff
cmp dword [ebp + 0x14], ebx
lea eax, [ebp - 0x10]
jne 0x41e456
push 0x449d8c
jmp 0x41e45b
push str.POST
push eax
call fcn.00432210
pop ecx
pop ecx
push edi
push ebx
push 0xa0000000
push ebx
push esi
push str.HTTP_1.0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
je 0x41e4fe
xor esi, esi
cmp dword [ebp + 0x18], ebx
jbe 0x41e4c6
cmp dword [ebp + 0x14], ebx
je 0x41e4c6
cmp dword [ebp + 0x1c], ebx
je 0x41e4c6
push dword [ebp + 0x1c]
call fcn.00432170
add eax, 0x14
push eax
call fcn.004321fb
mov esi, eax
push str.Content_Type:
push esi
call fcn.00432210
push dword [ebp + 0x1c]
push esi
call fcn.00432220
add esp, 0x18
cmp esi, ebx
jne 0x41e4ca
xor eax, eax
jmp 0x41e4d1
push esi
call fcn.00432170
pop ecx
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x14]
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x41e4f0
mov byte [ebp - 0x11], 1
push esi
call fcn.00432126
pop ecx
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x11]
pop esi
pop ebx
call fcn.0043215c
leave
ret