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

Disassembly:
push 0x144
mov eax, 0x100adad4
call fcn.10091010
mov esi, ecx
push 0x100bc7cc
lea ecx, [ebp - 0x14c]
call fcn.10006fbe
xor ebx, ebx
lea eax, [ebp - 0x11c]
push 0x104
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10090560
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [eax + 0xac], ebx
je 0x1003f118
push 1
push 0x1a
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
js 0x1003f107
lea eax, [ebp - 0x11c]
push eax
call fcn.10006fa1
pop ecx
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10006f28
mov edi, 0x100bc500
push edi
call fcn.10006fa1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14c]
call fcn.10006a1b
sub esp, 0x18
mov ecx, esp
push 0x100ca464
call fcn.10006fbe
call fcn.10035d1f
test al, al
je 0x1003f0d8
push 0x299
push 0x100ca408
push 0x100ca478
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
cmp dword [ebp - 0x138], 0x10
lea eax, [ebp - 0x14c]
push ecx
cmovae eax, dword [ebp - 0x14c]
push eax
call fcn.10035fc0
lea eax, [ebp - 0x134]
mov ecx, esi
push eax
call fcn.1003d70d
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.100072c0
jmp 0x1003f137
push 0x2a2
push 0x100ca408
push 0x100ca498
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
lea eax, [ebp - 0x14c]
mov ecx, esi
push eax
call fcn.1003d70d
jmp 0x1003f137
push 0x292
push 0x100ca408
push 0x100ca430
jmp 0x1003f127
push 0x2a8
push 0x100ca408
push 0x100ca4b4
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.100072c0
call fcn.10090fbf
ret
Function at 0x1003f790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100da4b0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x114], 0
lea eax, [ebp - 0x110]
push esi
mov esi, dword [ebp + 8]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jns 0x1003f7eb
push 0x328
push 0x100ca730
push 0x100ca74c
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
push 0x100bc7cc
jmp 0x1003f7f2
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
call fcn.10006fbe
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1008a221
mov esp, ebp
pop ebp
ret 4

Function at 0x1003f80c
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x15c
mov eax, 0x100ad9fc
call fcn.10091010
mov esi, ecx
mov edi, 0x100bc7cc
lea ecx, [ebp - 0x14c]
push edi
call fcn.10006fbe
xor ebx, ebx
lea ecx, [ebp - 0x164]
push edi
mov dword [ebp - 4], ebx
call fcn.10006fbe
push 0x104
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.10090560
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [eax + 0x88], ebx
je 0x1003f9ad
push 1
push 0x1c
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
js 0x1003f99c
lea eax, [ebp - 0x11c]
push eax
call fcn.10006fa1
pop ecx
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10006f28
mov edi, 0x100ca7e4
push edi
call fcn.10006fa1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14c]
call fcn.10006a1b
sub esp, 0x18
mov ecx, esp
push 0x100ca808
call fcn.10006fbe
call fcn.10035d1f
test al, al
je 0x1003f96b
push 0x348
push 0x100ca78c
push 0x100ca814
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
cmp dword [ebp - 0x138], 0x10
lea eax, [ebp - 0x14c]
push ecx
cmovae eax, dword [ebp - 0x14c]
push eax
call fcn.10035fc0
push 6
lea eax, [ebp - 0x134]
mov ecx, esi
push eax
call fcn.1003d2dd
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.100072c0
jmp 0x1003f9cc
push 0x350
push 0x100ca78c
push 0x100ca830
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
lea eax, [ebp - 0x14c]
mov ecx, esi
push 6
push eax
call fcn.1003d2dd
jmp 0x1003f9cc
push 0x340
push 0x100ca78c
push 0x100ca7b0
jmp 0x1003f9bc
push 0x356
push 0x100ca78c
push 0x100ca844
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x164]
call fcn.100072c0
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.100072c0
call fcn.10090fbf
ret
Function at 0x1003f9ee
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x15c
mov eax, 0x100ad9fc
call fcn.10091010
mov esi, ecx
mov edi, 0x100bc7cc
lea ecx, [ebp - 0x14c]
push edi
call fcn.10006fbe
xor ebx, ebx
lea ecx, [ebp - 0x164]
push edi
mov dword [ebp - 4], ebx
call fcn.10006fbe
push 0x104
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.10090560
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [eax + 0x7c], ebx
je 0x1003ebea
push 1
push 0x1c
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
js 0x1003ec09
lea eax, [ebp - 0x11c]
push eax
call fcn.10006fa1
pop ecx
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10006f28
mov edi, 0x100bc4c8
push edi
call fcn.10006fa1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14c]
call fcn.10006a1b
sub esp, 0x18
mov ecx, esp
push 0x100ca1b8
call fcn.10006fbe
call fcn.10035d1f
test al, al
je 0x1003ebb9
push 0x214
push 0x100ca1c4
push 0x100ca1ec
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
cmp dword [ebp - 0x138], 0x10
lea eax, [ebp - 0x14c]
push ecx
cmovae eax, dword [ebp - 0x14c]
push eax
call fcn.10035fc0
push 3
lea eax, [ebp - 0x134]
mov ecx, esi
push eax
call fcn.1003d2dd
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
lea ecx, [ebp - 0x134]
call fcn.100072c0
jmp 0x1003ec09
push 0x21c
push 0x100ca1c4
push 0x100ca204
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
lea eax, [ebp - 0x14c]
mov ecx, esi
push 3
push eax
call fcn.1003d2dd
jmp 0x1003ec09
push 0x223
push 0x100ca1c4
push 0x100ca214
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x164]
call fcn.100072c0
push ebx
push 1
lea ecx, [ebp - 0x14c]
call fcn.100072c0
call fcn.10090fbf
ret
push esi
mov esi, ecx
call fcn.1003ef8c
mov ecx, esi
call fcn.1003f49c
mov ecx, esi
call fcn.1003f14b
mov ecx, esi
call fcn.1003f80c
mov ecx, esi
call fcn.1003eded
mov ecx, esi
call fcn.1003e815
mov ecx, esi
call fcn.1003ec2b
mov ecx, esi
pop esi
jmp 0x1003ea5d
Function at 0x100412d7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100da4b0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push eax
mov edi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], ecx
mov ecx, edi
push eax
call fcn.1004118e
cmp dword [esp + 0x24], 0
jne 0x10041338
lea eax, [edi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x10041324
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push dword [eax]
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x1004134d
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call fcn.1008b28c
pop ecx
push 0
push 1
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.100072c0
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.1008a221
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10041408
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100da4b0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push ebx
mov dword [esp + 0x18], ecx
mov ecx, esi
push eax
call fcn.1004118e
cmp dword [esp + 0x24], 0
jne 0x1004146b
lea eax, [esi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x10041455
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
push eax
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x10041480
cmp dword [esp + 0x28], 0x10
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
call fcn.1008b28c
pop ecx
dec eax
lea ecx, [esp + 0x14]
neg eax
push 0
sbb al, al
inc al
push 1
mov byte [edi], al
call fcn.100072c0
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.1008a221
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100414ad
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ade05
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x100da4b0]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push esi
push edi
mov eax, dword [0x100da4b0]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, ebx
push eax
call fcn.1004118e
xor eax, eax
mov dword [esp + 0x848], eax
cmp dword [esp + 0x2c], eax
je 0x10041536
lea eax, [esp + 0x1c]
cmp edi, eax
je 0x10041587
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.1000721f
jmp 0x10041587
push 0x7ff
push eax
mov byte [esp + 0x3c], al
lea eax, [esp + 0x3d]
push eax
call fcn.10090560
lea eax, [ebx + 8]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10041558
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x10041560
mov esi, dword [esi]
push eax
push 0x7ff
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.10006f28
push 0
push 1
lea ecx, [esp + 0x24]
call fcn.100072c0
xor eax, eax
inc eax
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.1008a221
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10042418
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100adf06
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100da4b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x100da4b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10042552
cmp byte [ebx + 0x45], 0
je 0x10042552
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10042478
xor al, al
jmp 0x10042554
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.100060a5
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100424dd
dec eax
je 0x100424e1
dec eax
dec eax
je 0x1004253f
xor bl, bl
jmp 0x10042541
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x10042520
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1008e3fb
add esp, 0x10
cmp esi, eax
jne 0x100424d9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x1004253f
test esi, esi
jne 0x100424a3
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10042220
jmp 0x1004249b
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.100072c0
mov al, bl
jmp 0x10042554
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1008a221
mov esp, ebp
pop ebp
ret
Function at 0x100438a3
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2824
call fcn.100906a0
mov eax, dword [0x100da4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x281c], edx
mov dword [ebp - 0x2810], ecx
mov dword [ebp - 0x280c], eax
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x2814], ebx
jb 0x100438ec
mov eax, dword [edi]
jmp 0x100438ee
mov eax, edi
mov byte [eax], 0
mov esi, 0x100be334
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
push 0x100cacf8
call fcn.10045657
push eax
call fcn.100448e6
mov ecx, dword [ebp - 0x280c]
add esp, 0xc
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
push 0x100cad0c
call fcn.10045657
push eax
call fcn.100448e6
add esp, 0xc
test ebx, ebx
cmovne esi, ebx
push esi
push 0x100cad20
call fcn.10045657
push eax
call fcn.100448e6
add esp, 0xc
mov dword [ebp - 0x2824], 0x100cad34
xor ebx, ebx
lea eax, [ebp - 0x2807]
mov dword [ebp - 0x2820], ebx
mov esi, ebx
mov byte [ebp - 0x2808], bl
push 0x27ff
push ebx
push eax
call fcn.10090560
add esp, 0xc
push ebx
push ebx
push ebx
push 1
push 0x100cae28
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x2818], eax
test eax, eax
je 0x10043ab5
push 1
push ebx
push 3
mov ecx, 0x100bc7cc
push ecx
push ecx
push dword [ebp - 0x281c]
push dword [ebp - 0x2810]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2810], eax
test eax, eax
je 0x10043aa9
push 1
push 0x4000000
lea ecx, [ebp - 0x2824]
push ecx
push ebx
push 0x100cadb8
push dword [ebp - 0x280c]
push 0x100cadc4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x10043a9d
push dword [ebp - 0x2814]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
push eax
push dword [ebp - 0x2814]
push 0x100cad38
call esi
push eax
push 0x100cad38
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, eax
test esi, esi
je 0x10043a96
and dword [ebp - 0x280c], 0
lea eax, [ebp - 0x2808]
push 0x2800
push 0
push eax
call fcn.10090560
add esp, 0xc
jmp 0x10043a78
mov eax, dword [ebp - 0x280c]
test eax, eax
je 0x10043a96
cmp eax, 0x2800
jae 0x10043ac8
mov byte [ebp + eax - 0x2808], 0
lea eax, [ebp - 0x2808]
push eax
call fcn.10006fa1
pop ecx
push eax
lea eax, [ebp - 0x2808]
mov ecx, edi
push eax
call fcn.10006a1b
lea eax, [ebp - 0x280c]
push eax
push 0x27ff
lea eax, [ebp - 0x2808]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10043a43
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x2810]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x2818]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a221
mov esp, ebp
pop ebp
ret
call fcn.1008c5ac
int3
Function at 0x10043b9f
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0x444
mov eax, 0x100ae03c
call fcn.10091010
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x44c], ebx
mov esi, 0x100be334
test edi, edi
mov eax, esi
cmovne eax, edi
test ebx, ebx
push eax
cmovne esi, ebx
push esi
push 0x100caea0
push ecx
call fcn.10045657
pop ecx
push eax
call fcn.100448e6
add esp, 0x10
test edi, edi
je 0x10043d44
test ebx, ebx
je 0x10043d44
xor ebx, ebx
lea eax, [ebp - 0x117]
push 0x103
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.10090560
add esp, 0xc
lea eax, [ebp - 0x118]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x448]
call fcn.10006fbe
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], ebx
call fcn.1004b786
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
push ebx
push 1
call fcn.100072c0
mov esi, dword [ebp - 0x44c]
push 3
pop eax
dec eax
mov byte [ebp - 0x220], bl
push 0x103
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x21f]
push ebx
push eax
call fcn.10090560
add esp, 0xc
mov byte [ebp - 0x328], bl
lea eax, [ebp - 0x327]
push 0x103
push ebx
push eax
call fcn.10090560
add esp, 0xc
mov byte [ebp - 0x430], bl
lea eax, [ebp - 0x42f]
push 0x103
push ebx
push eax
call fcn.10090560
add esp, 0xc
mov dword [ebp - 0x44c], ebx
lea eax, [ebp - 0x430]
mov ecx, esi
lea edx, [ebp - 0x328]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.100437cc
pop ecx
pop ecx
test eax, eax
je 0x10043d0a
mov edx, dword [ebp - 0x44c]
lea eax, [ebp - 0x220]
push ecx
push eax
push ecx
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x328]
call fcn.1004356c
add esp, 0x10
test eax, eax
jne 0x10043d1a
mov eax, dword [ebp - 0x450]
test eax, eax
jns 0x10043c63
jmp 0x10043d40
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
push edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov eax, ebx
jmp 0x10043d46
xor eax, eax
call fcn.10090fbf
ret
Function at 0x10043d4c
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2818
call fcn.100906a0
mov eax, dword [0x100da4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2810], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x2818], 0x100cad34
push eax
push eax
push eax
push 1
push eax
mov edi, ecx
mov dword [ebp - 0x2814], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push 0
push 3
mov ecx, 0x100bc7cc
mov dword [ebp - 0x280c], eax
push ecx
push ecx
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0x4000000
mov edi, eax
lea eax, [ebp - 0x2818]
push eax
push 0
push 0x100cadb8
push ebx
push 0x100cadf0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0x100bc7cc
mov ebx, 0x100cad38
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
and dword [ebp - 0x2808], 0
mov ebx, eax
push 0x2800
lea eax, [ebp - 0x2804]
push 0
push eax
call fcn.10090560
add esp, 0xc
jmp 0x10043e4c
mov eax, dword [ebp - 0x2808]
test eax, eax
je 0x10043e6a
cmp eax, 0x2800
jae 0x10043e91
mov byte [ebp + eax - 0x2804], 0
lea eax, [ebp - 0x2804]
push eax
call fcn.10006fa1
pop ecx
mov ecx, dword [ebp - 0x2810]
push eax
lea eax, [ebp - 0x2804]
push eax
call fcn.10006a1b
lea eax, [ebp - 0x2808]
push eax
push 0x27ff
lea eax, [ebp - 0x2804]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10043e13
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push dword [ebp - 0x280c]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a221
mov esp, ebp
pop ebp
ret
call fcn.1008c5ac
int3
Function at 0x100442db
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100da4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x100443ce
push ebx
xor ebx, ebx
inc eax
dec eax
mov byte [ebp - 0x108], bl
push 0x103
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x107]
push ebx
push eax
call fcn.10090560
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push ebx
push eax
call fcn.10090560
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x100cad6c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
push esi
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x1004438f
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100443ac
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x210]
test eax, eax
jg 0x10044303
jmp 0x100443cb
lea eax, [ebp - 0x108]
push eax
call fcn.10006fa1
pop ecx
push eax
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.10006f28
xor ebx, ebx
inc ebx
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1008a221
mov esp, ebp
pop ebp
ret

Function at 0x10044a36
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2828
call fcn.100906a0
mov eax, dword [0x100da4b0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x100dffd4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
je 0x10044b59
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x10044b59
push 0x27ff
lea eax, [ebp - 0x280b]
mov byte [ebp - 0x280c], bl
push ebx
push eax
call fcn.10090560
add esp, 0xc
lea eax, [ebp - 0x2824]
push eax
call fcn.10044988
cmp dword [esi + 0x14], 0x10
jb 0x10044a9c
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x10044aa4
mov eax, dword [eax]
push esi
push eax
push 0x100cb080
push 0x27ff
lea eax, [ebp - 0x280c]
push 0x2800
push eax
call fcn.1008bac3
add esp, 0x18
lea ecx, [ebp - 0x2824]
push ebx
push 1
call fcn.100072c0
lea esi, [edi + 0xf0]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0xd8]
mov dword [ebp - 0x2828], ebx
cmp dword [eax + 0x14], 0x10
jb 0x10044af3
mov eax, dword [eax]
push 0x100cb08c
push eax
lea eax, [ebp - 0x2828]
push eax
call fcn.1008ada2
add esp, 0xc
test eax, eax
jne 0x10044b52
push 2
push ebx
push dword [ebp - 0x2828]
call fcn.1008d3d9
lea ecx, [ebp - 0x280c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10044b26
push dword [ebp - 0x2828]
sub ecx, edx
lea eax, [ebp - 0x280c]
push ecx
push 1
push eax
call fcn.1008e3fb
push dword [ebp - 0x2828]
call fcn.1008b201
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a221
mov esp, ebp
pop ebp
ret 4