joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d37
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], ebx
jne 0x403d5f
xor al, al
jmp 0x403dba
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x403dae
push dword [ebp - 8]
call fcn.004303a6
mov edx, dword [ebp - 8]
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [eax], edx
push dword [ecx]
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x403dae
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
leave
ret

Function at 0x403dbd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
jne 0x403de4
xor al, al
jmp 0x403e12
push edi
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
sete al
pop edi
pop esi
leave
ret
Function at 0x403e15
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x838
mov eax, 0x45faab
call fcn.004523a9
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x844], edx
lea edx, [ebp - 0x830]
push edx
push 9
xor ebx, ebx
push ebx
push ecx
push eax
mov dword [ebp - 0x830], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x830], ebx
je 0x403fd9
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x83c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x830]
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 0x838], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, ebx
jne 0x403fc4
cmp dword [ebp - 0x83c], ebx
je 0x403fc4
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.00435bd0
mov eax, dword [ebp - 0x838]
add esp, 0xc
cmp eax, 0x400
jae 0x403ed7
lea eax, [ebp - 0x810]
mov dword [ebp - 0x834], eax
jmp 0x403f04
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004303a6
mov ecx, dword [ebp - 0x838]
inc ecx
push ecx
push ebx
push eax
mov dword [ebp - 0x834], eax
call fcn.00435bd0
add esp, 0x10
push dword [ebp - 0x83c]
mov ecx, dword [ebp - 0x844]
call fcn.004050fe
mov eax, dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc eax
push eax
push dword [ebp - 0x834]
push ebx
push dword [ebp - 0x830]
call esi
mov dword [ebp - 0x840], 1
mov edi, 0x103
jmp 0x403fa4
cmp eax, 0xea
je 0x403f82
push dword [ebp - 0x834]
lea ecx, [ebp - 0x82c]
call fcn.00401e6f
mov ecx, dword [ebp - 0x844]
lea eax, [ebp - 0x82c]
push eax
mov dword [ebp - 4], ebx
call fcn.004051de
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x82c]
call fcn.00401fd0
mov eax, dword [ebp - 0x838]
inc eax
push eax
push dword [ebp - 0x834]
push dword [ebp - 0x840]
push dword [ebp - 0x830]
call esi
inc dword [ebp - 0x840]
cmp eax, edi
jne 0x403f43
lea eax, [ebp - 0x810]
xor esi, esi
cmp dword [ebp - 0x834], eax
je 0x403fc4
push dword [ebp - 0x834]
call fcn.00435bb0
pop ecx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp esi, ebx
sete al
jmp 0x403fdb
xor al, al
call fcn.0045242c
ret
Function at 0x403fe1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x45fa78
call fcn.004523a9
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x848], edx
lea edx, [ebp - 0x830]
push edx
push 1
xor edi, edi
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x830], edi
jne 0x404022
xor al, al
jmp 0x4041df
push edi
push edi
push edi
lea eax, [ebp - 0x834]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x830]
mov dword [ebp - 0x834], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
jne 0x4041d8
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push edi
push eax
call fcn.00435bd0
mov eax, dword [ebp - 0x834]
mov ebx, 0x400
add esp, 0xc
cmp eax, ebx
jae 0x40408a
lea eax, [ebp - 0x810]
mov dword [ebp - 0x838], eax
jmp 0x4040be
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004303a6
mov ecx, dword [ebp - 0x834]
inc ecx
push ecx
push edi
push eax
mov dword [ebp - 0x838], eax
call fcn.00435bd0
mov ebx, dword [ebp - 0x834]
add esp, 0x10
inc ebx
push edi
push edi
lea eax, [ebp - 0x844]
push eax
push edi
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x830]
mov dword [ebp - 0x844], 1
mov dword [ebp - 0x840], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0x83c], 1
jmp 0x4041ae
cmp esi, 0xea
je 0x4041be
cmp esi, edi
jne 0x404178
xor eax, eax
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], edi
call fcn.00401e48
mov esi, dword [ebp - 0x848]
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], edi
call fcn.004050a6
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x82c]
call fcn.00401fd0
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.00435bd0
add esp, 0xc
push edi
push edi
lea eax, [ebp - 0x844]
push eax
push edi
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x83c]
mov dword [ebp - 0x840], ebx
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x83c]
mov esi, eax
cmp esi, 0x103
jne 0x404102
xor esi, esi
lea eax, [ebp - 0x810]
cmp dword [ebp - 0x838], eax
je 0x4041d8
push dword [ebp - 0x838]
call fcn.00435bb0
pop ecx
xor eax, eax
cmp esi, edi
sete al
call fcn.0045242c
ret
Function at 0x4041e5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x404218
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004043ad
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x404222
xor al, al
leave
ret
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
leave
ret

Function at 0x404458
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
jne 0x404480
xor al, al
jmp 0x4044b0
push edi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, esi
sete al
pop edi
pop esi
leave
ret
Function at 0x4044e6
Capabilities:
Delete registry key

Disassembly:
push 0x5c
mov eax, 0x45ff1b
call fcn.004523a9
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x58], edi
cmp esi, ebx
jne 0x404509
xor al, al
call fcn.0045242c
ret
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x404519
mov al, 1
jmp 0x404503
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x68]
push eax
push esi
push edi
mov dword [ebp - 4], ebx
call fcn.00403e15
add esp, 0xc
test al, al
jne 0x404541
lea ecx, [ebp - 0x68]
call fcn.00405429
jmp 0x404501
push esi
lea ecx, [ebp - 0x30]
call fcn.00401e6f
push 0x4668c4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00403641
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
sub eax, ecx
push 0x1c
cdq
pop edi
idiv edi
mov dword [ebp - 0x50], ebx
mov edi, eax
cmp edi, ebx
jbe 0x4045c4
mov dword [ebp - 0x54], ecx
mov ebx, dword [ebp - 0x54]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00405ab0
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x404593
mov eax, dword [eax]
push eax
push dword [ebp - 0x58]
call fcn.004044e6
pop ecx
pop ecx
mov bl, al
push 0
neg bl
push 1
lea ecx, [ebp - 0x4c]
sbb bl, bl
mov byte [ebp - 4], 1
call fcn.00401fd0
inc bl
jne 0x4045d8
inc dword [ebp - 0x50]
add dword [ebp - 0x54], 0x1c
cmp dword [ebp - 0x50], edi
jb 0x404575
push esi
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x4045da
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00401fd0
lea ecx, [ebp - 0x68]
call fcn.00405429
mov al, bl
jmp 0x404503

Function at 0x4045f5
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 2
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
je 0x404639
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret
xor al, al
leave
ret

Function at 0x408c97
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
mov edi, eax
push edi
push 0x408c3f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, edi
pop edi
pop esi
ret
Function at 0x40a8cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
test ebx, ebx
je 0x40a994
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x40a994
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a8f5
sub eax, edx
sar eax, 1
je 0x40a994
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push dword [ebp + 0xc]
and dword [ebp + 0x14], 0
push dword [ebp + 8]
lea esi, [ebp + 0x14]
lea edi, [ebp - 4]
call fcn.0040a85c
add esp, 0xc
test eax, eax
je 0x40a994
xor eax, eax
cmp dword [ebp + 0x14], eax
jbe 0x40a994
push eax
push 0x20
push 2
push eax
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40a994
and dword [ebp - 8], 0
mov edi, dword [ebp - 4]
mov esi, 0x1000
cmp dword [ebp + 0x14], esi
ja 0x40a963
mov esi, dword [ebp + 0x14]
sub dword [ebp + 0x14], esi
push 0
lea eax, [ebp - 8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40a98d
add edi, esi
cmp dword [ebp + 0x14], 0
jne 0x40a956
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x40a996
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40aa09
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and dword [ebp - 0xc], 0
cmp dword [eax + 0x24], 0
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0x14]
jle 0x40aa8b
mov ecx, dword [eax + 0x20]
and dword [ebp - 8], 0
test ecx, ecx
jle 0x40aa80
mov al, byte [esi]
mov dl, byte [edi + 1]
mov cl, byte [edi]
mov byte [ebp - 3], al
mov al, byte [esi + 1]
sub cl, byte [ebp - 3]
mov byte [ebp - 2], al
mov al, byte [esi + 2]
sub dl, byte [ebp - 2]
mov byte [ebp - 1], al
mov al, byte [edi + 2]
sub al, byte [ebp - 1]
movzx edx, dl
movzx eax, al
movzx ecx, cl
add eax, edx
add eax, ecx
cdq
push 3
pop ecx
idiv ecx
or cl, 0xff
add esi, 4
add edi, 4
sub cl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 8]
mov byte [esi - 1], cl
mov ecx, dword [eax + 0x20]
cmp dword [ebp - 8], ecx
jl 0x40aa2f
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
cmp edx, dword [eax + 0x24]
jl 0x40aa27
pop edi
pop esi
leave
ret 4

Function at 0x40b9ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push edi
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40ba17
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40ba17
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40ba17
mov edx, edi
pop edi
mov ecx, eax
pop esi
pop ebp
jmp fcn.0040b846
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40cb6d
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jbe 0x40cb9d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x40cba1
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], eax
sub dword [ebp + 0x10], eax
jne 0x40cb7b
xor eax, eax
leave
ret
or eax, 0xffffffff
leave
ret

Function at 0x40cc69
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x414
push 0x470030
call fcn.0045e0b0
mov edi, ecx
mov esi, edx
xor ebx, ebx
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x40cc8b
mov eax, dword [esi]
jmp 0x40cc8d
mov eax, esi
mov byte [eax], bl
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x420], ebx
push 0x400
push ebx
lea eax, [ebp - 0x41c]
push eax
call fcn.00435bd0
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x420]
push eax
push 0x3ff
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x424], eax
cmp eax, ebx
je 0x40ccf8
cmp dword [ebp - 0x420], ebx
je 0x40cd09
lea eax, [ebp - 0x41c]
push eax
push esi
call fcn.0040d2c6
cmp dword [ebp - 0x420], ebx
jne 0x40cca4
jmp 0x40cd09
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x424]
call fcn.0045e0f8
ret
Function at 0x40cd1c
Capabilities:
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f485
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.00438490
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x103c], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x46688f
mov ecx, esi
mov dword [ebp - 0x1040], esi
mov dword [ebp - 0x1030], eax
mov byte [esi], bl
call fcn.0040244d
mov dword [ebp - 4], ebx
mov dword [ebp - 0x103c], 1
call fcn.0040cba6
mov dword [ebp - 0x1034], eax
cmp eax, ebx
je 0x40cf1f
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.00435bd0
push edi
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.00435bd0
push 0x38
lea eax, [ebp - 0x1078]
push ebx
push eax
call fcn.00435bd0
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x106c], eax
lea eax, [edi + 1]
add esp, 0x24
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x104c], eax
lea eax, [ebp - 0x107c]
push eax
push ebx
push ebx
push dword [ebp - 0x1030]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x107c], 0x3c
mov dword [ebp - 0x1050], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x106c]
push dword [ebp - 0x1034]
call fcn.0040cbe1
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
pop ecx
mov dword [ebp - 0x1038], eax
cmp eax, ebx
je 0x40cf17
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1050]
push 0x46bc08
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1030], eax
cmp eax, ebx
je 0x40cf0f
xor eax, eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], ax
call fcn.00401e48
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1018], 8
mov eax, dword [ebp - 0x102c]
jae 0x40ceb5
lea eax, [ebp - 0x102c]
push 0x20000000
push dword [ebp - 0x101c]
push eax
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov ecx, dword [ebp - 0x1030]
mov edx, esi
call fcn.0040cc69
push ebx
push ebx
push ebx
push dword [ebp - 0x1030]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push dword [ebp - 0x1030]
call edi
push ebx
push 1
lea ecx, [ebp - 0x102c]
call fcn.00401fd0
push dword [ebp - 0x1038]
call edi
push dword [ebp - 0x1034]
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435bbb
leave
ret
Function at 0x40cf3a
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1090
call fcn.00438490
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x102c], eax
call fcn.0040cba6
xor ebx, ebx
mov dword [ebp - 0x1024], eax
cmp eax, ebx
je 0x40d102
push edi
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x1003]
push ebx
push eax
mov byte [ebp - 0x1004], bl
call fcn.00435bd0
push edi
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.00435bd0
push 0x38
lea eax, [ebp - 0x1064]
push ebx
push eax
call fcn.00435bd0
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1058], eax
lea eax, [edi + 1]
add esp, 0x24
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1038], eax
lea eax, [ebp - 0x1068]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x804]
push esi
mov dword [ebp - 0x1068], 0x3c
mov dword [ebp - 0x103c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x1058]
push dword [ebp - 0x1024]
call fcn.0040cbe1
pop ecx
pop ecx
mov dword [ebp - 0x1028], eax
cmp eax, ebx
je 0x40d0f5
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x103c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x40d0e9
xor eax, eax
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x100c], 7
mov dword [ebp - 0x1010], ebx
mov word [ebp - 0x1020], ax
call fcn.00401e48
cmp dword [ebp - 0x100c], 8
mov eax, dword [ebp - 0x1020]
jae 0x40d074
lea eax, [ebp - 0x1020]
push 0x20000000
push dword [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x108c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1090]
push eax
push esi
mov dword [ebp - 0x1090], 0x28
mov dword [ebp - 0x1074], edi
call fcn.0040cc2a
pop ecx
pop ecx
test eax, eax
je 0x40d0ca
push edi
push dword [ebp - 0x102c]
push esi
call fcn.0040cb6d
add esp, 0xc
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x1020]
call fcn.00401fd0
push dword [ebp - 0x1028]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1024]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bbb
leave
ret
Function at 0x415d5d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x4744f0]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x64], edi
jle 0x415ea1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040dda7
xor ebx, ebx
and dword [esp + 0x20], ebx
and dword [esp + 0xc], ebx
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x415da5
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
jmp 0x415da7
xor eax, eax
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jge 0x415ea1
mov eax, esi
call fcn.0040d6ae
mov ecx, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x14], ecx
call fcn.0040e081
cmp dword [esp + 0xc], 0
jne 0x415dec
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x20], ebx
jmp 0x415e08
mov eax, dword [esi + 0x80]
add eax, dword [esi + 0x78]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
add eax, edi
cmp eax, dword [esi + 0x64]
jle 0x415e0b
mov ebx, dword [esp + 0x20]
mov edi, dword [esi + 0x68]
mov eax, dword [esp + 0x24]
lea ecx, [eax + edi]
add ecx, dword [esi + 0x78]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x7c]
add ecx, dword [esp + 0x28]
add ecx, ebx
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x80]
sub ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esi + 0x84]
sub eax, dword [esp + 0x38]
add ecx, edi
add eax, dword [esp + 0x40]
mov dword [esp + 0x4c], ecx
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
add eax, ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
call fcn.0040e9bd
mov eax, dword [esi + 0x88]
sub eax, dword [esp + 0x34]
add eax, dword [esi + 0x80]
add eax, dword [esp + 0x3c]
add eax, dword [esi + 0x78]
add edi, eax
mov eax, dword [esi + 0x84]
sub eax, dword [esp + 0x38]
add eax, dword [esi + 0x7c]
add eax, dword [esp + 0x40]
add eax, ebx
cmp dword [esp + 0x20], eax
jg 0x415e98
mov dword [esp + 0x20], eax
inc dword [esp + 0xc]
jmp 0x415d94
mov ecx, dword [esp + 0x54]
pop edi
pop ebx
xor ecx, esp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret

Function at 0x41b36f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x475bac]
cmp eax, 0xffffffff
jne 0x41b3da
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.00435bd0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41b3d3
cmp dword [ebp - 0x114], 6
jb 0x41b3d3
push str.dwmapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41b3d5
xor eax, eax
mov dword [0x475bac], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
leave
ret
Function at 0x41b80d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp eax, 0x84
jne 0x41b81f
or dword [esi], 0xffffffff
xor eax, eax
inc eax
jmp 0x41b88e
cmp eax, 0x21
jne 0x41b82c
mov dword [esi], 3
jmp 0x41b81a
push ebx
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x41b83f
mov eax, edi
call fcn.0041b89a
mov dword [esi], eax
jmp 0x41b887
cmp eax, 0x113
jne 0x41b872
cmp dword [ebp + 8], 0x20
jne 0x41b864
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x20
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x41b866
xor ebx, ebx
and dword [esi], 0
test ebx, ebx
je 0x41b88b
xor eax, eax
inc eax
jmp 0x41b88d
cmp eax, 0x400
jne 0x41b88b
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi], 0
mov eax, ebx
jmp 0x41b88d
xor eax, eax
pop ebx
pop ebp
ret 8