joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4420d0]
jne 0x401a2c
repz ret
jmp fcn.004028c6

Function at 0x40f8a8
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.0040344a
and dword [ebp - 4], 0
cmp dword [0x44b100], 0
mov ebx, eax
jne 0x40f959
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fa0a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40fa0a
push eax
call fcn.004033d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b100], eax
call esi
push eax
call fcn.004033d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b104], eax
call esi
push eax
call fcn.004033d8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b108], eax
call esi
push eax
call fcn.004033d8
pop ecx
mov dword [0x44b110], eax
test eax, eax
je 0x40f959
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004033d8
pop ecx
mov dword [0x44b10c], eax
mov eax, dword [0x44b10c]
cmp eax, ebx
je 0x40f9b1
cmp dword [0x44b110], ebx
je 0x40f9b1
push eax
call fcn.00403453
push dword [0x44b110]
mov esi, eax
call fcn.00403453
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f9b1
test edi, edi
je 0x40f9b1
call esi
test eax, eax
je 0x40f9a8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f9a8
test byte [ebp - 0xc], 1
jne 0x40f9b1
or dword [ebp + 0x10], 0x200000
jmp 0x40f9ea
mov eax, dword [0x44b104]
cmp eax, ebx
je 0x40f9ea
push eax
call fcn.00403453
pop ecx
test eax, eax
je 0x40f9ea
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f9ea
mov eax, dword [0x44b108]
cmp eax, ebx
je 0x40f9ea
push eax
call fcn.00403453
pop ecx
test eax, eax
je 0x40f9ea
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b100]
call fcn.00403453
pop ecx
test eax, eax
je 0x40fa0a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fa0c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c0e7
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [0x44b5ac]
push esi
push dword [eax]
mov esi, dword [0x44b4f4]
call fcn.0043c01e
cmp dword [0x44b5ac], 0x2f
pop ecx
jne 0x43c146
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [ebp - 8], edi
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
pop edi
push esi
call fcn.0043c060
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x43c47a
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x44b5ac], 0xbf9
jne 0x43c495
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
cmp dword [0x44b5ac], 0x3dc
mov dword [0x44b5a0], 0x8e55ceaa
jne 0x43c4c4
push esi
push str.dewobihirutakaxevifajo
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.xafecelocixupapedahesofunezodicexegenogexepumawojuyagon
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
dec edi
jne 0x43c483
cmp esi, 0x8465cb
jne 0x43c4de
mov eax, dword [0x44a564]
add eax, 0xa231
mov dword [0x44b5ac], eax
cmp dword [0x44b5ac], 0x141
jne 0x43c4fb
or dword [0x44b274], 0xffffffff
mov dword [0x44b270], 0xec58acac
inc esi
cmp esi, 0x123c19c
jl 0x43c4c7
call fcn.0043c151
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x401910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401923
push esp
mov dword [ebp - 0x24], 0x401640
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.zeenty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.upsent
push str.zeenty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019c2
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019a3
pop ebp
ret 0x10
Function at 0x42c3a2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
or dword [ebp - 0x14], 0xffffffff
and dword [ebp - 0x40], 0
mov dword [ebp - 8], 0x4000
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 0
push 0
push 2
call fcn.0042d515
test eax, eax
je 0x42c3dd
jmp 0x42c57e
push dword [ebp - 8]
push 0x40
call dword [0x4090b8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42c3f6
jmp 0x42c57e
mov dword [ebp - 0x3c], 0x74654e57
mov dword [ebp - 0x38], 0x6d756e45
mov dword [ebp - 0x34], 0x6f736552
mov dword [ebp - 0x30], 0x65637275
mov dword [ebp - 0x2c], 0x41
lea eax, [ebp - 0x3c]
push eax
push 0x409e70
call dword [0x409104]
push eax
call dword [0x4090f4]
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.0042d4d9
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x42c555
and dword [ebp - 0x44], 0
jmp 0x42c46d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jae 0x42c553
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax + 0xc]
and eax, 1
je 0x42c52d
or dword [ebp - 0x154], 0xffffffff
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 0x14]
push 0x409e78
lea eax, [ebp - 0x150]
push eax
call dword [0x409210]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x150]
push eax
call dword [0x4090c4]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0xffffffff
je 0x42c52d
push dword [ebp - 0x154]
call dword [0x409110]
lea eax, [ebp - 0x150]
push eax
call dword [0x409118]
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 0x14]
push 0x409a34
lea eax, [ebp - 0x150]
push eax
call dword [0x409210]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call fcn.0042a7ed
mov eax, dword [ebp - 0x44]
shl eax, 5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax + 0xc]
and eax, 2
je 0x42c54e
mov eax, dword [ebp - 0x44]
shl eax, 5
add eax, dword [ebp - 0xc]
push eax
call fcn.0042c3a2
jmp 0x42c466
jmp 0x42c560
cmp dword [ebp - 0x40], 0x103
je 0x42c560
jmp 0x42c56d
cmp dword [ebp - 0x40], 0x103
jne 0x42c432
push dword [ebp - 0xc]
call dword [0x4090a0]
push dword [ebp - 4]
call fcn.0042d50f
leave
ret 4

Function at 0x408930
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
or ebx, ebx
call fcn.00408952
xor dword [ecx], eax
inc ecx
cmp ecx, edi
jne fcn.00408930
mov ebx, 0xc1a4fe1d
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x407ef8
nop
mov ecx, 0x34b709dc
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x3fb564f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
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 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x419b00
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
invalid
invalid
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x12572afb
nop
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
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6e7138e9
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x506f42
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 8
je 0x509a28
pushfd
test eax, eax
call 0x50852f
stc
ror al, 1
cmc
push 0xf75b5ce
pushfd
clc
mov byte [ecx], al
cmc
add ecx, 1
stc
mov byte [esp], 0x2e
cmc
test ah, ah
push dword [esp + 4]
pushfd
pushfd
jmp 0x5da36f
stc
pushal
push dword [esp]
stc
test eax, eax
pushfd
pushfd
push 0xe34e3392
push dword [esp + 4]
lea esp, [esp + 0x34]
je 0x5081a5
pushfd
btc edx, esp
movsx si, dl
mov esi, dword [eax + 0x3c]
jmp 0x5aacca
rcl dh, 4
bts dx, bp
add esi, eax
jmp 0x5061fc
Function at 0x421640
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586158
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x602280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x65], 0
cmp dword [eax + 0x14], 0x10
jb 0x421689
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4216a9
push 0x5f60cc
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 9
push eax
call fcn.0054bf83
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
lea eax, [ebp - 0x24]
push str._d._d._d._d
push eax
call fcn.00423230
add esp, 0x18
mov dword [ebp - 0x28], 0xf
cmp byte [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x4216f6
xor ecx, ecx
jmp 0x421709
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421700
sub ecx, edx
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004210e0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00424350
mov ebx, eax
lea esi, [edi + 0xc]
cmp esi, ebx
je 0x421759
cmp dword [esi + 0x14], 8
jb 0x42173e
push dword [esi]
call fcn.0054b7e0
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00424b10
cmp dword [ebp - 0x40], 8
jb 0x42176a
push dword [ebp - 0x54]
call fcn.0054b7e0
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x28], 0x10
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
jb 0x421792
push dword [ebp - 0x3c]
call fcn.0054b7e0
add esp, 4
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4217a1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x4217ca
push 0x5f60cc
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0xa
push eax
call fcn.0054bf83
push 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x2710
push ecx
push 0x1006
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x64], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push 0x10
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x421834
push 0x5f60cc
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 2
push eax
call fcn.0054bf83
mov al, 1
jmp 0x42184d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054bf74
mov esp, ebp
pop ebp
ret 8
Function at 0x426ad0
Capabilities:
Initialize winhttp library

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x24]
mov dword [esi], vtable.CWinHttp.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1388
mov dword [esi + 0x1c], 0x1388
mov dword [esi + 0x20], 0x1388
call fcn.00427ba0
push 0
push 0
push 0
xorps xmm0, xmm0
push 0
movq qword [esi + 0x7c], xmm0
push 0x5e4d34
mov dword [esi + 0x84], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x426b50
mov dword [esi + 0x84], 1
mov eax, esi
pop esi
ret
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov eax, esi
pop esi
ret
Function at 0x426eb0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586640
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x602280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
mov byte [ebp - 0x11], 0
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov ecx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
call fcn.00427810
test al, al
jne 0x426f35
push 0x5f60cc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
call fcn.0054bf83
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.004276e0
test al, al
jne 0x426f59
push 0x5f60cc
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push eax
call fcn.0054bf83
mov ecx, ebx
call fcn.00427780
mov dword [ebx + 4], eax
cmp eax, 0x194
jne 0x426f7f
push 0x5f60cc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 5
push eax
call fcn.0054bf83
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x426fa5
push 0x5f60cc
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
call fcn.0054bf83
mov eax, dword [ebp - 0x2c]
cmp eax, 0x800000
jbe 0x426fc4
push 0x5f60cc
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xc
push eax
call fcn.0054bf83
push eax
call fcn.0054db88
push 0x1000
mov dword [ebp - 0x1c], eax
call fcn.0054db88
mov esi, dword [ebp - 0x18]
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
cmp esi, 0x1000
jbe 0x427001
push edi
call fcn.0054db50
mov esi, dword [ebp - 0x18]
push esi
call fcn.0054db88
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x427029
push 0x5f60cc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 8
push eax
call fcn.0054bf83
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add eax, esi
push edi
push eax
call fcn.0054c3e0
add esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x28], esi
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x42706a
push 0x5f60cc
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 8
push eax
call fcn.0054bf83
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x426fe2
mov bl, 1
jmp 0x427091
test edi, edi
je 0x42709e
push edi
call fcn.0054db50
add esp, 4
test bl, bl
je 0x4270b4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x4270bf
push dword [ebp - 0x1c]
call fcn.0054db50
add esp, 4
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 0xc
Function at 0x4274e0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5866f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x602280]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x602280]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
push eax
push edx
push dword [ebp + 0x10]
mov dword [esp + 0x5c], 0
push esi
call fcn.00427810
test al, al
jne 0x4275b4
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], al
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jae 0x42759f
mov eax, dword [esp + 0x38]
inc eax
je 0x4275a5
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0054b930
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
jmp 0x4276b2
mov ecx, dword [esp + 0x28]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
jmp 0x4276b2
mov ecx, edi
call fcn.00427780
mov dword [edi + 4], eax
cmp eax, 0x194
jne 0x4275dc
push 0x5f60cc
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 5
push eax
call fcn.0054bf83
push 0x1000
call fcn.0054db88
add esp, 4
mov byte [esp + 0x17], 0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x42766a
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x427665
cmp esi, 0x1000
jbe 0x42762b
push edi
call fcn.0054db50
mov esi, dword [esp + 0x20]
push esi
call fcn.0054db88
add esp, 8
mov edi, eax
lea eax, [esp + 0x20]
push eax
push esi
mov esi, dword [esp + 0x20]
push edi
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x42766a
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push edi
call fcn.00423460
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x427606
jmp 0x42766a
mov byte [esp + 0x17], 1
push edi
call fcn.0054db50
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x427693
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
cmovae eax, dword [esp + 0x28]
mov byte [eax], 0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.004235f0
cmp dword [esp + 0x3c], 0x10
jb 0x4276b2
push dword [esp + 0x28]
call fcn.0054b7e0
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054bf74
mov esp, ebp
pop ebp
ret 0x14