joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push esi
push ebx
push edi
mov eax, dword [edi + 0x50]
call eax
movzx eax, word [esi + 0x10]
add esp, 0xc
mov edx, dword [esi + 0xc]
mov dword [ebp + 8], eax
cmp eax, edx
je 0x5375e3
movzx esi, word [esi + 0x12]
lea eax, [ebx - 1]
movzx ecx, word [edi + 0x18]
add eax, esi
add ecx, dword [edi + 0x38]
cmp eax, ecx
jbe 0x53747b
push 0x7c07dc
push 0x10439
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 0x34]
sub edx, dword [ebp + 8]
mov esi, dword [esi + ebx - 4]
bswap esi
mov ecx, dword [edi + 0x24]
sub ecx, 4
mov dword [ebp + 0x10], edi
lea eax, [edx - 1]
xor edx, edx
add eax, ecx
div ecx
mov ebx, eax
test ebx, ebx
je 0x5375e3
jmp 0x5374b0
dec ebx
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
cmp esi, 2
jb 0x5375b9
cmp esi, dword [edi + 0x2c]
ja 0x5375b9
test ebx, ebx
je 0x5374f9
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
push edi
call fcn.005443f0
add esp, 0x10
test eax, eax
jne 0x5375e5
mov edi, dword [ebp + 8]
test edi, edi
jne 0x537509
mov edi, dword [ebp + 0x10]
push esi
push edi
call fcn.00536130
mov edi, eax
add esp, 8
test edi, edi
je 0x53753a
mov ecx, dword [edi + 0x48]
cmp word [ecx + 0x1e], 1
je 0x53753a
push 0x7c07dc
push 0x1045e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov dword [ebp + 8], 0xb
jmp 0x53754a
push esi
push edi
push dword [ebp + 0x10]
call fcn.005425e0
add esp, 0xc
mov dword [ebp + 8], eax
test edi, edi
je 0x5375a3
mov edx, dword [edi + 0x48]
test edx, edx
je 0x5375a3
test byte [edx + 0x1c], 0x20
je 0x53759a
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00723510
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x5375a3
push edx
call fcn.0056dd70
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
jne 0x5375e5
mov esi, dword [ebp - 4]
test ebx, ebx
je 0x5375e3
mov edi, dword [ebp + 0x10]
jmp 0x5374b0
push 0x7c07dc
push 0x1044a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5478e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov al, byte [esi + 0x44]
test al, al
js 0x54797c
je 0x5479f2
push dword [esi + 0x74]
call fcn.0054f5a0
add esp, 4
dec byte [esi + 0x44]
je 0x547971
push ebx
movsx eax, byte [esi + 0x44]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x547962
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00723510
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x54796b
push edx
call fcn.0056dd70
add esp, 4
dec byte [esi + 0x44]
jne 0x547912
pop ebx
mov eax, dword [esi + 0x78]
mov dword [esi + 0x74], eax
jmp 0x547a0a
cmp dword [esi + 0x3c], 0
jne 0x547990
pop edi
mov byte [esi], 0
mov eax, 0x10
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 3
jb 0x5479b8
cmp al, 4
jne 0x5479a3
mov eax, dword [esi + 0x40]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 0x38]
call fcn.0052c640
add esp, 4
mov dword [esi + 0x38], 0
mov byte [esi], 0
movzx eax, byte [esi + 2]
lea edi, [esi + 0x74]
push eax
mov eax, dword [esi + 8]
push 0
push edi
push dword [esi + 0x3c]
push dword [eax + 4]
call fcn.00544010
mov ecx, eax
add esp, 0x14
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x5479e6
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov byte [esi + 0x44], 0
mov al, byte [eax + 2]
mov byte [esi + 0x45], al
mov eax, dword [esi + 0x74]
cmp byte [eax], 0
je 0x547a71
movzx eax, byte [eax + 2]
xor ecx, ecx
cmp dword [esi + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x547a71
and byte [esi + 1], 0xf1
xor eax, eax
mov word [esi + 0x46], ax
mov word [esi + 0x2a], ax
mov eax, dword [esi + 0x74]
cmp word [eax + 0x16], 0
jbe 0x547a2e
mov eax, dword [ebp - 4]
pop edi
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [eax + 8], 0
jne 0x547982
cmp dword [eax + 4], 1
je 0x547a51
push 0xffc8
call fcn.0055aa90
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
mov eax, dword [ecx + eax + 8]
bswap eax
push eax
push esi
mov byte [esi], 1
call fcn.00547650
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x7c07dc
push 0xffbb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x54a460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x54a494
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
movq qword [eax], xmm0
jmp 0x54a506
movzx edi, word [ebx + 0x8c]
add edi, 0x28
push 0
push edi
call fcn.0056a840
mov esi, eax
add esp, 8
test esi, esi
je 0x54a4bb
push edi
push 0
push esi
call fcn.00723180
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], esi
test esi, esi
jne 0x54a4f6
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x98]
dec ecx
mov esi, dword [ebx + 0x3c]
push 0
cdq
push ecx
mov edi, dword [esi]
push edx
push eax
call fcn.00723510
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, 7
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [esi + 0x28]
mov dword [esi + 0x1c], 0x10020
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
inc dword [ebx + 0x78]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x556a50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push esi
movlpd qword [ebp - 8], xmm0
call fcn.005478e0
add esp, 4
cmp eax, 0x10
jne 0x556a87
mov eax, dword [ebp + 0xc]
pop esi
mov dword [eax], 0
mov dword [eax + 4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
test eax, eax
jne 0x556bc2
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edx
lea ecx, [ecx]
mov edi, dword [esi + 0x74]
mov cl, byte [edi + 8]
test cl, cl
jne 0x556aaf
cmp byte [edi + 2], cl
jne 0x556abc
movzx eax, word [edi + 0x16]
cdq
add dword [ebp - 4], eax
adc ebx, edx
mov dword [ebp - 0xc], ebx
test cl, cl
je 0x556b5d
mov cl, byte [esi + 0x44]
test cl, cl
je 0x556bab
and byte [esi + 1], 0xf9
xor eax, eax
mov word [esi + 0x2a], ax
movsx eax, cl
dec cl
mov ax, word [esi + eax*2 + 0x46]
mov word [esi + 0x46], ax
movsx eax, cl
mov byte [esi + 0x44], cl
mov eax, dword [esi + eax*4 + 0x78]
mov dword [esi + 0x74], eax
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x556b3c
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00723510
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x556b45
push edx
call fcn.0056dd70
add esp, 4
mov edi, dword [esi + 0x74]
mov ax, word [esi + 0x46]
cmp ax, word [edi + 0x16]
jae 0x556ac4
inc word [esi + 0x46]
mov ebx, dword [ebp - 0xc]
movzx ecx, word [esi + 0x46]
movzx eax, word [edi + 0x16]
cmp ecx, eax
jne 0x556b76
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax + 8]
jmp 0x556b90
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
bswap eax
push eax
push esi
call fcn.00547650
add esp, 8
test eax, eax
je 0x556aa0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
call fcn.005478e0
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x562d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], eax
jle 0x562dc5
push ebx
push esi
mov ecx, edi
cmp edi, 2
jge 0x562d62
xor ecx, 1
mov eax, dword [edx + 0x10]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x562dce
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x7b8640]
movzx ecx, al
movzx ecx, byte [ecx + 0x7b8640]
sub ecx, edx
jne 0x562db7
sub ebx, esi
test al, al
je 0x562dca
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x7b8640]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x7b8640]
sub ecx, edx
je 0x562d96
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
inc edi
cmp edi, dword [edx + 0x14]
jl 0x562d58
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x562db7
mov eax, dword [ebp - 8]
push 0
push dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.005400f0
add esp, 0xc
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x562dc3
jmp 0x562dba
Function at 0x562df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
push edi
lea esp, [esp]
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [eax + 0x14], edi
jle 0x562ebc
mov edi, edi
mov ecx, edi
cmp edi, 2
jge 0x562e1f
xor ecx, 1
mov dword [ebp - 4], ecx
jmp 0x562e22
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x562e84
mov edx, ecx
mov eax, ebx
mov ecx, dword [ebp + 8]
add edx, edx
mov bl, byte [ebx]
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x7b8640]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x7b8640]
sub esi, ecx
jne 0x562eac
sub edx, eax
mov dword [ebp - 8], edx
test bl, bl
je 0x562e7d
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x7b8640]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x7b8640]
sub esi, edx
mov edx, dword [ebp - 8]
je 0x562e57
jmp 0x562eac
test esi, esi
jne 0x562eac
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x10]
add ecx, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 8
push eax
call fcn.005400f0
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
jne 0x562f76
mov eax, dword [ebp + 8]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x562e10
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x7b8640]
sub eax, 0x73
jne 0x562f74
mov esi, str.sqlite_master
sub esi, ecx
test dl, dl
je 0x562f01
movzx eax, byte [esi + ecx + 1]
inc ecx
mov dword [ebp + 0xc], ecx
mov dl, byte [ecx]
movzx ecx, byte [eax + 0x7b8640]
movzx eax, dl
movzx eax, byte [eax + 0x7b8640]
sub eax, ecx
jne 0x562f74
mov ecx, dword [ebp + 0xc]
jmp 0x562ed8
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x562f17
neg edx
sbb edx, edx
jmp 0x562f63
test edx, edx
je 0x562f74
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x7b8640]
movzx eax, bl
movzx eax, byte [eax + 0x7b8640]
sub eax, ecx
jne 0x562f61
sub edx, edi
lea esp, [esp]
test bl, bl
je 0x562f61
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x7b8640]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x7b8640]
sub eax, ecx
je 0x562f40
mov edx, eax
test edx, edx
jne 0x562f74
mov ecx, str.sqlite_temp_master
mov dword [ebp + 0xc], ecx
jmp 0x562e00
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x576630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp dword [0x8804f0], 0
je 0x576682
mov eax, dword [0x89e658]
test eax, eax
je 0x57665a
push eax
call dword [0x88054c]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0x14
call fcn.00547030
mov eax, dword [0x89e658]
add esp, 8
test eax, eax
je 0x57667d
push eax
call dword [0x880554]
mov esi, dword [ebp + 8]
jmp 0x57668c
mov esi, dword [ebp + 8]
jmp 0x57668f
push 0x14
call dword [0x88051c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x57669a
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp dword [0x8804f4], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x5766e5
mov eax, dword [0x8805f4]
test eax, eax
je 0x5766be
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x5766e5
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x576780
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.00726bc4
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x5766f3
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x57670c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x5c1170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x783f3e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebx + 4]
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebx], vtable.Poco::Data::MetaColumn.0
push 0
lea eax, [esi + 4]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 0x6c], ebx
mov byte [ecx], 0
call fcn.0042fa30
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [ebx + 0x2c], al
push edi
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 0
call fcn.005c4aa0
lea edi, [ebx + 0x38]
mov byte [ebp - 4], 1
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.007215d8
add esp, 4
test eax, eax
jne 0x5c1237
call fcn.0070d678
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
cmp dword [ebx + 0x34], 0
mov byte [ebp - 4], 2
jne 0x5c126b
push 0xc8
push str.C:Jenkinsworkspace_buildscoreconaniron_stablepoco_1.9.0_vs2013conan_temp_releasepoco_poco_1.9.0_releaseDataincludePoco_Data_Column.h
push str._pData
call fcn.00611f30
add esp, 0xc
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x5c1289
push eax
lea ecx, [ebp - 0x3c]
call fcn.006152b0
push 0x851468
lea eax, [ebp - 0x3c]
push eax
call fcn.00722044
mov esi, dword [eax]
xor edx, edx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5c12bf
mov edx, eax
test edx, edx
jns 0x5c12b4
neg eax
je 0x5c12b4
or ecx, 0xffffffff
mov eax, 0xfffffffc
sub ecx, edx
shr ecx, 5
shl ecx, 2
sub eax, ecx
add esi, eax
jmp 0x5c12bc
mov eax, edx
shr eax, 5
lea esi, [esi + eax*4]
and edx, 0x1f
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x5c12dd
push eax
lea ecx, [ebp - 0x68]
call fcn.006152b0
push 0x851468
lea eax, [ebp - 0x68]
push eax
call fcn.00722044
push edx
push esi
push 0
push dword [eax]
mov ecx, edi
call fcn.005b4c10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 8
Function at 0x5c4b80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7845bb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [esi + 0xc]
mov dword [ebp - 0x44], esi
push 0xffffffffffffffff
push eax
mov dword [esi], vtable.Poco::Data::StatementImpl.0
mov dword [esi + 8], 0
call fcn.005bd530
add esp, 0xc
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x30]
push 1
push 2
mov byte [ebp - 4], 1
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 3
call fcn.00435ff0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov ecx, dword [esi + 0x24]
mov byte [ebp - 4], 5
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x5c4cb6
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x3c]
push 0
add eax, 8
push eax
call fcn.005ab050
push 0x8632ec
lea eax, [ebp - 0x3c]
push eax
call fcn.00722044
push 1
lea ecx, [esi + 0xd4]
call fcn.005f35b0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 1
lea ecx, [esi + 0x18]
call fcn.005f31a0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push 1
lea ecx, [esi + 0xec]
call fcn.005f3100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret 4
Function at 0x5f7620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x787453
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x9c], 0
je 0x5f76b6
push 9
push str.255.0.0.0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
call fcn.0042fb60
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.005fae90
add esp, 8
cmp dword [ebp - 0x7c], 0x10
jb 0x5f7855
push dword [ebp - 0x90]
jmp 0x5f784d
push 0x3e
push str.SYSTEMCurrentControlSet_servicesTcpipParametersInterfaces_
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
call fcn.0042fb60
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.004072f0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00623230
add esp, 8
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5f775a
mov ecx, esi
call fcn.005f9be0
jmp 0x5f7800
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x98], 0x20
push eax
push 0
push 0
push str.DhcpSubnetMask
push dword [ebp - 0x94]
call edi
test eax, eax
je 0x5f77d7
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push str.SubnetMask
push dword [ebp - 0x94]
call edi
test eax, eax
je 0x5f77d7
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.005f9be0
lea ecx, [ebp - 0x48]
call fcn.0048d520
lea ecx, [ebp - 0x60]
call fcn.00404fd0
lea ecx, [ebp - 0x78]
call fcn.00404fd0
jmp 0x5f7855
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00623430
add esp, 8
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x60]
push eax
push esi
call fcn.005fae90
add esp, 8
cmp dword [ebp - 0x34], 8
jb 0x5f7811
push dword [ebp - 0x48]
call fcn.00489b60
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x4c], 0x10
mov word [ebp - 0x48], ax
mov dword [ebp - 0x38], eax
jb 0x5f7832
push dword [ebp - 0x60]
call fcn.00489b60
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov byte [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
jb 0x5f7855
push dword [ebp - 0x78]
call fcn.00489b60
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret