joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5b5501fc
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x7d3b2583
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x419b00
Capabilities:
Encode data using xor

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

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401470
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x1c
cmp dword [eax + 0x28], 0
mov dword [ebp - 0x10], edx
je 0x4014e8
mov esi, 0
jle 0x4014e0
lea ebx, [eax + 0x2c]
jmp 0x401498
inc esi
add ebx, 0xc
cmp edx, esi
jle 0x4014e0
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sub.cygwin1.dll_fputs
mov edx, dword [edi + 0x28]
lea eax, [edx - 1]
cmp eax, esi
jle 0x401490
mov eax, dword [ebp - 0x10]
mov dword [esp], 0x20
inc esi
add ebx, 0xc
mov dword [esp + 4], eax
call sub.cygwin1.dll_fputc
mov edx, dword [edi + 0x28]
cmp edx, esi
jg 0x401498
jmp 0x4014e0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], edx
mov ebx, 4
mov ecx, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], str.NULL
call sub.cygwin1.dll_fwrite
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402750
Capabilities:
Terminate process

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
lea eax, [ebp - 4]
sub esp, 0x18
mov dword [esp + 4], eax
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov dword [esp + 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strtol
mov edx, dword [ebp - 4]
mov ecx, eax
test edx, edx
je 0x402790
mov eax, dword [sym.imp.cygwin1.dll_optarg]
cmp edx, dword [eax]
je 0x402790
cmp byte [edx], 0
je 0x4027c1
call sub.cygwin1.dll___getreent
mov edx, dword [sym.imp.cygwin1.dll_optarg]
mov edx, dword [edx]
mov dword [esp + 8], edx
mov edx, str.Expected_a_number__not___s__n
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
leave
mov eax, ecx
ret
Function at 0x404860
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0xc
mov ebx, eax
mov byte [ebp - 0xd], 0
call fcn.004047c0
mov byte [ebp - 0xe], al
movzx ecx, byte [ebx]
test cl, cl
je 0x4048df
lea edi, [esi + 1]
lea esi, [esi]
lea edi, [edi]
movsx eax, cl
cmp eax, 0x65
je 0x404900
jg 0x4048f0
cmp eax, 0x3b
je 0x4049b4
jg 0x404985
mov byte [ebp - 0xd], 1
cmp eax, 0x25
je 0x4048c4
lea esi, [esi]
lea edi, [edi]
mov byte [ebp - 0xd], 0
mov dword [esp], 1
mov edx, ebx
mov eax, 0x410240
inc ebx
call fcn.00404090
movzx ecx, byte [ebx]
test cl, cl
jne 0x404890
add esp, 0xc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x70
je 0x4049e0
cmp eax, 0x74
jne 0x4048c0
nop
cmp byte [ebp - 0xd], 0
je 0x4048c4
mov byte [ebp - 0xd], 0
mov edx, dword [0x410240]
mov eax, dword [0x410244]
mov byte [edx + eax - 1], 0xa
cmp byte [ebx], 0x65
je 0x4049f9
mov edx, edi
mov eax, 0x410240
call fcn.00404790
mov dword [esp], 1
mov edx, 0x40b210
mov eax, 0x410240
call fcn.00404090
mov dword [esp], 1
mov edx, ebx
mov eax, 0x410240
call fcn.00404090
movzx eax, byte [ebx]
inc ebx
cmp al, 0x3f
je 0x404ab9
cmp esi, 1
jne 0x4048d8
movsx eax, byte [ebx]
mov dword [esp], str.___c_without____
mov dword [esp + 4], eax
call sub.cygncurses_8.dll__nc_warning
jmp 0x4048d8
cmp eax, 0x3f
je 0x404900
cmp eax, 0x5c
jne 0x4048c0
mov byte [ebp - 0xd], 0
mov edx, ebx
mov eax, 0x410240
mov dword [esp], 1
inc ebx
call fcn.00404090
jmp 0x4048c4
cmp byte [ebp - 0xd], 0
je 0x4048c4
mov byte [ebp - 0xd], 0
cmp esi, 1
jg 0x404af9
mov dword [esp], str.____without____
call sub.cygncurses_8.dll__nc_warning
jmp 0x4048c4
cmp byte [ebp - 0xd], 0
je 0x4049f0
cmp byte [ebp - 0xe], 0
jne 0x404a7d
mov byte [ebp - 0xe], 0
jmp 0x4048c0
mov edx, esi
mov eax, 0x410240
call fcn.00404790
mov dword [esp], 1
mov edx, 0x40b210
mov eax, 0x410240
call fcn.00404090
mov dword [esp], 1
mov edx, ebx
mov eax, 0x410240
inc ebx
call fcn.00404090
mov eax, ebx
call fcn.004047c0
mov byte [ebp - 0xe], al
test al, al
jne 0x4048d8
movzx ecx, byte [ebx]
test cl, cl
je 0x4048df
cmp cl, 0x25
je 0x4048db
mov dword [esp], 1
mov edx, 0x40b233
mov eax, 0x410240
call fcn.00404090
lea edx, [esi + 1]
mov eax, 0x410240
call fcn.00404790
jmp 0x4048d8
mov edx, dword [0x410240]
mov eax, dword [0x410244]
mov byte [edx + eax - 1], 0xa
lea edx, [esi + 1]
mov eax, 0x410240
call fcn.00404790
mov dword [esp], 1
mov edx, 0x40b210
mov eax, 0x410240
call fcn.00404090
mov byte [ebp - 0xe], 0
jmp 0x4048c0
mov edx, edi
mov eax, ebx
call fcn.00404860
movzx ecx, byte [eax]
mov ebx, eax
test cl, cl
setne al
xor edx, edx
cmp cl, 0x25
setne dl
test eax, edx
je 0x4048db
mov dword [esp], 1
mov edx, 0x40b233
mov eax, 0x410240
call fcn.00404090
mov edx, edi
jmp 0x404a6e
mov eax, dword [0x410240]
mov edx, dword [0x410244]
mov byte [eax + edx - 1], 0xa
mov edx, esi
mov eax, 0x410240
call fcn.00404790
mov dword [esp], 1
mov edx, 0x40b210
mov eax, 0x410240
call fcn.00404090
mov dword [esp], 1
mov edx, ebx
mov eax, 0x410240
inc ebx
call fcn.00404090
jmp 0x4048df
Function at 0x402f70
Capabilities:
Authenticate hmac
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
inc edx
mov edi, 0xcf
and ebx, 1
sbb edx, 0x7f
dec ebx
sbb ebx, 0x2d
rcl edi, 0x88
rcl ebx, 0x66
ror edx, 0xc2
ror edi, 0xb1
neg ebx
sbb esi, 0x6e
neg eax
neg edi
bswap esi
not esi
sub ebx, 0xc0
sub eax, 0xa0
neg ebx
rcl edi, 0xf
or edx, 0xc9
sbb eax, 0xaa
and ebx, 0x50
not edx
sbb eax, 0xb8
mov eax, 0x21
not edi
and edi, 0x33
rcr eax, 0x84
or edi, 0xb7
not edx
mov ebx, 0xf6
rol ebx, 0xcd
not esi
not edi
add eax, 0x15
bswap esi
or edi, 0x3d
and esi, 5
not edx
imul edi
not esi
bswap eax
bswap esi
sbb edx, 0x23
sbb eax, 0x6c
and edx, 6
sub edi, 0xdc
mov ebx, 0x71
imul edx
xor ecx, ecx
xor edi, edi
rol eax, 0xe9
mov ebx, 0xd8
bswap ebx
sub esi, 0x5b
neg edx
and edx, 0x9a
or esi, 0xd6
sub edx, 0xaa
not eax
imul eax
not esi
dec edx
imul esi
sub ebx, 0x93
not ebx
sbb ebx, 0x82
neg ebx
not eax
neg esi
rcl eax, 0xfd
not esi
rcl edx, 0xc3
rol edx, 0xad
mov edx, 0x9b
rcr eax, 0x95
imul edx
rcr esi, 0x8d
sub ebx, 1
ror edi, 0xb3
sub ebx, 0x60
neg edx
rol ebx, 0xdc
and eax, 0x14
rcr eax, 0x56
inc edx
and edx, 0xdd
and eax, 0x48
ror edi, 0xf2
rcr eax, 0x6f
not ebx
bswap edx
dec esi
imul eax
and edx, 0xde
rol ebx, 0xbf
sub esi, 0x35
or ebx, 0x79
ror eax, 0x9c
rcr esi, 0xfd
imul esi
mov ecx, dword [ebp + 0xc]
bswap eax
bswap edx
rol edi, 0x8f
add eax, 0xc9
not ebx
add esi, 0x50
ror eax, 0xc6
sbb edx, 0x55
sbb esi, 0x41
imul esi
sbb edi, 0x15
sbb ebx, 0x4f
inc edi
inc edx
imul edx
ror esi, 0x83
sbb edi, 0x5c
ror edi, 0x12
dec ebx
neg edx
neg edi
rol edi, 0x7f
bswap eax
neg edi
sub eax, 0xf0
and edi, 0xe8
sbb edx, 0x17
and edx, 0xc0
dec esi
inc esi
add esi, 0x88
imul ebx
not esi
sub esi, 0x20
imul ebx
dec edx
imul ebx
ror eax, 0x61
add edx, 0x65
rol eax, 0x8a
add eax, 0xc3
ror ebx, 0x6a
mov ebx, 0xfd
sbb edi, 0xc5
sbb edx, 0xcf
dec edx
dec edi
not edx
add esi, 0xc9
imul edx
mov edi, dword [ebp + 8]
mov eax, eax
mov eax, ebx
xor ebx, eax
mov esi, ebx
mov ebx, ebx
xor ebx, eax
mov eax, ebx
mov ebx, eax
mov eax, ebx
mov esi, esi
xor eax, esi
xor ebx, esi
not byte [edi]
mov ebx, eax
xor ebx, eax
mov ebx, eax
mov ebx, eax
mov ebx, eax
xor eax, eax
xor esi, eax
xor esi, esi
xor esi, eax
sub byte [edi], 0x36
mov eax, ebx
xor ebx, esi
mov eax, esi
xor ebx, eax
xor esi, ebx
mov eax, esi
xor ebx, esi
mov ebx, esi
xor esi, ebx
add byte [edi], 0x87
mov ebx, eax
mov ebx, esi
mov eax, esi
xor eax, eax
xor esi, eax
xor esi, ebx
xor eax, ebx
xor esi, esi
xor eax, esi
imul byte [edi]
inc edi
loop 0x40314f
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ed67
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40eda6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40eda6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40eda6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40eda6
cmp dword [ecx + 0x74], 0xe
jbe 0x40eda6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41040b
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 0x41042c
jl 0x410423
test edi, edi
jne 0x41042c
xor eax, eax
xor edx, edx
jmp 0x4104ed
cmp dword [ebx + 0x38], 0
je 0x410441
push eax
push edi
push dword [ebp + 8]
call fcn.004104f3
jmp 0x4104ed
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x410488
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x410488
cmp eax, edi
jb 0x410462
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00411460
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x41048e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4104e2
mov ecx, ebx
call fcn.0040fc1f
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4104cd
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041a4ef
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4104e2
jmp 0x4104a0
test edx, edx
je 0x4104e2
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041a4ef
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 0x41d8ff
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432bd0
push 0x432bc8
push str.FlsAlloc
push 0x1e
call fcn.0041d76c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d933
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
jmp 0x41d939
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d97d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x432be0
push 0x432bd8
push str.FlsGetValue
push 0x20
call fcn.0041d76c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d9b4
push dword [ebp + 8]
mov ecx, esi
call dword [0x42e160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x420ad9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x420b76
push ebx
push esi
call fcn.00420aa2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004209eb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x420b23
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420b75
push edi
push eax
call fcn.0041e79c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x420b43
call fcn.0041dc55
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x420b74
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004209eb
add esp, 0x20
test eax, eax
jne 0x420b62
push edi
call fcn.0041dc55
jmp 0x420b6a
push ebx
call fcn.0041dc55
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x425070
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424ee1

Function at 0x42546a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cb50
mov eax, dword [0x4660d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041f5d1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4254ac
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425608
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c980
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x467838]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00426461
mov ecx, dword [esi*4 + 0x467838]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x425601
cmp eax, dword [edi + ecx + 0x24]
jne 0x425601
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425601
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00426461
add esp, 0x14
test edx, edx
jl 0x425601
jg 0x425577
test eax, eax
jb 0x425601
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425601
jl 0x425591
cmp dword [ebp - 0x1008], eax
ja 0x425601
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4255af
test ebx, ebx
je 0x4255e8
cmp ecx, edi
jae 0x4255e8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4255c9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4255d5
cmp byte [ecx + 1], 0xa
jne 0x4255d5
inc ecx
jmp 0x4255d5
movzx eax, al
movsx eax, byte [eax + 0x466878]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4255af
cmp edx, ebx
jne 0x4255af
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425606
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f1a6
leave
ret
Function at 0x4258ff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x467838]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42593f
cmp byte [ebx], 0xa
jne 0x42593f
or byte [eax + edi + 0x28], 4
jmp 0x425944
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425a42
mov al, byte [edx]
cmp al, 0x1a
je 0x425a24
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x425973
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x425998
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4259a2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x425955
jmp 0x425a42
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425a1f
cmp dword [ebp - 0xc], 0
je 0x425a1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x467838]
test byte [eax + edi + 0x28], 0x48
je 0x4259f9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4259e4
mov byte [esi], dl
jmp 0x4259f5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x467838]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425a42
cmp byte [ebp - 1], 0xa
jne 0x425a08
cmp esi, ebx
jne 0x425a08
mov byte [esi], 0xa
jmp 0x425a41
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042647f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425a42
mov byte [esi], 0xd
jmp 0x425a41
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x467838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a3e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425a42
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425a4b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x467838]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425a8e
cmp word [esi], dx
jne 0x425a8e
or byte [edi + eax + 0x28], 4
jmp 0x425a93
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425be6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425bc6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425ad5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425b0b
cmp eax, edx
jae 0x425b17
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x425aad
jmp 0x425be6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425bc2
cmp dword [ebp - 0x14], 0
je 0x425bc2
mov eax, dword [ebx*4 + 0x467838]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425b9a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425b63
mov word [esi], cx
jmp 0x425b96
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x467838]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x467838]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x467838]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425be6
pop ebx
cmp word [ebp - 4], bx
jne 0x425bab
cmp esi, dword [ebp + 0xc]
jne 0x425bab
mov word [esi], bx
jmp 0x425be3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042647f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425be6
push 0xd
jmp 0x425bdf
mov ecx, dword [ebx*4 + 0x467838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425bdd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425be6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret