joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c1c0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00408740
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41c24c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x41c227
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x41c232
mov esi, 0x80004005
push esi
push 0x24e
push 0x4442dc
call fcn.004315ca
push 0x4442c0
jmp 0x41c2fa
lea eax, [ebp - 0x78]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.0041c108
mov esi, eax
cmp esi, edi
jge 0x41c26a
push 0x44429a
jmp 0x41c2fa
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x41c2e2
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push 0x444292
push eax
call fcn.004300a2
mov esi, eax
add esp, 0xc
cmp esi, edi
jge 0x41c2a0
push 0x444268
jmp 0x41c2fa
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
push dword [ebp - 0x74]
call fcn.0041c108
mov esi, eax
cmp esi, edi
jge 0x41c2be
push 0x44423c
jmp 0x41c2fa
push dword [ebp - 0x7c]
mov esi, dword [ebp - 0x78]
push dword [ebp - 0x74]
sub esi, dword [ebp - 0x7c]
push dword [ebp - 0x7c]
lea eax, [ebp + esi*2 - 0x70]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x41c2e2
mov dword [ebp - 0x78], esi
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.0042fb3e
mov esi, eax
cmp esi, edi
jge 0x41c302
push 0x444220
push esi
call fcn.004315b6
pop ecx
pop ecx
cmp dword [ebp - 0x74], edi
je 0x41c30f
push dword [ebp - 0x74]
call fcn.0042ecb2
mov ecx, dword [ebp + 0x198]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004084b8
add ebp, 0x19c
leave
ret

Function at 0x4209a6
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
mov esi, ecx
call fcn.00408740
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x420a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4209fe
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x420a09
mov esi, 0x80004005
push esi
push 0x45d
push 0x446162
call fcn.004315ca
push 0x446136
jmp 0x420a41
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x43e942
push edi
call fcn.004300a2
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x420a49
push 0x4460f6
push esi
call fcn.004315b6
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004084b8
leave
ret
Function at 0x420b54
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov ecx, 0x20000004
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
je 0x420be1
lea eax, [ebp - 4]
push eax
push 0x1a
call fcn.00420aa4
mov esi, eax
cmp esi, edi
jge 0x420b8c
push 0x446234
jmp 0x420bd2
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x420bdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x420bb2
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, edi
jl 0x420bbd
mov esi, 0x80004005
push esi
push 0x599
push 0x446162
call fcn.004315ca
push 0x44621a
push esi
call fcn.004315b6
pop ecx
pop ecx
jmp 0x420c0c
mov ecx, 0x20000005
push 0x7d0
push 3
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 4]
push ecx
push 1
push dword [ebp + 0xc]
call fcn.00436484
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 4], edi
je 0x420c19
push dword [ebp - 4]
call fcn.00431962
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x42204e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x44f9f8]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
mov esi, dword [ebp + 0x1ec]
xor ebx, ebx
push 0x250
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
call fcn.00408740
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0x4030d4
push dword [ebp + 0x1e8]
call fcn.00420820
test eax, eax
js 0x4220b2
push 7
push dword [ebp - 0x78]
call fcn.004358bc
cmp dword [ebp + 0x1e8], ebx
jne 0x422170
push edi
lea edi, [ebp - 0x78]
mov ecx, esi
call fcn.004209a6
pop edi
test eax, eax
js 0x422170
lea eax, [ebp - 0x80]
push eax
push 0x446e00
push dword [ebp - 0x78]
call fcn.0043094a
test eax, eax
js 0x422170
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x422170
test byte [ebp - 0x74], 0x10
jne 0x42215a
xor eax, eax
mov word [ebp + 0x1be], ax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jbe 0x42213e
push 0x2e
add eax, eax
pop ecx
cmp cx, word [ebp + eax - 0x4c]
jne 0x42213e
movzx eax, word [ebp + eax - 0x4a]
push 0x52
pop ecx
cmp cx, ax
je 0x42215a
push 0x72
pop ecx
cmp cx, ax
je 0x42215a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x78]
call fcn.0043094a
test eax, eax
js 0x42215a
push dword [ebp - 0x7c]
call fcn.0043506c
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4220ff
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x7c], ebx
je 0x42217d
push dword [ebp - 0x7c]
call fcn.0042ecb2
cmp dword [ebp - 0x80], ebx
je 0x42218a
push dword [ebp - 0x80]
call fcn.0042ecb2
cmp dword [ebp - 0x78], ebx
pop esi
pop ebx
je 0x422199
push dword [ebp - 0x78]
call fcn.0042ecb2
mov ecx, dword [ebp + 0x1dc]
xor ecx, ebp
call fcn.004084b8
add ebp, 0x1e0
leave
ret 8
Function at 0x4297ce
Capabilities:
Copy file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 4]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov edi, 0x43b9c2
cmp eax, ebx
je 0x4297ee
mov ecx, dword [eax]
jmp 0x4297fb
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4297f9
mov ecx, dword [ecx]
jmp 0x4297fb
mov ecx, edi
mov edx, dword [esi + 0xc]
test edx, edx
je 0x429804
mov edi, dword [edx]
test eax, eax
je 0x429816
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x429825
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [ebp + 8]
push 0x44a932
push edi
push ecx
push eax
push 1
call fcn.0040c35a
add esp, 0x18
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00434bc4
test eax, eax
je 0x4298a9
test byte [ebp - 4], 1
je 0x4298a9
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4298a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429878
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x429883
mov ebx, 0x80004005
push ebx
push 0x4df
push 0x44a80c
call fcn.004315ca
push dword [ebp + 0xc]
push 0x44a8f4
push ebx
call fcn.004315b6
add esp, 0xc
jmp 0x429931
push 0
lea edi, [esi + 0x20]
push edi
push esi
push fcn.00429130
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x429931
cmp dword [edi], ebx
je 0x4298ee
mov esi, 0x80070642
push esi
push 0x4e9
push 0x44a80c
mov ebx, esi
call fcn.004315ca
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x44a8c4
push esi
jmp 0x429929
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429902
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x42990d
mov ebx, 0x80004005
push ebx
push 0x4ed
push 0x44a80c
call fcn.004315ca
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x44a890
push ebx
call fcn.004315b6
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x42993a
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebx + 4]
and dword [ebp - 4], 0
push esi
push edi
mov esi, 0x43b9c2
test ecx, ecx
je 0x429958
mov eax, dword [ecx]
jmp 0x429961
mov eax, dword [ebx + 8]
test eax, eax
je 0x429966
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x429969
mov dword [ebp - 8], esi
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x429977
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x42997a
mov dword [ebp - 0xc], esi
lea esi, [ecx + 0x2c]
test ecx, ecx
jne 0x4299aa
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x14]
lea esi, [edx + 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x4299b5
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x4299c4
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x1c]
jmp 0x42998d
mov eax, dword [ebx + 8]
neg eax
sbb eax, eax
and eax, 3
add eax, 0x2000014f
push dword [esi]
push 0x44a968
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push 1
call fcn.0040c35a
mov edi, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push edi
call fcn.00434bc4
test eax, eax
je 0x429a4a
test byte [ebp - 4], 1
je 0x429a4a
and dword [ebp - 4], 0xfffffffe
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429a4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x429a19
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x429a24
mov edi, 0x80004005
push edi
push 0x50d
push 0x44a80c
call fcn.004315ca
push dword [ebp + 8]
push 0x44a8f4
push edi
call fcn.004315b6
add esp, 0xc
jmp 0x429ad9
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], fcn.00429130
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
push 0x62
pop ecx
cmp cx, word [eax]
jne 0x429aa7
push 0x69
pop ecx
cmp cx, word [eax + 2]
jne 0x429aa7
push 0x74
pop ecx
cmp cx, word [eax + 4]
jne 0x429aa7
push 0x73
pop ecx
cmp cx, word [eax + 6]
jne 0x429aa7
movzx ecx, word [eax + 8]
push 0x3a
pop edx
cmp dx, cx
je 0x429a9a
push 0x73
pop edx
cmp dx, cx
jne 0x429aa7
push 0x3a
pop ecx
cmp cx, word [eax + 0xa]
jne 0x429aa7
push edi
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0042e6a8
jmp 0x429ac0
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push dword [ebp - 0x14]
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push dword [ebx]
call fcn.0042df00
mov edi, eax
test edi, edi
jns 0x429ad9
push dword [ebp + 8]
push dword [esi]
push 0x44a938
push edi
call fcn.004315b6
add esp, 0x10
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x42d168
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [esp + 0xc]
or dword [esi + 0x3c], 0xffffffff
push edi
xor ebx, ebx
push ebx
push dword [esp + 0x18]
lea eax, [esi + 0x1c]
push eax
call fcn.0042fb3e
mov edi, eax
cmp edi, ebx
jge 0x42d195
push 0x44be46
jmp 0x42d27a
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x24], eax
cmp eax, ebx
jne 0x42d1df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d1bd
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42d1c8
mov edi, 0x80004005
push edi
push 0x78
push 0x44ba16
call fcn.004315ca
push 0x44be1e
jmp 0x42d27a
push ebx
push ebx
push 1
push ebx
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
jne 0x42d220
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d201
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42d20c
mov edi, 0x80004005
push edi
push 0x7b
push 0x44ba16
call fcn.004315ca
push 0x44bdf2
jmp 0x42d27a
push ebx
push ebx
push esi
push 0x42cf20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
cmp eax, ebx
jne 0x42d26a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d24b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x42d256
mov edi, 0x80004005
push edi
push 0x7f
push 0x44ba16
call fcn.004315ca
push 0x44bdce
jmp 0x42d27a
call fcn.0042c8b6
mov edi, eax
cmp edi, ebx
jge 0x42d282
push 0x44bda6
push edi
call fcn.004315b6
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
Function at 0x42d53e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004208a8
mov dword [ebp - 4], eax
cmp eax, ebx
jge 0x42d57b
push dword [ebp + 8]
push 0x44c050
push eax
call fcn.004315b6
add esp, 0xc
jmp 0x42d62f
mov eax, dword [ebp + 0xc]
push ebx
push 0x80
push 4
push ebx
push 4
push 0xc0000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x42d5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d5b2
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d5c0
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0xd0
push 0x44bf4c
call fcn.004315ca
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0x44c02e
push dword [ebp - 4]
jmp 0x42d56e
push ebx
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, edi
push eax
lea eax, [edi + esi]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42d638
add edi, dword [ebp - 8]
cmp dword [ebp - 8], ebx
je 0x42d60a
cmp edi, 8
jb 0x42d5e1
cmp edi, 8
je 0x42d614
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
or dword [ebp + 8], 0xffffffff
mov dword [eax], ecx
cmp dword [ebp + 8], 0xffffffff
je 0x42d62f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d64c
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d65a
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0xd7
push 0x44bf4c
call fcn.004315ca
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0x44c00e
push dword [ebp - 4]
call fcn.004315b6
add esp, 0xc
jmp 0x42d620
Function at 0x42d684
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push ebx
push ebx
push dword [esi + 4]
mov dword [ebp - 8], ebx
push dword [esi]
push dword [ebp + 0xc]
call fcn.004352fa
mov dword [ebp - 4], eax
cmp eax, ebx
jge 0x42d6ba
push 0x44bedc
push eax
call fcn.004315b6
pop ecx
pop ecx
jmp 0x42d827
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42d7a0
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x42d826
xor edi, edi
mov dword [ebp - 0xc], ebx
push ebx
lea ecx, [ebp - 0xc]
push ecx
sub eax, edi
push eax
mov eax, dword [ebp + 0x1c]
add eax, edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42d7de
add edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], ebx
je 0x42d714
cmp edi, eax
jb 0x42d6e6
add dword [esi], edi
adc dword [esi + 4], ebx
cmp dword [ebp + 0x10], 0xffffffff
je 0x42d768
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x10], ebx
call fcn.004352fa
cmp eax, ebx
jge 0x42d743
push 0x44bedc
push eax
call fcn.004315b6
pop ecx
pop ecx
jmp 0x42d768
push ebx
lea eax, [ebp - 0x10]
push eax
push 8
pop eax
sub eax, edi
push eax
lea eax, [esi + edi*8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add edi, dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
je 0x42d768
cmp edi, 8
jb 0x42d743
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x42d792
cmp dword [eax], ebx
je 0x42d792
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [esi + 4]
push dword [esi]
push eax
call fcn.0042198c
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d819
cmp dword [ebp - 8], ebx
jne 0x42d6bb
jmp 0x42d826
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d7b4
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d7c2
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1ad
push 0x44bf4c
call fcn.004315ca
push 0x44c0ca
push dword [ebp - 4]
jmp 0x42d81f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42d7f2
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp eax, ebx
jl 0x42d800
mov dword [ebp - 4], 0x80004005
push dword [ebp - 4]
push 0x1b9
push 0x44bf4c
call fcn.004315ca
push 0x44c0a6
jmp 0x42d7d9
push 0x44c088
push eax
call fcn.004315b6
pop ecx
pop ecx
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x20
Function at 0x42df00
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x18]
push ebx
push dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0042fb3e
mov esi, eax
cmp esi, ebx
jge 0x42df57
push 0x44c360
push esi
call fcn.004315b6
pop ecx
pop ecx
jmp 0x42e0b1
push ebx
push ebx
push ebx
push ebx
push 0x44c356
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x42dfa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42df81
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x42df8c
mov esi, 0x80004005
push esi
push 0x93
push 0x44bf4c
call fcn.004315ca
push 0x44c336
jmp 0x42df4a
lea eax, [ebp - 0xc]
push eax
push 0x78
push 0x44c316
push 0x40314c
call fcn.00437126
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x42dff5
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 2
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 6
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 5
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 8]
lea eax, [ebp - 8]
push dword [edi + 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0042dbca
mov esi, eax
cmp esi, ebx
jge 0x42e030
push dword [ebp - 8]
push 0x44c2ec
push esi
call fcn.004315b6
add esp, 0xc
jmp 0x42e0b1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x24]
lea esi, [ebp - 0x1c]
call fcn.0042d53e
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x24]
push dword [edi + 8]
push dword [edi + 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0042dc8a
mov esi, eax
cmp esi, ebx
jge 0x42e08f
push dword [ebp - 8]
push 0x44c2d0
push esi
call fcn.004315b6
add esp, 0xc
jmp 0x42e0a2
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x42e0a2
cmp word [eax], bx
je 0x42e0a2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0xffffffff
je 0x42e0b1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x42e0be
push dword [ebp - 0x14]
call fcn.0042ecb2
cmp dword [ebp - 4], ebx
je 0x42e0cc
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
je 0x42e0d9
push dword [ebp - 8]
call fcn.0042ecb2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20
Function at 0x4307a6
Capabilities:
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x43086b
cmp word [eax], bx
je 0x43086b
push ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0042fb3e
mov esi, eax
cmp esi, ebx
jl 0x4308ee
lea eax, [ebp - 4]
push eax
call fcn.0043074e
mov esi, eax
cmp esi, ebx
jl 0x4308ee
mov ebx, dword [ebp + 0x14]
xor edi, edi
inc edi
cmp dword [ebp + 0x10], edi
jb 0x4308e2
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004300a2
mov esi, eax
add esp, 0xc
test esi, esi
js 0x4308ee
push dword [ebp - 8]
push dword [ebp - 4]
push 0x44c8ec
push ebx
call fcn.004300a2
mov esi, eax
add esp, 0x10
test esi, esi
js 0x4308ee
xor esi, esi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4308e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4308c3
inc edi
mov esi, 0x800700b7
cmp edi, dword [ebp + 0x10]
jbe 0x430803
jmp 0x4308ee
mov edi, 0x104
push edi
lea eax, [ebp - 4]
push eax
call fcn.0042eb9e
mov esi, eax
cmp esi, ebx
jl 0x4308ee
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4307f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4308a6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x4308b1
mov esi, 0x80004005
push esi
push 0x2cf
push 0x44c8ba
call fcn.004315ca
jmp 0x4308ee
cmp eax, 3
jne 0x4308d2
push esi
push dword [ebx]
call fcn.004357ec
jmp 0x4308e0
cmp eax, esi
jle 0x4308e0
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
js 0x4308ee
push ebx
call fcn.0043074e
mov esi, eax
cmp dword [ebp - 8], 0
je 0x4308fc
push dword [ebp - 8]
call fcn.0042ecb2
cmp dword [ebp - 4], 0
je 0x43090a
push dword [ebp - 4]
call fcn.0042ecb2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x430914
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, dword [esp + 0xc]
push 0x104
push esi
call fcn.0042eb9e
test eax, eax
js 0x430946
push dword [esi]
push 0
push 0
push dword [esp + 0x14]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x430946
push esi
call fcn.0043074e
pop esi
ret 8