joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ded0
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x54c384]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 8]
push edi
call fcn.00411b30
cmp dword [esp + 0x1c], 0
je 0x42e006
xor eax, eax
lea esi, [ebx + 0xe7c]
cmp dword [esp + 0x20], 8
mov word [esi], ax
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
push 0x103
push esi
call fcn.004ce52b
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...User_Data
push esi
call edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42df61
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_Data
push esi
call edi
push str.tcdump
push esi
call edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
jne 0x42df7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
call fcn.004c82ab
add esp, 4
push eax
call fcn.004cd8a1
add esp, 4
call fcn.004cd880
cdq
mov ecx, 0x2710
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push str._scrashinfo__d__d.dat
lea eax, [ebx + 0x128c]
push 0x104
push eax
call fcn.00419550
push esi
push str._sStandaloneCrashInfo
lea eax, [ebx + 0x1494]
push 0x104
push eax
call fcn.00419550
lea eax, [ebx + 0xe10]
push eax
push esi
push str._s_secrash__s.dmp
lea ecx, [ebx + 0x1084]
push 0xffffffffffffffff
push ecx
call fcn.00419550
add esp, 0x3c
lea esi, [ebx + 0x1084]
push esi
call edi
test eax, eax
je 0x42e006
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x20]
cmp edx, 8
jb 0x42e03e
mov ecx, dword [esp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e052
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
call fcn.004c8da3
int3
Function at 0x42e700
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8a8
mov eax, dword [0x54c384]
xor eax, esp
mov dword [esp + 0x8a4], eax
mov eax, ecx
mov dword [esp + 4], eax
push esi
push edi
test eax, eax
je 0x42e952
push 0x206
lea eax, [esp + 0x8c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str...360huabao.exe
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x88]
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e781
sub ecx, edx
lea eax, [esp + 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00403e30
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
push 0x30b
push str.se_breakpad::ReportThreadFunc
push str.__s__d___seVerPath:_s
call fcn.0041f720
add esp, 0x10
cmp dword [esp + 0x38], 0
je 0x42e91a
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e903
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x28]
cmp edi, 8
cmovae ecx, dword [esp + 0x28]
cmp dword [0x558a30], 0
jne 0x42e81a
call fcn.00440840
test eax, eax
je 0x42e903
mov edi, dword [esp + 0x3c]
push 0x410
lea eax, [esp + 0x49c]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea esi, [esp + 0x28]
cmp edi, 8
cmovae esi, dword [esp + 0x28]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push str.__s___crash:_d__crashcfg:__s_
lea eax, [esp + 0x4a8]
push 0x207
push eax
call fcn.0042ea20
add esp, 0x18
mov dword [esp + 0x40], 0x44
xor eax, eax
mov dword [esp + 0x6c], 0x80
mov word [esp + 0x82], ax
xorps xmm0, xmm0
mov eax, 5
movlpd qword [esp + 0x44], xmm0
mov word [esp + 0x70], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x44]
movlpd qword [esp + 0x50], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x4b8]
movlpd qword [esp + 0x74], xmm0
push eax
push 0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x9a], xmm0
movlpd qword [esp + 0xa2], xmm0
movaps xmmword [esp + 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42e91a
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
jmp 0x42e91a
push 0x325
push str.se_breakpad::ReportThreadFunc
push str.__s__d___PathFileExists_error
call fcn.0041f720
add esp, 0xc
mov edx, dword [esp + 0x3c]
cmp edx, 8
jb 0x42e952
mov ecx, dword [esp + 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e948
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e968
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [esp + 0x8ac]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
int3
Function at 0x42ea50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42eadb
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x42ea9d
cmp eax, 2
jne 0x42eab9
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x42ead5
test ecx, ecx
je 0x42ead0
test cl, 1
jne 0x42eab9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42ead5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4304c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2454
mov esi, edx
mov dword [ebp - 0x34], 0
push 0
push esi
mov edi, ecx
mov dword [ebp - 0x28], 0
call fcn.004c05c0
lea eax, [esi + 8]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], eax
add esp, 0xc
lea eax, [esi + 0x2148]
mov dword [ebp - 0x38], 0x20
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x1048]
mov dword [ebp - 0xc], eax
lea eax, [esi + 0x2348]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x2048]
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x10], 0x800
mov dword [ebp - 8], 0x800
mov dword [ebp - 0x20], 0x80
lea edx, [eax + 2]
mov dword [ebp - 0x18], 0x80
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430560
lea ecx, [ebp - 0x40]
sub eax, edx
push ecx
push dword [ebp + 8]
sar eax, 1
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4305d1
mov ecx, dword [ebp - 0x34]
cmp ecx, 3
je 0x430594
cmp ecx, 4
je 0x430594
cmp ecx, 1
jne 0x4305d1
mov ax, word [ebp - 0x28]
mov word [esi], ax
mov eax, 1
pop edi
mov dword [esi + 0x2448], 0
mov dword [esi + 0x244c], 0
mov dword [esi + 4], ecx
mov dword [esi + 0x2450], 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret

Function at 0x4305f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xc], 0
jne 0x4306c9
lea edi, [esi + 0x5d530]
push 0x509110
push edi
call fcn.004bfc5b
add esp, 8
test eax, eax
je 0x43063d
xor ecx, ecx
mov word [eax], cx
add eax, 0x1a
push eax
call fcn.004c5459
add esp, 4
mov dword [esi + 0x2694], eax
mov ecx, dword [esi + 0x62ce0]
mov eax, 0xe1800e19
sub ecx, dword [esi + 0x62cdc]
imul ecx
add edx, ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x430670
push eax
lea edx, [esi + 0x10]
mov ecx, edi
call fcn.004304c0
add esp, 4
test eax, eax
je 0x4306c9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
test eax, eax
je 0x4306b4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push esi
push 0x430a20
push 0
push 0
mov dword [esi + 0x5d0f8], 8
call fcn.004ce8e1
add esp, 0x18
mov dword [esi + 0xc], eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
Function at 0x432390
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x26d8]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x20]
cmp dword [eax + 4], 1
je 0x432526
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4323fb
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 0
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 4
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4323fb
mov eax, dword [ebp - 0xc]
jmp 0x4323fd
xor eax, eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x43240a
mov dword [ecx + 0x2450], eax
cmp dword [edi], 0
jne 0x4324db
cmp eax, 0xce
jne 0x4324db
cmp dword [esi + 0x5d100], 0xffffffff
jne 0x432434
cmp dword [esi + 0x5d104], 0xffffffff
je 0x4325a2
push edi
mov ecx, esi
call fcn.00433470
test eax, eax
je 0x4325b3
cmp dword [edi + 0x38], 0xffffffff
mov edx, dword [edi + 0x3c]
jne 0x432456
cmp edx, 0xffffffff
je 0x4325b3
mov eax, dword [edi + 0x8040]
mov ecx, dword [eax + 8]
add ecx, dword [edi + 0x38]
mov eax, dword [eax + 0xc]
adc eax, edx
cmp dword [esi + 0x5d108], 0
mov edx, dword [esi + 0x5d10c]
jne 0x43247a
test edx, edx
je 0x432486
cmp dword [esi + 0x5d108], ecx
jne 0x4324a6
cmp edx, eax
jne 0x4324a6
cmp dword [esi + 0x5d100], ecx
jne 0x4325b3
cmp dword [esi + 0x5d104], eax
jne 0x4325b3
mov eax, dword [edi + 0x20]
jmp 0x432535
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4324b7
mov dword [eax + 0x244c], 1
push ebx
mov ecx, esi
call fcn.00432aa0
push 4
mov ecx, esi
call fcn.00430f60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x1f4
je 0x43258d
cmp eax, 0x194
jne 0x4325a2
mov eax, dword [edi + 0x20]
test eax, eax
je 0x432502
mov dword [eax + 0x244c], 1
push ebx
mov ecx, esi
call fcn.00432aa0
push 4
mov ecx, esi
call fcn.00430f60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
cmp dword [edi], 0
jne 0x43258d
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x43258d
mov dword [edi + 0x1c], ecx
cmp dword [eax + 0x2448], 0xffffffff
jne 0x432550
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x20]
sub eax, dword [edi + 8]
mov dword [ecx + 0x2448], eax
cmp dword [esi + 0x26f0], 0
je 0x432571
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x4e20
push eax
push 6
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [edi + 0x8040]
cmp dword [eax + 4], 0
jne 0x4325b3
mov dword [eax + 4], 1
mov dword [edi + 0x28], 8
jmp 0x4325bb
push 1
push ebx
mov ecx, esi
mov dword [edi + 0x28], 4
call fcn.00432fa0
test eax, eax
jne 0x4325bb
cmp dword [esi + 0x26f0], 0
je 0x4325b3
push ecx
mov ecx, esi
call fcn.00434280
push ebx
mov ecx, esi
call fcn.00432aa0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
Function at 0x432bd0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x18], ebx
push 0x10000000
push 0
lea eax, [esi + 0x61850]
mov dword [ebp - 0x1c], esi
xor ecx, ecx
cmp dx, word [eax]
push 0
push 0
cmove eax, ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x14], eax
test eax, eax
je 0x432d9e
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x20], edi
lea ebx, [edi + 0x2348]
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432c30
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove ebx, eax
add edi, 0x2048
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432c52
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove edi, eax
test ebx, ebx
jne 0x432c97
lea edx, [esi + 0x60608]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432c80
sub ecx, ebx
mov ebx, 0
sar ecx, 1
cmovne ebx, edx
test edi, edi
jne 0x432cbd
lea edx, [esi + 0x60708]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432ca6
sub ecx, esi
mov edi, 0
sar ecx, 1
cmovne edi, edx
mov esi, dword [ebp - 0x20]
push 0x430b40
push dword [ebp - 0x24]
mov esi, dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
mov ecx, dword [edx + 0x20]
push dword [eax + 0x26d4]
xor eax, eax
cmp esi, 1
setne al
lea eax, [eax*2 + 1]
push eax
movzx eax, word [ecx]
push edi
push ebx
push eax
lea eax, [ecx + 0x2148]
push eax
push dword [edx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x432d9e
mov edi, dword [ebp - 0x1c]
add edi, 0x60808
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432d23
sub ecx, edx
sar ecx, 1
je 0x432d97
mov dword [ebp - 0x10], 3
test edi, edi
je 0x432d78
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432d44
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x432d78
add esi, esi
mov eax, esi
call fcn.004beac0
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.0042fe80
mov dword [ebp - 0xc], eax
jmp 0x432d7f
mov dword [ebp - 0xc], 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0x50102d
push eax
push 0x26
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, 1
jmp 0x432da0
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
Function at 0x432dc0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.004beaf0
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x100c]
mov ebx, ecx
mov dword [ebp - 0x1014], 0x50918c
push 0x1000
push 0
push eax
mov esi, dword [ebx + 0x2480]
mov dword [ebp - 0x1048], ebx
mov dword [ebp - 0x1010], 0
call fcn.004c05c0
mov ecx, dword [edi + 0x20]
add esp, 0xc
lea eax, [ecx + 0x1048]
push eax
lea eax, [ecx + 0x48]
push eax
push 0x5010b0
lea eax, [ebp - 0x100c]
push 0x7ff
push eax
call fcn.004343a0
add esp, 0x14
mov eax, 0x8400c300
cmp dword [ebx + 0x62cb4], 0
mov edx, 0x8408c300
cmove edx, eax
mov eax, dword [edi + 0x20]
push edi
mov ecx, edx
or ecx, 0x803000
cmp dword [eax + 4], 4
lea eax, [ebp - 0x1014]
cmovne ecx, edx
test esi, esi
push ecx
push eax
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x100c]
mov ecx, str.POST
push eax
mov eax, 0x509178
cmovne eax, ecx
push eax
push dword [edi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x432f85
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x1018]
push 4
push ecx
push 2
push eax
mov dword [ebp - 0x1018], 0x3a98
call esi
push 4
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x101c], 1
push eax
push 0x41
push dword [edi + 0x1c]
call esi
xorps xmm0, xmm0
mov ebx, eax
movups xmmword [ebp - 0x1044], xmm0
push 0xa2d0
movups xmmword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1044], 0x28
movq qword [ebp - 0x1024], xmm0
call fcn.004bdd47
mov esi, eax
add esp, 4
test esi, esi
je 0x432f4c
push 0xa2d0
push 0
push esi
call fcn.004c05c0
add esp, 0xc
push ebx
push ecx
mov ecx, dword [ebp - 0x1048]
push esi
push edi
call fcn.004330c0
mov eax, esi
mov dword [ebp - 0x103c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432f37
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1038], eax
push edi
push 1
push 0
lea eax, [ebp - 0x1044]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x432f70
push esi
call fcn.004bdb09
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 4
Function at 0x433a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x214], 0
call fcn.004c05c0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x433b2a
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x433adb
test dx, dx
je 0x433ad7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x433adb
add eax, 4
add ecx, 4
test dx, dx
jne 0x433ab5
xor eax, eax
jmp 0x433ae0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x433b2a
push 1
push eax
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret

Function at 0x433b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
push 2
push 0
push 0
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 8], 0
je 0x433c15
push ebx
push edi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
xor edi, edi
sub eax, dword [esi + 0x26e4]
mov ebx, 4
sar eax, 2
test eax, eax
je 0x433be7
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + edi*4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26e8]
inc edi
sub eax, dword [esi + 0x26e4]
add ebx, 0x20
sar eax, 2
cmp edi, eax
jb 0x433bb6
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
call ebx
push 0
lea eax, [ebp - 0xc]
push eax
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push dword [esi + 8]
call ebx
pop edi
pop ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
Function at 0x435410
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
jne 0x43544e
push edx
mov dword [edi + 0x10], edx
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x50102d
mov byte [edi], dl
call fcn.00404000
jmp 0x435601
mov ecx, edx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435470
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00404000
mov ecx, dword [ebp - 0x94]
mov eax, ecx
mov ebx, dword [ebp - 0x98]
sub eax, ebx
push 0x24
push str.8DE6E635_D3C3_41e1_9A76_4BAE64E58695
cmp eax, 0x24
jb 0x4354ce
cmp ecx, 0x10
lea esi, [ebp - 0xa8]
lea eax, [ebx + 0x24]
cmovae esi, dword [ebp - 0xa8]
mov dword [ebp - 0x98], eax
lea eax, [esi + ebx]
push eax
call fcn.004c0040
add esp, 0xc
mov byte [esi + ebx + 0x24], 0
jmp 0x4354e8
mov byte [ebp - 0xac], 0
lea ecx, [ebp - 0xa8]
push dword [ebp - 0xac]
push 0x24
call fcn.004053e0
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0xa8]
cmovae ecx, dword [ebp - 0xa8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movups xmm0, xmmword [0x5028a0]
push eax
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x90], 0
movups xmm0, xmmword [0x5028b0]
movups xmmword [ebp - 0x78], xmm0
call fcn.00435270
add esp, 4
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x28]
call fcn.00435320
push 0x40
lea eax, [ebp - 0x84]
mov byte [ebp - 8], 0
push 0
push eax
mov dword [ebp - 0x88], vtable.CMD5Checksum.0
call fcn.004c05c0
add esp, 0xc
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x3c], 0x67452301
mov dword [ebp - 0x38], 0xefcdab89
push 0x20
push eax
mov dword [ebp - 0x34], 0x98badcfe
mov dword [ebp - 0x30], 0x10325476
call fcn.004386a0
push edi
lea ecx, [ebp - 0x88]
call fcn.00438500
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x435601
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4355f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435616
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 8
call fcn.004c8da3
int3