joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471090
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push ebp
je 0x47110e
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x47110e
push edi
push str.lib_vslib_vsxfer.c
push 0x7fff
call fcn.0040f470
mov edi, eax
add esp, 8
test edi, edi
je 0x471106
push ebx
mov ebx, dword [0x4780f4]
push esi
mov eax, dword [esp + 0x14]
push eax
push 0x7fff
push 1
push edi
call fcn.0040b040
push ebp
mov esi, eax
push esi
push 1
push edi
call ebx
add esp, 0x20
cmp eax, esi
jne 0x4710fc
cmp esi, 0x7fff
je 0x4710c2
push edi
call fcn.0040f540
add esp, 4
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
pop esi
pop ebx
pop edi
mov eax, 3
pop ebp
ret
pop edi
mov eax, 3
pop ebp
ret
mov eax, 2
pop ebp
ret

Function at 0x4712c0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
mov eax, dword [0x48c320]
xor eax, esp
push esi
mov dword [esp + 0x208], eax
mov dword [esp + 4], 0x200
call fcn.00419280
test eax, eax
jne 0x47138d
push edi
push str.kernel32.dll
call dword [0x47804c]
mov esi, eax
cmp esi, 0x20
jae 0x471365
mov edi, dword [0x4781d4]
push str.HOSTNAME
xor esi, esi
call edi
add esp, 4
test eax, eax
je 0x471356
push str.HOSTNAME
call edi
push eax
call fcn.0040c240
add esp, 8
push str.LocalHost
call fcn.0040c240
add esp, 4
test esi, esi
mov edi, eax
je 0x47133d
push esi
call dword [0x478044]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0041bfa5
add esp, 0x208
ret
push str.LocalHost
call fcn.0040c240
add esp, 4
jmp 0x471323
push str.GetComputerNameA
push esi
call dword [0x478048]
test eax, eax
je 0x471323
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
call eax
cmp eax, 1
jne 0x471323
lea eax, [esp + 0xc]
push eax
jmp 0x471328
mov esi, dword [0x4781d4]
push str.HOSTNAME
call esi
add esp, 4
test eax, eax
je 0x4713c7
push str.HOSTNAME
call esi
push eax
call fcn.0040c240
add esp, 8
pop esi
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.0041bfa5
add esp, 0x208
ret
push str.LocalHost
call fcn.0040c240
mov ecx, dword [esp + 0x20c]
add esp, 4
pop esi
xor ecx, esp
call fcn.0041bfa5
add esp, 0x208
ret

Function at 0x471d40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x244
push ebx
mov ebx, dword [0x478194]
push ebp
mov ebp, dword [esp + 0x250]
push esi
push edi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call ebx
mov eax, dword [esp + 0x1c]
add esp, 0x10
xor esi, esi
test eax, eax
jle 0x471d9f
nop
mov ecx, dword [0x492a00]
push edi
push 1
push ecx
lea edx, [esp + 0x1c]
push edx
call ebx
push 1
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.0043ade0
mov eax, dword [esp + 0x2c]
add esp, 0x20
inc esi
cmp esi, eax
jl 0x471d70
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x244
ret
Function at 0x471db0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x114
push ebp
push esi
mov esi, dword [0x478194]
push edi
mov edi, eax
mov eax, dword [0x4929e8]
push edi
push 1
push eax
lea ecx, [esp + 0x20]
push ecx
call esi
lea edx, [esp + 0x20]
push edx
push 0
push ebx
call fcn.0043d180
push edi
push 1
mov ebp, eax
lea eax, [esp + 0x30]
push 4
push eax
call esi
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0x3c]
add esp, 0x2c
test ecx, ecx
jle 0x471e06
lea ebx, [ebx]
dec ecx
mov eax, dword [eax + 0x1c]
jne 0x471e00
push edi
push 1
lea ecx, [esp + 0x14]
push 4
push ecx
mov dword [ebp + 0x20], eax
call esi
add ebp, 4
push ebp
call fcn.00471d40
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret

Function at 0x471e30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [0x478194]
push ebp
push edi
push 1
lea eax, [esp + 0x10]
push 4
push eax
call ebx
mov eax, dword [esp + 0x18]
add esp, 0x10
xor ebp, ebp
test eax, eax
jle 0x471ea6
push esi
push edi
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
call ebx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov esi, dword [edx + 0x44]
add esp, 0x10
test eax, eax
jle 0x471e79
dec eax
mov esi, dword [esi + 0x54]
jne 0x471e73
mov eax, dword [0x4929f4]
push edi
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
call ebx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
push esi
push eax
call fcn.0043ccf0
mov eax, dword [esp + 0x28]
add esp, 0x1c
inc ebp
cmp ebp, eax
jl 0x471e55
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x471eb0
Capabilities:
Read file on windows

Disassembly:
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, dword [ebp + 0x44]
push esi
push edi
mov edi, ecx
jle 0x471ec7
dec eax
mov ebx, dword [ebx + 0x54]
jne 0x471ec1
lea eax, [ebx + 0x48]
push eax
push ebp
call fcn.00471e30
lea ecx, [ebx + 0x4c]
push ecx
push ebp
call fcn.00471e30
mov esi, dword [ebx + 0x38]
add esp, 0x10
test esi, esi
je 0x471ef9
lea edx, [esi + 0x14]
push edx
push ebp
call fcn.00471e30
mov esi, dword [esi + 0x18]
add esp, 8
test esi, esi
jne 0x471ee5
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
je 0x471f6d
mov esi, dword [0x478194]
push edi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call esi
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp ecx, 0xffffffff
je 0x471f2e
test ecx, ecx
mov eax, dword [ebp + 0x44]
jle 0x471f2b
dec ecx
mov eax, dword [eax + 0x54]
jne 0x471f25
mov dword [ebx + 0x18], eax
push edi
push 1
lea ecx, [esp + 0x1c]
push 4
push ecx
call esi
mov ecx, dword [esp + 0x24]
add esp, 0x10
cmp ecx, 0xffffffff
je 0x471f59
test ecx, ecx
mov eax, dword [ebp + 0x44]
jle 0x471f56
lea ecx, [ecx]
dec ecx
mov eax, dword [eax + 0x54]
jne 0x471f50
mov dword [ebx + 0x14], eax
lea edx, [ebx + 0x20]
push edx
push ebp
call fcn.00471e30
mov ebx, dword [ebx + 0x28]
add esp, 8
test ebx, ebx
jne 0x471f06
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x472f40
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
test byte [ebx + 0x14], 1
je 0x472fa6
mov eax, dword [ebx + 0x1c]
push esi
xor esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472f50
sub eax, edx
mov dword [esp + 4], eax
je 0x472fa2
push ebp
mov ebp, dword [0x4782b8]
push edi
mov ecx, dword [ebx + 0x1c]
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x472f70
sub eax, edi
push 0
sub eax, esi
push eax
mov eax, dword [ebx + 0x10]
add ecx, esi
push ecx
push eax
call ebp
test eax, eax
jle 0x472f8d
add esi, eax
mov eax, dword [ebx + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472f93
sub eax, edx
cmp esi, eax
jb 0x472f67
pop edi
pop ebp
mov dword [ebx + 0x34], esi
pop esi
pop ecx
ret

Function at 0x472fb0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov al, byte [esi + 0x14]
sub esp, 0x10c
test al, 2
push ebx
push ebp
push edi
je 0x4730ff
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x472ff4
push 0xfde8
call dword [0x490c9c]
add esp, 4
test eax, eax
mov dword [esi + 0x20], eax
je 0x47310b
mov dword [esi + 0x30], 0xfde8
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
lea edx, [ecx + 0x1000]
cmp eax, edx
jbe 0x473031
mov edx, dword [esi + 0x28]
sub edx, eax
push edx
push eax
mov edi, eax
push ecx
sub edi, ecx
call dword [0x4780cc]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub edx, edi
sub ecx, edi
add esp, 0xc
sub eax, edi
mov dword [esi + 0x2c], edx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
lea edi, [edx + eax]
lea ebx, [ecx + 0x1000]
cmp edi, ebx
jae 0x473082
mov edi, dword [esi + 0x24]
mov ebp, dword [esi + 0x2c]
sub ecx, eax
mov ebx, ecx
lea ecx, [edx + edx]
push ecx
push eax
sub edi, eax
sub ebp, eax
mov dword [esi + 0x30], ecx
call dword [0x490ca0]
add esp, 8
test eax, eax
mov dword [esi + 0x20], eax
je 0x47310b
lea ecx, [eax + ebx]
lea edx, [eax + edi]
add eax, ebp
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x10]
push 0
push 0x1000
push eax
push ecx
call dword [0x4782b0]
test eax, eax
mov dword [esi + 0x34], eax
jg 0x47311b
je 0x4730ff
cmp eax, 0xffffffff
jne 0x4730b9
call dword [0x4782c0]
cmp eax, 0x2733
jl 0x4730ff
cmp eax, 0x2734
jg 0x4730ff
mov edx, dword [0x492a10]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
mov dword [esp + 0x14], edx
push 0
lea edx, [esp + 0x20]
mov dword [esp + 0x24], eax
push edx
inc eax
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 1
call dword [0x4782b4]
cmp eax, 1
jl 0x4730ff
test byte [esi + 0x14], 2
jne 0x472fc4
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
pop edi
or eax, 0xffffffff
pop ebp
mov dword [esi + 0x34], eax
pop ebx
add esp, 0x10c
ret
mov ecx, dword [esi + 0x28]
pop edi
add ecx, eax
pop ebp
mov dword [esi + 0x28], ecx
pop ebx
add esp, 0x10c
ret
Function at 0x4733f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x114
push esi
push 6
push 1
push 2
call dword [0x47829c]
mov esi, eax
cmp esi, 0xffffffff
je 0x47346f
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x10], 1
call dword [0x4782a0]
mov edx, dword [esp + 0x11c]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push 0x10
push edx
push esi
dec ecx
mov dword [esp + 0x14], ecx
call dword [0x4782a4]
cmp eax, 0xffffffff
jne 0x47347a
call dword [0x4782c0]
cmp eax, 0x2733
jl 0x47345a
cmp eax, 0x2734
jle 0x47347a
push str.connect
call dword [0x478240]
add esp, 4
push esi
call dword [0x4782bc]
or eax, 0xffffffff
pop esi
add esp, 0x114
ret
mov eax, dword [0x492a10]
lea ecx, [esp + 0xc]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x18], eax
push 0
lea eax, [esi + 1]
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 1
call dword [0x4782b4]
cmp eax, 0xffffffff
je 0x473468
test eax, eax
je 0x473468
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00474e46
test eax, eax
je 0x47346f
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x1007
push 0xffff
push esi
mov dword [esp + 0x18], 4
call dword [0x4782ac]
test eax, eax
jl 0x47346f
mov eax, dword [esp + 8]
test eax, eax
je 0x473514
push esi
call dword [0x4782bc]
call dword [0x4780c0]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
or eax, 0xffffffff
pop esi
add esp, 0x114
ret
mov eax, esi
pop esi
add esp, 0x114
ret

Function at 0x473520
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
push ebx
push eax
call dword [0x478280]
mov ebx, eax
test ebx, ebx
jne 0x473539
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
push ebp
push esi
push edi
je 0x4735b1
xor ebp, ebp
jmp 0x473550
mov edx, 2
cmp word [ebx + 8], dx
jne 0x4735b1
movsx ecx, word [ebx + 0xa]
mov esi, dword [eax + ebp]
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov word [esp + 0x14], dx
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x1c], ecx
call dword [0x478288]
mov word [esp + 0x16], ax
lea eax, [esp + 0x14]
push eax
call fcn.004733f0
add esp, 4
cmp eax, 0xffffffff
jne 0x4735b4
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + ebp + 4]
add ebp, 4
test ecx, ecx
jne 0x473550
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x473e70
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esi + 0x240]
test ecx, ecx
jl 0x473f35
cmp ecx, 0x200
jg 0x473f35
mov eax, dword [esi + 0x244]
test eax, eax
jl 0x473f35
cmp eax, 0x200
jg 0x473f35
cmp ecx, eax
jg 0x473f35
test ecx, ecx
jle 0x473ee2
sub eax, ecx
push eax
lea eax, [ecx + esi + 0x3c]
push eax
lea ecx, [esi + 0x3c]
push ecx
call dword [0x4780cc]
mov edx, dword [esi + 0x240]
mov eax, dword [esi + 0x244]
add esp, 0xc
sub eax, edx
mov dword [esi + 0x244], eax
mov dword [esi + 0x240], 0
mov ecx, dword [esi + 0x244]
mov eax, 0x200
sub eax, ecx
jne 0x473ef4
xor eax, eax
ret
mov edx, dword [esi + 0x2c]
push 0
push eax
mov eax, dword [esi + 0x240]
lea ecx, [esi + eax + 0x3c]
push ecx
push edx
call dword [0x4782b0]
test eax, eax
jge 0x473f21
mov eax, dword [esi + 0x2c]
push eax
call dword [0x4782bc]
or eax, 0xffffffff
mov dword [esi + 0x2c], eax
ret
mov ecx, dword [esi + 0x244]
add ecx, eax
mov dword [esi + 0x244], ecx
mov byte [ecx + esi + 0x3c], 0
ret
or eax, 0xffffffff
ret

Function at 0x474080
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x10]
sub esp, 0xc8
test eax, eax
jne 0x4740a1
lea eax, [esp]
push str.USER_anonymous_r_n
push eax
call dword [0x4781dc]
add esp, 8
jmp 0x4740b5
push eax
lea ecx, [esp + 4]
push str.USER__s_r_n
push ecx
call dword [0x4781dc]
add esp, 0xc
lea eax, [esp]
mov byte [esp + 0xc7], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4740c3
sub eax, edx
push 0
push eax
mov eax, dword [esi + 0x2c]
lea edx, [esp + 8]
push edx
push eax
call dword [0x4782b8]
xor ecx, ecx
test eax, eax
setge cl
dec ecx
and eax, ecx
add esp, 0xc8
ret

Function at 0x4740f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esi + 0x14]
sub esp, 0xc8
test eax, eax
jne 0x47410e
push 0x4a4940
push str.PASS_libxml__s_r_n
lea eax, [esp + 8]
push eax
jmp 0x474119
push eax
push str.PASS__s_r_n
lea ecx, [esp + 8]
push ecx
call dword [0x4781dc]
lea eax, [esp + 0xc]
add esp, 0xc
mov byte [esp + 0xc7], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x474131
sub eax, edx
push 0
push eax
mov eax, dword [esi + 0x2c]
lea edx, [esp + 8]
push edx
push eax
call dword [0x4782b8]
xor ecx, ecx
test eax, eax
setge cl
dec ecx
and eax, ecx
add esp, 0xc8
ret
Function at 0x474910
Capabilities:
Get socket status

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
mov eax, dword [esi + 0x30]
push edi
mov edi, dword [0x4782bc]
push eax
call edi
mov eax, dword [esi + 0x2c]
mov ecx, 1
mov dword [esp + 0x118], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea ecx, [esp + 0x124]
or ebx, 0xffffffff
mov dword [esp + 0x128], eax
mov dword [esp + 0x24], eax
push ecx
inc eax
push eax
mov dword [esi + 0x30], ebx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x24], 0
call dword [0x4782b4]
test eax, eax
jge 0x474995
mov edx, dword [esi + 0x2c]
push edx
call edi
pop edi
mov dword [esi + 0x2c], ebx
pop esi
mov eax, ebx
pop ebx
add esp, 0x210
ret
jne 0x4749ac
mov eax, dword [esi + 0x2c]
push eax
call edi
mov dword [esi + 0x2c], ebx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
mov eax, esi
call fcn.00473f40
cmp eax, 2
je 0x4749a0
mov ecx, dword [esi + 0x2c]
push ecx
call edi
pop edi
mov dword [esi + 0x2c], ebx
pop esi
mov eax, ebx
pop ebx
add esp, 0x210
ret

Function at 0x4749d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x12c
test eax, eax
push esi
mov esi, dword [esp + 0x134]
jne 0x4749ed
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4749fe
push esi
call fcn.004745e0
add esp, 4
cmp eax, 0xffffffff
mov dword [esi + 0x30], eax
jne 0x474a09
or eax, 0xffffffff
pop esi
add esp, 0x12c
ret
push ebp
mov ebp, dword [0x4781dc]
lea eax, [esp + 8]
push str.TYPE_I_r_n
push eax
call ebp
lea eax, [esp + 0x10]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x474a26
push ebx
mov ebx, dword [0x4782b8]
push edi
push 0
sub eax, edx
mov edx, dword [esi + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
mov edi, eax
test edi, edi
jge 0x474a69
mov eax, dword [esi + 0x30]
push eax
call dword [0x4782bc]
mov eax, edi
pop edi
pop ebx
pop ebp
mov dword [esi + 0x30], 0xffffffff
pop esi
add esp, 0x12c
ret
mov eax, esi
call fcn.00473f40
mov edi, eax
cmp edi, 2
je 0x474a80
mov ecx, dword [esi + 0x30]
push ecx
jmp 0x474b0d
mov eax, dword [esp + 0x144]
test eax, eax
jne 0x474a9b
mov edx, dword [esi + 0xc]
push edx
push str.RETR__s_r_n
lea eax, [esp + 0x18]
push eax
jmp 0x474aa6
push eax
push str.RETR__s_r_n
lea ecx, [esp + 0x18]
push ecx
call ebp
lea eax, [esp + 0x1c]
add esp, 0xc
mov byte [esp + 0x13b], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x474ac0
sub eax, edx
push 0
push eax
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0x18]
push edx
push eax
call ebx
mov edi, eax
test edi, edi
jge 0x474afb
mov ecx, dword [esi + 0x30]
push ecx
call dword [0x4782bc]
mov eax, edi
pop edi
pop ebx
pop ebp
mov dword [esi + 0x30], 0xffffffff
pop esi
add esp, 0x12c
ret
mov eax, esi
call fcn.00473f40
mov edi, eax
cmp edi, 1
je 0x474b29
mov edx, dword [esi + 0x30]
push edx
call dword [0x4782bc]
mov eax, edi
pop edi
pop ebx
pop ebp
mov dword [esi + 0x30], 0xffffffff
neg eax
pop esi
add esp, 0x12c
ret
mov eax, dword [esi + 0x30]
pop edi
pop ebx
pop ebp
pop esi
add esp, 0x12c
ret
Function at 0x4025b0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00402cd0
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x4040a4
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x402672
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x40266b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x402656
lea edx, [esi + 1]
push edx
call fcn.00402380
mov edi, eax
add esp, 4
test edi, edi
je 0x402648
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.00402f60
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x402602
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x402685
push eax
call fcn.00403100
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.00402380
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x4040a0
call fcn.00402ed0
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x433fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00433d20
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00432e40
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x434032
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430aa9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
call 0x453857
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x4c], 1
call dword [fcn.004322f8]
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [fcn.00432320]
cmp eax, ebx
jge 0x434da1
push eax
call 0x4525c0
movzx eax, word [esp + 0x30]
cmp eax, 0x1f
mov byte [esp + 0x48], 2
jg 0x435012
cmp eax, 0x1e
jge 0x434fa4
cmp eax, 0x18
ja 0x43502f
jmp dword [eax*4 + 0x40452c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.004335a0
mov esi, dword [eax]
cmp esi, ebx
mov byte [esp + 0x48], 3
je 0x434fd8
cmp dword [esi + 4], ebx
jne 0x434fcd
mov ecx, dword [esi]
push ecx
call 0x4527a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x434fde
xor eax, eax
jmp 0x434fec
xor esi, esi
xor eax, eax
jmp 0x434fec
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434fe3
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00433430
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov byte [esp + 0x48], 2
je 0x4350c0
call fcn.00432ea0
jmp 0x4350c0
cmp eax, 0x41
je 0x4350b0
cmp eax, 0x46
je 0x4350b0
cmp eax, 0x2011
je 0x4350b0
push 7
push 0x4327c0
lea ecx, [esp + 0x14]
call fcn.00433430
cmp word [esp + 0x30], 8
je 0x435062
push 8
push ebx
lea edx, [esp + 0x38]
push edx
mov eax, edx
push eax
call dword [fcn.0043231c]
cmp eax, ebx
jge 0x435062
push eax
call 0x4525c0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.004335a0
mov esi, dword [eax]
cmp esi, ebx
mov byte [esp + 0x48], 6
je 0x435090
cmp dword [esi + 4], ebx
jne 0x43508b
mov edx, dword [esi]
push edx
call 0x4527a0
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x435092
xor esi, esi
push esi
lea ecx, [esp + 0x10]
call fcn.004342b0
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov byte [esp + 0x48], 2
je 0x4350c0
call fcn.00432ea0
jmp 0x4350c0
push 6
push 0x4327b8
lea ecx, [esp + 0x14]
call fcn.00433430
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.00432e40
mov edi, dword [esp + 0x54]
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 1
mov byte [esp + 0x4c], 1
call dword [fcn.00432318]
cmp eax, ebx
jge 0x4350fb
push eax
call 0x4525c0
mov byte [esp + 0x48], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435116
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x437b40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [0x432284]
push esi
push edi
mov edi, dword [esp + 0x14]
push edi
xor esi, esi
call ebx
test eax, eax
jle 0x437b93
push ebp
mov ebp, dword [esp + 0x14]
inc ebp
lea esp, [esp]
mov eax, ebp
mov ecx, 4
mov dl, byte [esi + edi]
xor byte [eax - 1], dl
mov dl, byte [esi + edi]
xor byte [eax], dl
mov dl, byte [esi + edi]
xor byte [eax + 1], dl
mov dl, byte [esi + edi]
xor byte [eax + 2], dl
mov dl, byte [esi + edi]
xor byte [eax + 3], dl
add eax, 5
dec ecx
jne 0x437b67
push edi
inc esi
call ebx
cmp esi, eax
jl 0x437b60
pop ebp
pop edi
pop esi
pop ebx
ret