joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10472a6c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x107b3de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x10472ab7
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.10472ee1
test al, al
jne 0x10472ab1
sub edx, 2
cmp edx, edi
jne 0x10472a97
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x10472ad9
lea eax, [edi + 2]
cmp edx, eax
je 0x10472ad9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.10472665
add esp, 0x10
jmp 0x10472bd3
push esi
lea ecx, [ebp - 0x255]
call fcn.10472ee1
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10472b1c
push dword [ebp - 0x25c]
jmp 0x10472ac9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x10472b59
cmp word [ebp - 0x226], 0
je 0x10472b7a
cmp word [ebp - 0x226], ax
jne 0x10472b59
cmp word [ebp - 0x224], 0
je 0x10472b7a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.10472665
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10472bc6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x10472b33
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x10472bae
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x10472bd3
push 0x1047204d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.100217dd
add esp, 0x10
jmp 0x10472ba3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010069
leave
ret

Function at 0x10477f4c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10018cbe
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10477fbb
cmp esi, dword [ebp - 4]
je 0x10477fb6
cmp dword [ebp + 0xc], 0
je 0x10477fb6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10477f93
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.10477974
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x10477fbd
xor eax, eax
inc eax
jmp 0x10477fbd
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1047d118
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x107b3de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1047d15b
call fcn.100050a6
mov dword [eax], 0xf
call fcn.10014736
mov dword [eax], 0xd
call fcn.100135d9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010069
leave
ret
test eax, eax
jne 0x1047d162
inc eax
jmp 0x1047d14f
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x1047d14d
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1047d14f

Function at 0x10481b84
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10481bbf
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10481ba6
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10481bb7
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10481bc1
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10481b9c
xor eax, eax
pop edi
pop esi
ret
Function at 0x104e1e9d
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x18], 0
jle 0x104e1f90
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 8]
mov ebx, dword [edi]
mov eax, dword [edi + 0xc]
add ebx, ecx
mov esi, dword [edi + 4]
mov ebp, eax
adc esi, eax
xor edx, edx
shld eax, ecx, 0xd
shr ebp, 0x13
or edx, eax
shl ecx, 0xd
mov eax, dword [edi + 0x1c]
or ebp, ecx
mov ecx, dword [edi + 0x18]
xor edx, esi
xor ebp, ebx
mov dword [esp + 0x18], edx
mov edx, eax
mov dword [esp + 0x14], ebp
mov ebp, ecx
mov dword [esp + 0x10], esi
add ebp, dword [edi + 0x10]
adc edx, dword [edi + 0x14]
mov edi, eax
shld eax, ecx, 0x10
shr edi, 0x10
xor esi, esi
or esi, eax
shl ecx, 0x10
mov eax, dword [esp + 0x10]
or edi, ecx
xor esi, edx
mov dword [esp + 0x1c], edx
xor edi, ebp
xor edx, edx
or edx, ebx
mov ecx, esi
mov ebx, dword [esp + 0x24]
add eax, edi
mov dword [esp + 0x10], eax
adc edx, esi
shr ecx, 0xb
shld esi, edi, 0x15
mov dword [ebx], eax
xor eax, eax
or eax, esi
shl edi, 0x15
or ecx, edi
mov dword [ebx + 4], edx
xor ecx, dword [esp + 0x10]
xor eax, edx
mov edi, dword [esp + 0x18]
mov edx, edi
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], ecx
mov ecx, edi
mov ebx, dword [esp + 0x14]
mov esi, ebx
add esi, ebp
adc edx, dword [esp + 0x1c]
xor eax, eax
shld edi, ebx, 0x11
shr ecx, 0xf
or eax, edi
shl ebx, 0x11
mov edi, dword [esp + 0x24]
xor eax, edx
or ecx, ebx
xor ecx, esi
mov dword [edi + 0xc], eax
xor eax, eax
or eax, esi
mov dword [edi + 8], ecx
sub dword [esp + 0x28], 1
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
jne 0x104e1eb3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4056c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ecx]
jne 0x405770
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
invalid
movsd dword es:[edi], dword [esi]

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

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc
Function at 0x40baa0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bc71
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40bacb
mov eax, 0x7000000
jmp 0x40bad3
test eax, eax
je 0x40bc4c
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0045f950
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x11ab940]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40bc64
cmp ecx, 0x21
jae 0x40bc58
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00458ed0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00458fa0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0xc9474c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0xc9488c]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bc27
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0xc949b4]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045fa30
mov eax, ecx
mov ecx, 0x21
call fcn.0045fb10
nop
call fcn.0045e560
jmp fcn.0040baa0
Function at 0x415520
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415736
sub esp, 0x18
mov eax, dword [0x12acd90]
test eax, eax
jne 0x41571f
nop
nop
lea eax, [0x12acd78]
mov dword [esp], eax
call fcn.004098c0
mov eax, dword [0x12acd7c]
test eax, eax
je 0x41556a
cmp dword [eax + 8], 0xcc
jne 0x4155e0
mov edx, dword [0x12acd70]
test edx, edx
jne 0x4155c2
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x12b1738]
mov dword [esp + 8], eax
call fcn.0040bc80
mov eax, dword [esp + 0xc]
mov dword [0x12acd70], eax
mov ecx, dword [0x12acd2c]
mov dword [eax], ecx
mov eax, dword [0x12acd70]
mov dword [0x12acd2c], eax
movzx eax, byte [0x12ad440]
test al, al
jne 0x4155c2
xor eax, eax
jmp 0x4156cb
mov edx, dword [0x12acd70]
mov ebx, dword [edx + 4]
mov dword [0x12acd70], ebx
mov ebx, dword [0x12acd7c]
mov dword [edx + 4], ebx
mov dword [0x12acd7c], edx
mov edx, dword [0x12acd7c]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x4156b3
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401fd0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x12ad060]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41563e
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41564b
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045f9a0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x12ad060]
test edx, edx
jne 0x415677
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x415698
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045f9a0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045f9a0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045f9a0
mov byte [0x12accbe], 1
nop
nop
lea eax, [0x12acd78]
mov dword [esp], eax
call fcn.00409ac0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045fa30
lea esi, [0x12ad440]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4155c2
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x415715
lea edx, [0x11a2254]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4156bd
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045fa20
mov ecx, 5
call fcn.0045fa20
lea eax, [0x9fa12c]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00434780
nop
call fcn.0045e560
jmp fcn.00415520
Function at 0x425eb0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x425fce
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x425f46
cmp cl, 2
je 0x425eed
cmp cl, 3
jne 0x425fb7
mov byte [eax + 8], 1
jmp 0x425fb3
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042b510
nop
nop
lea eax, [0x1291330]
mov dword [esp], eax
call fcn.004098c0
nop
mov eax, dword [0x1291300]
sub eax, dword [0x12912e8]
mov dword [0x1291300], eax
mov eax, dword [0x12912f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x12912f4], ecx
nop
lea eax, [0x1291330]
mov dword [esp], eax
call fcn.00409ac0
jmp 0x425fb3
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00415520
nop
nop
lea eax, [0x1291330]
mov dword [esp], eax
call fcn.004098c0
nop
mov eax, dword [0x12912dc]
sub eax, dword [0x12912c4]
mov dword [0x12912dc], eax
mov eax, dword [0x12912d0]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x12912d0], ecx
nop
nop
lea eax, [0x1291330]
mov dword [esp], eax
call fcn.00409ac0
add esp, 0x14
ret
lea eax, [0x9f109c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00434780
nop
call fcn.0045e560
jmp fcn.00425eb0
Function at 0x427dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x427fd3
sub esp, 0x34
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x34], eax
jbe 0x427df9
mov dword [edx + 0x34], eax
mov ebx, dword [esp + 0x40]
mov ebp, ebx
shl ebx, 0xd
lea ebx, [ebx + eax - 1]
cmp dword [edx + 0x78], ebx
jae 0x427e0e
mov dword [edx + 0x78], ebx
cmp ebp, 1
je 0x427ea0
nop
nop
nop
nop
mov ecx, eax
shr eax, 0x16
mov esi, ebx
shr ebx, 0x16
and ecx, 0x3fffff
shr ecx, 0xd
and esi, 0x3fffff
shr esi, 0xd
cmp ebx, eax
je 0x427e7c
mov ebp, dword [edx + 0x30]
test byte [ebp], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
shl eax, 7
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx - 0x200]
neg eax
mov dword [esp + 8], eax
call fcn.004291f0
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
jmp 0x427f8e
mov ebx, dword [edx + 0x30]
test byte [ebx], al
shl eax, 7
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
sub esi, ecx
lea eax, [esi + 1]
mov dword [esp + 8], eax
call fcn.004291f0
jmp 0x427f3f
mov ebx, dword [edx + 0x30]
test byte [ebx], al
nop
mov esi, eax
shr eax, 0x16
shl eax, 7
add ebx, eax
mov eax, esi
and eax, 0x3fffff
nop
mov edi, eax
shr eax, 0x13
cmp eax, 8
jae 0x427f66
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
shr edi, 0xd
and edi, 0x3f
mov dword [esp + 0x1c], edi
cmp edi, 0x20
sbb ebp, ebp
mov dword [esp + 0x18], ebp
lea esi, [edi - 0x20]
mov dword [esp + 0x14], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb edx, edx
mov ebp, dword [esp + 0x14]
cmp ebp, 0x20
sbb edi, edi
lea eax, [ebx + eax*8]
mov ecx, esi
mov ebx, 1
shr ebx, cl
and ebx, edx
mov ecx, ebp
mov edx, 1
shl edx, cl
and edi, edx
or ebx, edi
not ebx
and ebx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x18]
and edx, ebp
not edx
and dword [eax], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [edx + eax*8 + 4]
mov dword [eax], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov word [esp + 0xc], 1
call fcn.004266e0
add esp, 0x34
ret
mov ecx, 8
call fcn.0045fa30
mov dword [esp + 0x10], eax
shl eax, 7
add eax, ebx
mov dword [esp], eax
call fcn.004294a0
mov eax, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
cmp eax, ecx
jae 0x427fa0
mov ebx, dword [edx + 0x30]
test byte [ebx], al
cmp eax, 0x400
jb 0x427f70
jmp 0x427fc8
mov eax, dword [edx + 0x30]
test byte [eax], al
shl ecx, 7
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 8], eax
call fcn.004291f0
jmp 0x427f3f
mov ecx, 0x400
call fcn.0045fa30
nop
call fcn.0045ce40
jmp fcn.00427dd0
Function at 0x42f570
Capabilities:
Reference http user-agent string
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42f7d0
sub esp, 0x3c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov eax, dword [0x1284254]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
lea ebx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00431040
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
jb 0x42f66b
jne 0x42f5ee
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x42f5ee
mov eax, dword [esp + 0x30]
and eax, 0xffff
cmp eax, 0x3ad7
jb 0x42f66b
mov eax, dword [0x1284250]
mov dword [esp], eax
call fcn.00430f60
mov eax, dword [esp + 4]
add eax, 3
mov dword [esp + 0x38], eax
movzx ecx, byte [eax]
mov byte [esp + 0x27], cl
or ecx, 0xffffff80
mov byte [eax], cl
lea ecx, [0x12ae22a]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x21
call fcn.0042fde0
mov ecx, dword [0x12acdf8]
cmp ecx, 0x105
ja 0x42f7c5
mov dword [esp + 0x34], ecx
lea eax, [0x12ae040]
mov dword [esp], eax
lea edx, [0x12ada80]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00460350
mov eax, dword [esp + 0x34]
xor ecx, ecx
jmp 0x42f676
add esp, 0x3c
ret
xchg esi, eax
mov byte [edx + ebx + 1], al
xchg esi, eax
inc ecx
cmp ecx, 0x20
jge 0x42f6e3
lea edx, [eax + ecx*2]
lea ebx, [ecx + 0x1ea]
cmp ebx, 0x20b
jae 0x42f7b9
lea ebx, [0x12ae040]
movzx ebp, byte [ecx + ebx + 0x1ea]
xchg ebp, eax
shr al, 4
xchg ebp, eax
xchg ebp, eax
movzx eax, al
xchg ebp, eax
lea esi, [0x9efc3c]
movzx ebp, byte [esi + ebp]
cmp edx, 0x20b
jae 0x42f7ad
xchg ebp, eax
mov byte [ebx + edx], al
xchg ebp, eax
lea ebp, [eax + ecx*2 + 1]
movzx edi, byte [ecx + ebx + 0x1ea]
and edi, 0xf
movzx esi, byte [edi + esi]
cmp ebp, 0x20b
jb 0x42f66f
jmp 0x42f7a1
lea edx, [eax + 0x40]
jmp 0x42f6f3
lea ebx, [0x12ae040]
mov byte [ebx + edx], 0x41
inc edx
cmp edx, 0x20a
jge 0x42f708
cmp edx, 0x20b
jb 0x42f6e8
jmp 0x42f795
mov eax, dword [sym.imp.KERNEL32.DLL_CreateFileA]
lea ecx, [0x12ae040]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00431180
call fcn.00460740
cmp dword [esp], 3
jne 0x42f78a
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x38]
mov byte [ecx], al
call fcn.00436180
lea eax, [0xa16edf]
mov dword [esp], eax
mov dword [esp + 4], 0x5f
call fcn.00436a60
call fcn.004361f0
add esp, 0x3c
ret
mov byte [0x12accb6], 1
add esp, 0x3c
ret
mov eax, edx
mov ecx, 0x20b
call fcn.0045fa20
mov eax, ebp
mov ecx, 0x20b
call fcn.0045fa20
mov eax, edx
mov ecx, 0x20b
call fcn.0045fa20
mov eax, ebx
mov ecx, 0x20b
call fcn.0045fa20
mov edx, 0x105
call fcn.0045fa50
nop
call fcn.0045e560
jmp fcn.0042f570
Function at 0x432fb0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x4330dd
lea ebx, [esp + 0x20]
cmp dword [edx + 8], ebx
jne 0x4330d9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
lea edi, [ecx + 0x14]
mov dword [esp + 0x18], edi
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x433093
mov ebp, dword [edx]
test ebp, ebp
je 0x43302e
cmp ebp, 4
jne 0x43300e
lea ebp, [edx + 0x28]
test byte [ebp], al
mov ebp, dword [edx + 0x28]
nop
mov dword [ebx], ebp
jmp 0x43302e
nop
mov dword [esp], ebx
lea eax, [edx + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00460350
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [edx + 0x10]
mov ebp, dword [0x12ad060]
test ebp, ebp
jne 0x433044
mov dword [edx + 0x10], 0
jmp 0x433054
lea ebp, [edx + 0x10]
xor eax, eax
mov esi, edi
mov edi, ebp
call fcn.0045f9a0
mov edi, esi
mov dword [esp + 0x10], ebx
test byte [ecx], al
mov ebp, dword [0x12ad060]
mov eax, dword [edx + 0x18]
test ebp, ebp
jne 0x43306c
mov dword [ecx + 0x14], eax
jmp 0x433071
call fcn.0045f9a0
mov dword [esp], edx
call fcn.00432be0
mov eax, dword [esp + 0x10]
test byte [eax], al
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0045f5f0
add esp, 0x1c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00433700
movzx eax, byte [esp + 8]
test al, al
je 0x4330e1
mov ecx, dword [esp + 0xc]
test byte [ecx], al
mov edx, dword [0x12ad060]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x18]
test edx, edx
jne 0x4330c4
mov dword [ecx + 0x14], eax
jmp 0x4330cd
mov edi, dword [esp + 0x18]
call fcn.0045f9a0
mov dword [esp], ebx
call fcn.00432be0
add esp, 0x1c
ret
add esp, 0x1c
ret
add esp, 0x1c
ret
lea eax, [0xa0a69c]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00434780
nop
int3
Function at 0x43e250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.0043e1f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.00438b00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x43e2c3
cmp dword [eax + 4], ecx
jae 0x43e2f1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x43e420]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.0045e450
mov eax, dword [esp + 0xc]
movzx ecx, byte [0x1291368]
test cl, cl
je 0x43e31e
lea eax, [0xc0280c]
mov dword [esp], eax
call fcn.0045e450
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0043e1f0
lea eax, [0x12877ac]
mov dword [esp], eax
call fcn.00401eb0
mov eax, dword [esp + 4]
test eax, eax
je 0x43e356
lea eax, [0xc026c4]
mov dword [esp], eax
call fcn.0045e450
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0043e1f0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x13a8]
test ecx, ecx
je 0x43e392
lea eax, [0xc027c0]
mov dword [esp], eax
call fcn.0045e450
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0043e1f0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6f], 1
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.00402090
mov eax, dword [0x12877a0]
test eax, eax
je 0x43e403
lea eax, [0xc026c0]
mov dword [esp], eax
call fcn.0045e450
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.0043e1f0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret