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

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x4de34d
push esi
push edi
jmp 0x4de330
movzx esi, byte [edx]
movzx esi, byte [esi + 0x66da38]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x4de330
pop edi
pop esi
ret

Function at 0x4de3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x4de3d2
mov esi, 0x80
cmp esi, dword [edi]
jne 0x4de3df
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6c5120]
test eax, eax
je 0x4de3ea
call eax
lea ecx, [esi*8]
push ecx
call fcn.004dab90
mov esi, eax
mov eax, dword [0x6c5124]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x4de40a
call eax
test esi, esi
je 0x4de3d6
mov edx, dword [edi + 0xc]
push edx
call fcn.004dae60
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x6be970]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.005ff630
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x4de4ef
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x4de483
movzx edi, byte [esi]
movzx edi, byte [edi + 0x66da38]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x4de462
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x4de4cb
mov esi, dword [eax]
test esi, esi
je 0x4de4a1
mov edx, dword [eax + 4]
jmp 0x4de4a3
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x4de4cb
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x4de4c3
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4de4e4
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4de4e4
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x4de4da
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x4de456
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
push esi
push edi
mov edi, eax
mov dword [ebp - 4], 0
jne 0x4e5bc4
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push 0
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push 0
push ecx
call eax
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x4e5d1a
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x4e5bfd
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.006076d0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], ecx
test edi, edi
je 0x4e5d17
mov esi, dword [edi + 0x14]
mov dword [ebp - 8], esi
cmp esi, dword [ebx + 0x18]
ja 0x4e5d0a
test byte [edi + 0x18], 0x20
jne 0x4e5d0a
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [esi - 1]
push 0
push ecx
call fcn.006076d0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp esi, 1
jne 0x4e5c9d
mov esi, dword [edi + 0x10]
movzx ecx, byte [esi + 0x64]
movzx edx, byte [esi + 0x65]
movzx eax, byte [esi + 0x66]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x67]
mov esi, dword [edi + 4]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
inc ecx
mov byte [esi + 0x1b], cl
mov eax, ecx
mov edx, ecx
shr eax, 0x18
mov byte [esi + 0x18], al
shr edx, 0x10
mov byte [esi + 0x19], dl
mov ebx, ecx
shr ebx, 8
mov byte [esi + 0x1a], bl
mov esi, dword [edi + 4]
mov byte [esi + 0x5e], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 0x5c], al
mov byte [esi + 0x5d], dl
mov byte [esi + 0x5f], cl
mov ecx, dword [edi + 4]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x60], 0x26e22d00
push dword [ebp - 0xc]
mov eax, dword [edi + 4]
push dword [ebp - 0x10]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp esi, 1
jne 0x4e5ce5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
mov dword [ebx + 0x64], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebx + 0x68], edx
mov ecx, dword [eax + 0x20]
mov dword [ebx + 0x6c], ecx
mov edx, dword [eax + 0x24]
mov dword [ebx + 0x70], edx
cmp esi, dword [ebx + 0x20]
jbe 0x4e5ced
mov dword [ebx + 0x20], esi
inc dword [ebx + 0xa8]
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x58]
mov ebx, esi
call fcn.004f53c0
mov ebx, dword [ebp + 8]
add esp, 4
cmp dword [ebp - 4], 0
mov edi, dword [edi + 0xc]
je 0x4e5bfd
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50f4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x50f4be
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x50f4d4
cmp byte [edi], al
je 0x50f4c7
inc ecx
cmp byte [ecx], al
jne 0x50f4c2
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x50f5d5
jmp 0x50f4f3
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x50f4fb
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x50f55b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x50f53d
jmp 0x50f520
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x66da38]
cmp dl, byte [eax + 0x66da38]
jne 0x50f53d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x50f520
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x66da38]
movzx ecx, byte [ecx + 0x66da38]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x50f5c5
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x50f5a8
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x50f59e
jmp 0x50f580
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x66da38]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x50f580
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x50f5aa
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.004de500
add esp, 8
test eax, eax
je 0x50f5dc
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x50f5d5
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x50f4f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x50f5c5
Function at 0x50f680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x50f69d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x50f6b5
cmp byte [eax], 0
je 0x50f6a8
inc ecx
cmp byte [ecx], 0
jne 0x50f6a2
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x50f797
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x50f6da
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x50f72a
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x50f712
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x66da38]
cmp cl, byte [eax + 0x66da38]
jne 0x50f70f
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x50f6f2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x66da38]
movzx edx, byte [edx + 0x66da38]
sub edx, ecx
jne 0x50f786
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x50f764
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x50f75e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x66da38]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x50f740
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x50f766
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.004de500
add esp, 8
test eax, eax
je 0x50f79d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x50f796
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x50f6d0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x50f783
Function at 0x511850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x511893
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.004dc740
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x5118c5
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x5118c0
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x5119e1
jmp 0x5118ea
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x5118f4
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x51194b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x511930
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x66da38]
cmp cl, byte [ebx + 0x66da38]
jne 0x51192d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x511910
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x66da38]
movzx eax, byte [eax + 0x66da38]
sub eax, ecx
jne 0x5119ad
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x51198d
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x511986
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x66da38]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x511965
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x51198f
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.004de500
add esp, 8
test eax, eax
je 0x511a02
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x5119c0
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x5118e7
cmp dword [ebp - 0x24], 0
je 0x5119e1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.0050f400
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 3
jle 0x511890
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x5119ad
Function at 0x514250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x514308
cmp byte [edi], 0
mov eax, edi
je 0x514286
nop
inc eax
cmp byte [eax], 0
jne 0x514280
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1a8], 0
lea ecx, [ebx + 0x19c]
mov esi, eax
je 0x5142e1
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x5142d1
jmp 0x5142b0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x66da38]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x5142b0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x19c]
lea ecx, [ebx + 0x19c]
jmp 0x5142e3
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.004de500
add esp, 8
test eax, eax
je 0x5142fe
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x51430b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x51430b
mov eax, dword [ebx + 8]
test eax, eax
je 0x51431d
movzx ecx, byte [esi + 0x66e2d8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x51433c
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x514270
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51a170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0x18], 0x4000000
push esi
push edi
mov dword [ebp - 4], eax
je 0x51a2b6
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x51a1d6
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x51a1cc
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x51a1bc
or eax, 0xffffffff
jmp 0x51a1c3
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x51a1b0
mov edi, dword [edi + 4]
test edi, edi
jne 0x51a1a0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x51a1e5
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x51a202
cmp byte [esi], 0
je 0x51a1f6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x51a1f0
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x51a247
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x51a241
jmp 0x51a220
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x66da38]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x51a220
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x51a249
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.004de500
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x51a2b3
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x51a2b3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.00518820
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x51a2ac
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
jle 0x51a2ac
mov edx, dword [eax + 4]
mov esi, ecx
nop
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x51a29c
or eax, 0xffffffff
jmp 0x51a2a3
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x51a290
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x51a262
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540920
Capabilities:
Access peb ldr_data
Check if file exists
Create directory
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x118], esi
mov dword [esi + 8], vtable.CXCImage.0
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
push 0x67a51c
lea ecx, [esi + 0x16c]
mov dword [esi], vtable.CQueryPage.0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], 1
mov dword [esi + 0x5c], 0x271a
call fcn.00412330
push ebx
mov dword [esi + 0x18c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x104
lea edi, [esi + 0x68]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xff
lea ecx, [ebp - 0x10f]
xor eax, eax
push ebx
push ecx
mov byte [ebp - 0x114], bl
mov word [ebp - 0x113], ax
mov byte [ebp - 0x110], bl
call fcn.005ff630
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x114]
push eax
push edi
call fcn.005f9b90
add esp, 0x14
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x114]
push edx
push 0x675f00
push edi
call fcn.005f1060
push edi
push str._sExport
push edi
call fcn.005f1060
add esp, 0x1c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x540a57
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [0x6c4b78]
cmp ecx, ebx
jne 0x540a81
push 0x50
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x540a77
push eax
call fcn.00468950
jmp 0x540a79
xor eax, eax
mov ecx, eax
mov dword [0x6c4b78], ecx
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov eax, dword [0x6c4b78]
mov dword [esi + 0x64], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x545b60
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x12b]
push 0
push eax
mov byte [ebp - 0x12c], 0
call fcn.005ff630
xor eax, eax
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push eax
push eax
push 0x1a
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x545c43
lea eax, [ebp - 0x12c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x545bd0
sub eax, edx
push str.Config.ini
lea edx, [ebp - 0x12c]
push edx
mov byte [ebp + eax - 0x12c], 0x5c
mov eax, edx
push str._swifipcap_s
push eax
call fcn.005f1060
add esp, 0x10
lea ecx, [ebp - 0x12c]
push ecx
push 0x20
lea edx, [ebp - 0x28]
push edx
push 0x6745b6
push 0x6974d4
push str.QUERY
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x545c25
xor ecx, ecx
sub eax, edx
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
Function at 0x545c60
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x12b]
push 0
push eax
mov byte [ebp - 0x12c], 0
call fcn.005ff630
xor eax, eax
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
push eax
push eax
push 0x1a
push eax
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x545d7b
lea eax, [ebp - 0x12c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x545cd1
sub eax, edx
push str.Config.ini
lea edx, [ebp - 0x12c]
push edx
mov byte [ebp + eax - 0x12c], 0x5c
mov eax, edx
push str._swifipcap_s
push eax
call fcn.005f1060
add esp, 0x10
lea ecx, [ebp - 0x12c]
push ecx
push 0x20
lea edx, [ebp - 0x28]
push edx
push 0x6745b6
push 0x6974d4
push str.QUERY
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x545d5d
test dl, dl
je 0x545d42
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x545d5d
add eax, 2
add ecx, 2
test dl, dl
jne 0x545d26
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 4
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 4
Function at 0x550120
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6351cd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, 1
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
mov dword [esi + 0x10], eax
mov dword [ebp - 0x10], esp
lea eax, [esi + 0x18]
mov dword [ebp - 0x10], esp
push eax
mov dword [esi], vtable.CXCEleView.0
mov dword [esi + 0x14], ebx
call fcn.0043a1a0
or eax, 0xffffffff
lea edi, [esi + 0x3c]
mov dword [esi + 0x2c], 0x1e
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebx
mov dword [ebp - 0x14], edi
mov dword [edi], ebx
push 8
mov byte [ebp - 4], 2
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x5501e5
mov dword [edi], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
or eax, 0xffffffff
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.006009e0
int3