joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x41e7e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e7d8
mov eax, 1
add ebx, ebx
jne 0x41e7fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e7f0
jne 0x41e80c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e7f0
xor ecx, ecx
sub eax, 3
jb 0x41e820
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e892
mov ebp, eax
add ebx, ebx
jne 0x41e82b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e85c
inc ecx
add ebx, ebx
jne 0x41e848
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e83d
jne 0x41e859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e83d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e87c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e86d
jmp 0x41e7de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e87c
add edi, ecx
jmp 0x41e7de
pop esi
mov edi, esi
mov ecx, 0x88
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e89a
cmp byte [edi], 3
jne 0x41e89a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e89f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e917
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x204f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20570]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e8cc
mov ecx, edi
jns 0x41e8fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20578]
or eax, eax
je 0x41e911
mov dword [ebx], eax
add ebx, 4
jmp 0x41e8e9
call dword [esi + 0x20574]
mov ebp, dword [esi + 0x2057c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e94b
sub esp, 0xffffff80
jmp 0x401745

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8

Function at 0x4334f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x433505
pop dword [ebp - 0x3c]
mov eax, 0xa6e10cee
sub eax, 0xa69dd7e9
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xd5f7cb1c
sub dword [ebp - 0x4c], 0x87a585d1
mov dword [ebp - 0x48], 0xa5527b92
add dword [ebp - 0x48], 0x8ce0d0b3
mov dword [ebp - 0x44], 0xc843810a
sub dword [ebp - 0x44], 0x7bf73cdc
mov dword [ebp - 0x40], 0x652eca67
sub dword [ebp - 0x40], 0x652eca67
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xe284fc38
sub eax, 0xe2413a0c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x333b20b8
add dword [ebp - 0x4c], 0x4137489e
mov dword [ebp - 0x48], 0x2bc857fd
add dword [ebp - 0x48], 0x15a40978
mov dword [ebp - 0x44], 0xa5673b6c
add dword [ebp - 0x44], 0xbe083100
mov dword [ebp - 0x40], 0x81022504
add dword [ebp - 0x40], 0x7efddafc
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x42a87
push 0
call eax
mov ecx, 0xcea0d319
sub ecx, 0xcea0987e
xor edi, edi
add edi, eax
mov edx, 0x98b57985
add edx, 0x6791dc7b
add edx, dword [ebp - 0x3c]
mov esi, 0xf68e028
mov ebx, dword [edx]
xor dword [ebp - 0x2c], edi
sub ebx, esi
sub dword [ebp - 8], eax
mov dword [edi], ebx
xor dword [ebp - 4], eax
add edi, 4
add edx, 0x96e2ccfc
add edx, 0x691d3308
loop 0x43361e
add eax, 0xdd3f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10001723
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
mov eax, 0x10001d00
call fcn.10001990
sub esp, 0x238
push ebx
push esi
push edi
mov dword [ebp - 0x44], 0x6e75725c
mov dword [ebp - 0x10], esp
push 0x5c
pop eax
mov dword [ebp - 0x40], 0x336c6c64
push eax
mov dword [ebp - 0x3c], 0x78652e32
push dword [ebp + 0xc]
mov dword [ebp - 0x38], 0x65
mov dword [ebp - 0x34], 0x73745c5c
mov dword [ebp - 0x30], 0x65696c63
mov dword [ebp - 0x2c], 0x615c746e
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x706f7244
mov dword [ebp - 0x20], 0x575c4d00
call dword [sym.imp.MSVCRT.dll_strrchr]
xor ebx, ebx
pop ecx
cmp eax, ebx
pop ecx
je 0x100018cf
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x100018cf
push 1
push 0x10003198
push dword [0x100031c0]
call fcn.10001310
push 1
push 0x10003190
push dword [0x100031c0]
call fcn.10001310
add esp, 0x18
mov dword [ebp - 0x14], eax
push str.user32
call dword [0x100031c4]
push 1
push 0x10003178
push eax
call fcn.10001310
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x244]
push str._smoto
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x244]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [0x100031e4]
mov edi, eax
cmp edi, 0xffffffff
je 0x100018b5
push ebx
push edi
call dword [0x100031d8]
mov esi, eax
lea eax, [ebp - 0x18]
push ebx
push eax
push esi
mov dword [ebp + 0xc], esi
push dword [ebp + 8]
push edi
call dword [0x100031e0]
push edi
call dword [0x100031dc]
cmp dword [ebp - 0x18], esi
jne 0x100018b5
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, ebx
pop ecx
je 0x100018b5
mov ecx, esi
mov esi, dword [ebp + 8]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov esi, 0x100031f8
push eax
mov ecx, esi
call fcn.100010ee
cmp eax, ebx
jne 0x100018b5
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.1000107f
cmp eax, ebx
je 0x100018b5
push ebx
push 0x100031d4
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
add esp, 0x10
jmp 0x100018b5
or dword [ebp - 4], 0xffffffff
push 0x2bf20
call dword [ebp - 0x14]
push ebx
push 4
call dword [ebp - 0x1c]
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4034b0
Capabilities:
Get geographical location
Get system information on windows
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d874
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa8], 0
call fcn.004082c0
push eax
mov ecx, 0x458660
call fcn.004057f0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403535
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40352b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403719
push edx
push ecx
call fcn.0040d8a9
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.00408660
push eax
mov ecx, 0x458678
call fcn.004057f0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403585
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40357b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40371e
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push 2
push 0x44dddc
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.004067e0
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xa8], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x8c]
cmp ax, 9
je 0x4035e9
cmp ax, 6
je 0x4035e9
cmp ax, 0xc
jne 0x4035fb
push 2
push 0x44dde0
lea ecx, [ebp - 0xa4]
call fcn.004067e0
lea eax, [ebp - 0xa4]
mov ecx, 0x458690
push eax
call fcn.004057f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x40364d
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403643
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403723
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0x55
lea eax, [ebp - 0x68]
push eax
push 0x59
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4036b9
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4036a0
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.004067e0
lea eax, [ebp - 0xa4]
mov ecx, 0x4586a8
push eax
call fcn.004057f0
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x403700
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4036f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403728
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d893
mov esp, ebp
pop ebp
ret
call fcn.004288b0
call fcn.004288b0
call fcn.004288b0
call fcn.004288b0
int3
Function at 0x404950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43da74
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x45506c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x11c]
push 0x104
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push eax
mov byte [edi], 0
mov dword [ebp - 0x120], 2
call fcn.004258d0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x404a08
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4049f0
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
mov ecx, edi
call fcn.004067e0
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x120], 1
jb 0x404a23
mov eax, dword [edi]
push 0
push eax
call fcn.00428b84
add esp, 8
test eax, eax
je 0x404a77
lea ecx, [ebp - 0x140]
call fcn.004090a0
push eax
mov ecx, edi
call fcn.004057f0
mov edx, dword [ebp - 0x12c]
cmp edx, 0x10
jb 0x404a9c
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b0f
jmp 0x404a92
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x404a81
mov eax, dword [edi]
push 4
push eax
call fcn.00428b84
add esp, 8
test eax, eax
je 0x404a9c
jmp 0x404a32
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xf
jb 0x404ad3
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404aba
mov eax, dword [edi]
push 0xf
lea esi, [eax + ecx]
push str.TempPDFSailPath
push esi
call fcn.00425350
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x404af0
push 0xf
push str.TempPDFSailPath
mov byte [ebp - 0x124], 0
mov ecx, edi
push dword [ebp - 0x124]
push 0xf
call fcn.00407360
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040d893
mov esp, ebp
pop ebp
ret 4
call fcn.004288b0
int3
Function at 0x405980
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43dbf2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x44dce4
mov dword [edi + 0x10], 0x44dc7c
mov dword [edi + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00402b70
push ecx
lea ebx, [edi + 0x18]
mov dword [esi + 0x3c], 0
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.004069c0
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x405a38
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00402af0
lea edx, [edi + 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 5
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040dade
mov esi, eax
xorps xmm0, xmm0
add esp, 4
movq qword [esi], xmm0
push 1
mov byte [ebp - 4], 6
call fcn.0040c0da
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0xc], eax
add esp, 4
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [ebx], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408b70
Capabilities:
Access peb ldr_data
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43df03
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x88
mov dword [ebp - 4], 1
call fcn.0040dade
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x24]
mov dword [edi], vtable.CWinHttp.0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1388
mov dword [edi + 0x1c], 0x1388
mov dword [edi + 0x20], 0x1388
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CHttpHeader.0
mov dword [esi + 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xf
mov byte [esi + 0x38], 0
add esi, 0x50
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040b21a
push 0
push 0
push 0
mov dword [esi], eax
xorps xmm0, xmm0
push 0
movq qword [edi + 0x7c], xmm0
push str.Microsoft_Internet_Explorer
mov dword [edi + 0x84], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x408c8b
mov dword [edi + 0x84], 1
jmp 0x408c9d
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov byte [ebp - 4], 1
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 8]
mov eax, dword [edi]
cmovae edx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push edx
cmovae ecx, dword [ebp + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, edi
call eax
test al, al
mov ecx, edi
mov eax, dword [edi]
jne 0x408cd1
call dword [eax + 0xc]
xor bl, bl
jmp 0x408cd6
call dword [eax + 0xc]
mov bl, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x408d0c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408d02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6a
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x408d56
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408d4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d6f
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004288b0
call fcn.004288b0
int3
Function at 0x409180
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x45506c]
xor eax, esp
mov dword [esp + 0x68], eax
cmp dword [edx + 0x14], 0x10
xorps xmm0, xmm0
mov eax, dword [edx + 0x10]
push esi
mov esi, ecx
movlpd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x54], 0x67452301
mov dword [esp + 0x58], 0xefcdab89
mov dword [esp + 0x5c], 0x98badcfe
mov dword [esp + 0x60], 0x10325476
jb 0x4091db
mov edx, dword [edx]
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00401890
push esi
lea ecx, [esp + 0xc]
call fcn.00401940
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040d893
mov esp, ebp
pop ebp
ret
Function at 0x409820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e038
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45506c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
cmovae edx, dword [ebp + 8]
push edx
push 0x84
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x409935
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x409935
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409935
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x409935
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov ebx, eax
push 0x10
mov dword [ebp - 0x14], ebx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4098f6
lea ecx, [esi + 4]
mov dword [esi + 8], 0
push ecx
mov dword [esi + 0xc], 0
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [ecx], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x4098f8
xor esi, esi
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push ecx
mov eax, dword [ebx]
mov dword [eax + 0x4c], esi
mov eax, dword [ecx]
call dword [eax + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x409935
call fcn.00401150
mov ecx, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x4c]
call fcn.00401190
mov ecx, dword [ebx]
mov bl, 1
mov dword [ecx + 4], eax
jmp 0x409937
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40996d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409963
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409983
push edx
push ecx
call fcn.0040d8a9
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004288b0
int3

Function at 0x40a1ec
Capabilities:
Initialize winhttp library

Disassembly:
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40a216
mov dword [esi + 0x84], 1
xor al, al
jmp 0x40a229
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov al, 1
pop edi
pop esi
ret