joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000cb60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1002a004]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.hcylcpnsosxhtxpvubdzrybsblycdvrk]
mov al, byte [0x1001c998]
push ebx
movups xmmword [ebp - 0x28], xmm0
push esi
movups xmm0, xmmword [0x1001c988]
mov esi, ecx
mov byte [ebp - 8], al
push edi
mov ecx, 0x23200
movups xmmword [ebp - 0x18], xmm0
call fcn.1000d350
mov ebx, eax
lea edx, [esi + 2]
mov eax, esi
mov dword [ebp - 0x3c], ebx
sub eax, ebx
mov edi, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov ecx, ebx
mov eax, 1
sub eax, ebx
mov dword [ebp - 0x30], eax
mov eax, 2
sub eax, ebx
mov dword [ebp - 0x34], eax
mov eax, 3
sub eax, ebx
mov ebx, dword [ebp - 0x30]
sub edi, esi
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x2c]
nop dword [eax]
lea eax, [edi + edx]
and eax, 0x1f
lea edx, [edx + 4]
movzx eax, byte [ebp + eax - 0x28]
xor al, byte [esi + ecx]
mov byte [ecx], al
lea eax, [ebx + ecx]
and eax, 0x1f
movzx eax, byte [ebp + eax - 0x28]
xor al, byte [edx - 5]
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x34]
add eax, ecx
and eax, 0x1f
movzx eax, byte [ebp + eax - 0x28]
xor al, byte [edx - 4]
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x38]
add eax, ecx
and eax, 0x1f
movzx eax, byte [ebp + eax - 0x28]
xor al, byte [edx - 3]
mov byte [ecx + 3], al
lea eax, [edi + edx]
add ecx, 4
cmp eax, 0x23200
jb 0x1000cbe0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000daaa
mov esp, ebp
pop ebp
ret

Function at 0x1000d170
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword fs:[0x30]
push ebx
push esi
mov ebx, edx
mov eax, dword [eax + 0xc]
push edi
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, dword [eax + 0x14]
test esi, esi
je 0x1000d1ae
movzx eax, word [esi + 0x24]
mov edx, edi
mov ecx, dword [esi + 0x28]
shr eax, 1
push eax
call fcn.1000d110
add esp, 4
test eax, eax
jne 0x1000d1b7
mov esi, dword [esi]
test esi, esi
jne 0x1000d190
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x10]
mov dword [ebp - 8], edi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov dword [ebp - 0x14], eax
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
add edx, edi
add eax, edi
mov dword [ebp - 0xc], eax
mov ecx, ebx
mov dword [ebp - 4], edx
call fcn.1000d340
mov ecx, dword [edx]
mov esi, eax
add ecx, edi
test ebx, ebx
je 0x1000d230
test ecx, ecx
je 0x1000d230
xor eax, eax
test esi, esi
je 0x1000d20c
mov edi, ebx
sub edi, ecx
mov dl, byte [edi + ecx]
mov bl, byte [ecx]
cmp dl, bl
jb 0x1000d227
ja 0x1000d227
inc eax
inc ecx
cmp eax, esi
jb 0x1000d1f8
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, 4
add dword [ebp - 0xc], 2
jmp 0x1000d1d6
Function at 0x1000d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x7e5b1423
mov dword [ebp - 0xc], 0x68581223
mov dword [ebp - 8], 0x5b43090e
mov dword [ebp - 4], 0x1a3a7b6f
mov eax, dword [ebp - 0x10]
cmp byte [ebp - 0x14], 0
jne 0x1000d284
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x10]
xor eax, 0x1a3a7b6f
mov dword [ebp + ecx*4 - 0x10], eax
inc ecx
cmp ecx, 4
jb 0x1000d271
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x3b750a89
mov dword [ebp - 0x40], 0x3b7e0a90
mov dword [ebp - 0x3c], 0x3b7c0a87
mov dword [ebp - 0x38], 0x3b220ad1
mov dword [ebp - 0x34], 0x3b740acc
mov dword [ebp - 0x30], 0x3b7c0a8e
mov dword [ebp - 0x2c], 0x3b100ae2
mov eax, dword [ebp - 0x44]
cmp byte [ebp - 0x48], 0
jne 0x1000d2e3
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x44]
xor eax, 0x3b100ae2
mov dword [ebp + ecx*4 - 0x44], eax
inc ecx
cmp ecx, 7
jb 0x1000d2d0
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.1000d170
mov byte [ebp - 0x28], 0
mov edx, eax
mov dword [ebp - 0x24], 0x3b2ff121
mov dword [ebp - 0x20], 0x474ef82f
mov dword [ebp - 0x1c], 0x1911d044
mov dword [ebp - 0x18], 0x757db46a
mov ecx, dword [ebp - 0x24]
cmp byte [ebp - 0x28], 0
jne 0x1000d333
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x24]
xor eax, 0x757db46a
mov dword [ebp + ecx*4 - 0x24], eax
inc ecx
cmp ecx, 4
jb 0x1000d320
lea eax, [ebp - 0x24]
push eax
call edx
mov esp, ebp
pop ebp
ret

Function at 0x1000d350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x685fd62e
mov dword [ebp - 0xc], 0x5d41de0d
mov dword [ebp - 8], 0x7f42d314
mov dword [ebp - 4], 0x1c2dbf78
mov eax, dword [ebp - 0x10]
cmp byte [ebp - 0x14], 0
push esi
mov esi, ecx
jne 0x1000d3a3
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp + ecx*4 - 0x10]
xor eax, 0x1c2dbf78
mov dword [ebp + ecx*4 - 0x10], eax
inc ecx
cmp ecx, 4
jb 0x1000d390
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x6a8b8383
mov dword [ebp - 0x2c], 0x6a80839a
mov dword [ebp - 0x28], 0x6a82838d
mov dword [ebp - 0x24], 0x6afc83fb
mov dword [ebp - 0x20], 0x6aaa83e6
mov dword [ebp - 0x1c], 0x6aa283a4
mov dword [ebp - 0x18], 0x6ace83c8
mov eax, dword [ebp - 0x30]
cmp byte [ebp - 0x34], 0
jne 0x1000d3f6
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x30]
xor eax, 0x6ace83c8
mov dword [ebp + ecx*4 - 0x30], eax
inc ecx
cmp ecx, 7
jb 0x1000d3e3
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.1000d170
push 4
push 0x3000
push esi
push 0
call eax
test eax, eax
je 0x1000d41e
mov ecx, eax
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub esi, 1
jne 0x1000d413
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000d430
Capabilities:
Access peb ldr_data

Disassembly:
push esi
mov esi, edx
test ecx, ecx
je 0x1000d45b
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x14]
add edx, 0x14
cmp eax, edx
je 0x1000d45b
nop word [eax + eax]
cmp dword [eax + 0x10], ecx
je 0x1000d45f
mov eax, dword [eax]
cmp eax, edx
jne 0x1000d450
xor eax, eax
pop esi
ret
mov dword [eax + 0x10], esi
mov eax, 1
pop esi
ret

Function at 0x1000d470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
test eax, eax
jne 0x1000d493
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + esi + 0x20]
mov edx, dword [eax + esi + 0x24]
add ecx, esi
push edi
mov edi, dword [eax + esi + 0x1c]
add edx, esi
mov eax, dword [eax + esi + 0x18]
add edi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000d4fa
mov edx, dword [ecx]
mov ecx, ebx
add edx, esi
call fcn.1000d340
mov esi, eax
test edx, edx
je 0x1000d512
test ebx, ebx
je 0x1000d512
xor ecx, ecx
test esi, esi
je 0x1000d4f1
mov edi, ebx
sub edi, edx
mov al, byte [edx]
mov bl, byte [edi + edx]
cmp al, bl
jb 0x1000d50f
ja 0x1000d50f
inc ecx
inc edx
cmp ecx, esi
jb 0x1000d4e0
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
movzx eax, word [edx]
test eax, eax
je 0x1000d504
lea edi, [edi + eax*4]
mov eax, dword [edi]
pop edi
add eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
inc eax
mov edx, dword [ebp - 4]
add ecx, 4
mov esi, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
cmp eax, dword [ebp - 0x18]
jb 0x1000d4c1
jmp 0x1000d4f4
Function at 0x4051ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e2a8]
jne 0x4051b5
repz ret
jmp fcn.0040b4b7

Function at 0x40bf2a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407c8c
and dword [ebp - 4], 0
cmp dword [0x438a04], 0
mov ebx, eax
jne 0x40bfdb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c08c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c08c
push eax
call fcn.00407c1a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438a04], eax
call esi
push eax
call fcn.00407c1a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x438a08], eax
call esi
push eax
call fcn.00407c1a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438a0c], eax
call esi
push eax
call fcn.00407c1a
pop ecx
mov dword [0x438a14], eax
test eax, eax
je 0x40bfdb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407c1a
pop ecx
mov dword [0x438a10], eax
mov eax, dword [0x438a10]
cmp eax, ebx
je 0x40c033
cmp dword [0x438a14], ebx
je 0x40c033
push eax
call fcn.00407c95
push dword [0x438a14]
mov esi, eax
call fcn.00407c95
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c033
test edi, edi
je 0x40c033
call esi
test eax, eax
je 0x40c02a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c02a
test byte [ebp - 0xc], 1
jne 0x40c033
or dword [ebp + 0x10], 0x200000
jmp 0x40c06c
mov eax, dword [0x438a08]
cmp eax, ebx
je 0x40c06c
push eax
call fcn.00407c95
pop ecx
test eax, eax
je 0x40c06c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c06c
mov eax, dword [0x438a0c]
cmp eax, ebx
je 0x40c06c
push eax
call fcn.00407c95
pop ecx
test eax, eax
je 0x40c06c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438a04]
call fcn.00407c95
pop ecx
test eax, eax
je 0x40c08c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c08e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x4474fb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x44750a
pop dword [ebp - 0x40]
mov eax, 0x44750a
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x50148
push 0
mov eax, 0x8d5fd5e6
add eax, 0x72e4dcca
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x477b
xor edx, edx
add edx, eax
mov esi, 0x92b14eec
add esi, 0x6d960f14
add esi, dword [ebp - 0x40]
mov ebx, 0x580a8883
add ebx, 0xf1a493ba
mov dword [ebp - 0x2c], 0x6ac17f56
mov edi, dword [esi]
add dword [ebp - 0x3c], ecx
xor edi, ebx
add dword [ebp - 0x14], 0x639370b9
mov dword [edx], edi
sub dword [ebp - 0x28], 0xd44bdcdd
add edx, 0xd7915f93
add edx, 0x286ea071
add esi, 4
loop 0x447560
add eax, 0x459e382e
add eax, 0xba62d891
xor ebx, ebx
add ebx, eax
add eax, 0x9ec9bb66
add eax, 0x6136449f
mov ecx, 0xed98f8ef
sub ecx, 0xed58f8ef
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x428530
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
cmp edi, 0x717e
jo 0x4284a9
test ebp, 0x4772c104
not cl
movsx edi, bx
cmp esi, edx
ja 0x4284b1
bswap ebp
test al, cl
mov ecx, 0x1f83e55f
mov ah, 0xaf
test edi, eax
mov ebx, edx
add eax, ecx
test edx, 0xb236b2f2
lea ebp, [ebx]
dec ecx
imul ebx, ecx, 0xb382659
mov edi, ebp
cmp ebx, 0x5686
jo 0x4284db
mov ebp, edi
push edi
dec ebp
pop edx
lea ebx, [0x6fa1d21f]
add esi, edx
mov ecx, 0x5bd95fbf
test al, 0xb
jo 0x4284f6
lea ebp, [0x523a0faa]
imul ebx, edi, 0x3f79ff32
call 0x428578
jae 0x42850b
xchg cl, ch
imul ebx, eax, 0xec80cf6b
movsx edi, si
neg edi
sub ebp, 0x1fa4b
jbe 0x42851b
test bl, 0x56
add ebp, 0x11ddd
cmp ebx, 0xf67f
jne 0x428533
not bh
xor eax, ebx
test esi, 0x1c5c1833
invalid
pop esp
invalid
imul edi, ebx, 0xbee5a21a
lea esi, [0x9f89f]
mov bl, 0xd2
sub esi, 0x9f89f
sbb edi, eax
imul edi, ebp, 0xc42d887f
test eax, edi
xchg edx, ecx
mov ebp, 0xfffff38c
mov ebx, eax
xor ebp, 0xb5
xadd esi, ebp
mov ch, 0x43
add esi, 0xcc8
movsx ecx, cx
cmp esi, 0x2a6
jb 0x428548
add bl, 0x5c
mov dl, dl
dec ebx
jmp 0x428581
and dl, dl
movsx ebx, di
mov esi, 0x1314
neg cl
xor esi, 0x1124
test cl, 0xfc
sub esi, 0x230
sub esi, 0xffffffbe
xor bl, bl
xor esi, 0x9d8
jno 0x4285b9
lea edi, [0xefd133df]
dec ebx
adc ebx, 0x34972e3
test al, 0xbc
test esi, 0xceed1d1a
sub esi, 0xfffff005
jbe 0x4285d8
mov bl, bh
and ebp, 0xb5883309
imul edi, ebp, 0x341fef6
sub esi, 0xffc
movsx edx, cx
lea edx, [0xc0fe520c]
cmp esi, 0x98
jae 0x4285aa
pop esi
imul ebx, ebx
dec edi
mov dl, cl
test al, 0x81
mov ebp, esi
mov bh, 0x41
xchg bh, dl
sub ecx, ebp
jmp 0x428608
movd mm1, esi
movd edx, mm1
mov eax, edi
imul eax, ecx
test edi, edi
add edx, 0x85151
cmp edi, 0xce029dbf
sub edx, 0x49019
mov bl, ch
push 0x9093a0
push 0x669c07
push 0xbfcafa
cmp edi, 0x4525
ja 0x428646
inc ebp
xchg al, ch
not eax
cmp esi, 0x75e3
js 0x428653
sbb eax, 0xaa37deb7
push edx
ret
Function at 0x42c27b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x456130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00429d12
and dword [ebp - 0x14], 0
cmp dword [0x457d9c], 0
mov dword [ebp - 0x18], eax
jne 0x42c32e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42c3d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x450be4
push ebx
call edi
test eax, eax
je 0x42c3d6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x457d9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x457da0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x457da4], eax
call edi
push eax
call esi
mov dword [0x457dac], eax
test eax, eax
je 0x42c32e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x457da8], eax
mov eax, dword [0x457da8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42c387
cmp dword [0x457dac], ecx
je 0x42c387
push eax
call esi
push dword [0x457dac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42c387
test ebx, ebx
je 0x42c387
call edi
test eax, eax
je 0x42c37e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42c37e
test byte [ebp - 8], 1
jne 0x42c387
or dword [ebp + 0x10], 0x200000
jmp 0x42c3ba
mov eax, dword [0x457da0]
cmp eax, dword [ebp - 0x18]
je 0x42c3ba
push eax
call esi
test eax, eax
je 0x42c3ba
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42c3ba
mov eax, dword [0x457da4]
cmp eax, dword [ebp - 0x18]
je 0x42c3ba
push eax
call esi
test eax, eax
je 0x42c3ba
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457d9c]
call esi
test eax, eax
je 0x42c3d6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42c3d8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042851a
leave
ret
Function at 0x401150
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x24
mov eax, dword [0x40bf90]
push ebx
push ebp
push edi
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
xor ebx, ebx
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], 0x4092b0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [esp + 0x20], edi
cmp edi, ebp
je 0x4012df
mov ecx, dword [0x40bf94]
push esi
push ebp
push ebp
push 3
push ebp
push ebp
push 0x50
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [esp + 0x28], esi
cmp esi, ebp
je 0x4012d7
mov eax, dword [0x40bf98]
push ebp
push 0x4000000
lea edx, [esp + 0x34]
push edx
push ebp
push ebp
push eax
push ebp
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
cmp ebx, ebp
je 0x4012cc
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4012bd
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebp
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000013
mov edi, 4
push ebx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4012bd
cmp dword [esp + 0x1c], 0xc8
jne 0x4012bd
push ebp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x20000005
push ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x4012bd
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4012bd
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebp
je 0x4012bd
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x14]
xor esi, esi
jmp 0x401270

Function at 0x4012f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0x218
mov eax, dword [0x40a004]
xor eax, esp

Function at 0x401420
Capabilities:
Set current directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x40a004]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x105
lea eax, [esp + 4]
push 0
push eax
call fcn.00405790
add esp, 0xc
push 0x105
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401460
sub eax, edx
add eax, 0xffffffff
js 0x401480
mov cl, 0x5c
cmp byte [esp + eax], cl
je 0x40147c
sub eax, 1
jns 0x401470
jmp 0x401480
mov byte [esp + eax], 0
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0040153d
add esp, 0x10c
ret

Function at 0x40153d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x401547
repz ret
jmp fcn.004016fc
Function at 0x416c54
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call 0x416c60
pop ebx
sub ebx, 0x402c60
mov eax, 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0x424642
push 0
push 0x20
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [ebx + fcn.00401291]
cmp eax, 0xffffffff
je 0x416de6
mov dword [ebp - 4], eax
push 2
push 0
push 0xfffffffffffffffc
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.00401311]
mov eax, dword [ebp - 8]
cmp eax, 0x424642
jne 0x416cd1
jmp 0x416ddd
push 0
push dword [ebp - 4]
call dword [ebx + 0x4012b9]
mov dword [ebp - 8], eax
cmp eax, 0x1000
jae 0x416ceb
jmp 0x416ddd
cmp eax, 0xe00000
jbe 0x416cf7
jmp 0x416ddd
or eax, eax
je 0x416de6
mov ecx, dword [ebp - 8]
add ecx, 0x6000
mov dword [ebp - 0x14], ecx
push 0
push ecx
push 0
push 4
push 0
push dword [ebp - 4]
call dword [ebx + 0x401295]
or eax, eax
je 0x416d95
mov dword [ebp - 0xc], eax
push dword [ebp - 0x14]
push 0
push 0
push 2
push dword [ebp - 0xc]
call dword [ebx + 0x401299]
or eax, eax
je 0x416d8c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x10]
cmp word [esi], 0x5a4d
je 0x416d50
jmp 0x416d83
mov eax, dword [esi + 0x3c]
cmp eax, 0x200
jbe 0x416d5c
jmp 0x416d83
add esi, dword [esi + 0x3c]
cmp dword [esi], 0x4550
je 0x416d69
jmp 0x416d83
push dword [ebp - 8]
push esi
push dword [ebp - 0x10]
call fcn.00416b2c
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x10]
call dword [ebx + 0x4012c5]
push dword [ebp - 0x10]
call dword [ebx + 0x40129d]
push dword [ebp - 0xc]
call dword [ebx + fcn.004012ad]
cmp dword [ebp - 0x14], 0
je 0x416ddd
mov eax, dword [ebp - 0x14]
sub eax, 4
push 0
push 0
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 8]
push 0
push ecx
push 4
push eax
push dword [ebp - 4]
call dword [ebx + fcn.004012a1]
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [ebx + fcn.004012a5]
push dword [ebp - 4]
call dword [ebx + 0x4012a9]
push dword [ebp - 4]
call dword [ebx + fcn.004012ad]
popal
leave
ret 4

Function at 0x417327
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.0041733a

Function at 0x4173a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.004173b4