joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6be000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x6be131
push esi
call fcn.006c1145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.006b0080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x6be131
push 0
push ebp
call fcn.006b03a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.006b0260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x6be08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006b02f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x6be121
push 0x6d6918
push edi
call fcn.006bf3f0
push eax
push ebx
push esi
call fcn.006bdf60
push 0x6d68f8
push edi
call fcn.006bf3f0
push eax
push ebx
push esi
call fcn.006bdf60
push 0x6d68d8
push edi
call fcn.006bf3f0
push eax
push ebx
push esi
call fcn.006bdf60
push 0x6d68c0
push edi
call fcn.006bf3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.006bdf60
push 0x6d68a0
push edi
call fcn.006bf3f0
push eax
push ebx
push esi
call fcn.006bdf60
push 0x6d6888
push edi
call fcn.006bf3f0
push eax
push ebx
push esi
call fcn.006bdf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6bf1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006bf140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006bf140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006bf140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006bf140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6bfbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6bfc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6d187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6bfc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6bfc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x405220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
push ebx
xor ebx, ebx
push ebp
push edi
mov edi, edx
mov edx, dword [edi + 0xc]
push 1
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov byte [edx + 0xdf4], bl
mov dword [esp + 0x14], eax
push eax
mov edx, 0x4aeeef
lea eax, [esp + 0x64]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], bl
call fcn.00422710
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov word [esp + 0x32], bx
call fcn.00418770
test eax, eax
jns 0x405301
lea edi, [esp + 0x28]
call fcn.00418480
cmp dword [esp + 0x3c], 0xb
jbe 0x4052ee
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4052ee
push eax
call dword [0x4d5464]
add esp, 4
lea eax, [esp + 0x5c]
call fcn.004226b0
mov eax, 0xfffffff4
jmp 0x405418
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 0x1c]
mov ecx, dword [ebp + 8]
add ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00432f40
mov ebp, dword [ebp + 0x14]
cmp ebp, ebx
je 0x4053b9
jmp 0x405330
mov edx, dword [ebp + 8]
add edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
call fcn.00432f40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
jne 0x405373
cmp ecx, ebx
jne 0x40535f
push ebx
push 1
jmp 0x405365
push 1
lea eax, [ecx + ecx]
push eax
push esi
call fcn.00408040
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x405395
mov ecx, eax
inc eax
shl ecx, 4
add ecx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, 0xb
jbe 0x40538f
mov edx, dword [esp + 0x18]
push edx
call fcn.00432f40
cmp dword [esp + 0x14], 0xb
jbe 0x4053ae
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4053ae
push eax
call dword [0x4d5464]
add esp, 4
mov ebp, dword [ebp + 0x14]
cmp ebp, ebx
jne 0x405330
cmp dword [edi], ebx
lea edi, [esp + 0x28]
jle 0x4053ef
call fcn.00418480
cmp dword [esp + 0x3c], 0xb
jbe 0x4053df
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4053df
push eax
call dword [0x4d5464]
add esp, 4
lea eax, [esp + 0x5c]
call fcn.004226b0
mov eax, 0xfffffff6
jmp 0x405418
call fcn.00418480
cmp dword [esp + 0x3c], 0xb
jbe 0x40540d
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x40540d
push eax
call dword [0x4d5464]
add esp, 4
lea eax, [esp + 0x5c]
call fcn.004226b0
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x8c
ret 4
Function at 0x407c80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 8], ebx
cmp esi, ebx
je 0x407d21
mov eax, esi
shl eax, 4
cmp eax, 8
ja 0x407ca8
lea eax, [edi + 0xc]
mov dword [esp + 8], eax
jmp 0x407cbe
push eax
call dword [0x4d5460]
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebx
je 0x407e26
mov ecx, dword [esp + 8]
cmp dword [edi], ecx
jne 0x407cfb
mov edx, dword [edi + 4]
cmp edx, esi
jae 0x407d21
mov eax, edx
add eax, eax
lea eax, [ecx + eax*8 + 0xc]
mov ecx, esi
sub ecx, edx
lea esp, [esp]
lea edx, [eax - 0xc]
test edx, edx
je 0x407cf3
and byte [eax], 0xc0
mov dword [eax - 0xc], ebx
mov dword [eax - 8], ebx
mov dword [eax - 4], ebx
add eax, 0x10
dec ecx
jne 0x407ce0
jmp 0x407d21
cmp esi, ebx
jbe 0x407d21
mov eax, dword [esp + 8]
add eax, 0xc
mov ecx, esi
lea edx, [eax - 0xc]
test edx, edx
je 0x407d1b
and byte [eax], 0xc0
mov dword [eax - 0xc], ebx
mov dword [eax - 8], ebx
mov dword [eax - 4], ebx
add eax, 0x10
dec ecx
jne 0x407d08
mov eax, dword [edi]
cmp eax, ebx
je 0x407e1d
mov edx, dword [esp + 8]
mov ecx, dword [edi + 4]
cmp eax, edx
jne 0x407d66
cmp byte [esp + 0x14], bl
je 0x407d54
cmp ecx, esi
jbe 0x407e1d
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov eax, edx
pop esi
mov dword [edi], eax
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 8]
mov dword [edi + 8], esi
pop esi
mov dword [edi + 4], ebx
mov dword [edi], eax
pop ebx
pop ecx
ret 8
push ebp
cmp byte [esp + 0x18], bl
je 0x407e06
cmp ecx, esi
jbe 0x407d78
mov dword [edi + 4], esi
xor ebp, ebp
cmp dword [edi + 4], ebx
jbe 0x407e09
mov ebx, 0xfffffff4
lea eax, [edx + 0xc]
sub ebx, edx
lea ecx, [ecx]
lea esi, [ebx + eax]
add esi, dword [edi]
inc ebp
mov ecx, dword [esi]
mov dword [eax - 0xc], ecx
movzx edx, byte [esi + 0xc]
xor dl, byte [eax]
add eax, 0x10
and dl, 1
xor byte [eax - 0x10], dl
mov ecx, dword [esi + 4]
mov dword [eax - 0x18], ecx
movzx edx, byte [esi + 0xc]
xor dl, byte [eax - 0x10]
and dl, 2
xor byte [eax - 0x10], dl
mov dl, byte [eax - 0x10]
mov cl, byte [esi + 0xc]
xor cl, dl
and cl, 4
xor cl, dl
mov byte [eax - 0x10], cl
mov dl, byte [esi + 0xc]
xor dl, cl
and dl, 8
xor dl, cl
mov byte [eax - 0x10], dl
movzx ecx, byte [esi + 0xc]
xor cl, dl
and cl, 0x10
xor cl, dl
mov byte [eax - 0x10], cl
mov edx, dword [esi + 8]
mov dword [eax - 0x14], edx
movzx ecx, byte [esi + 0xc]
xor cl, byte [eax - 0x10]
and cl, 0x20
xor byte [eax - 0x10], cl
cmp ebp, dword [edi + 4]
jb 0x407d90
mov esi, dword [esp + 0x14]
jmp 0x407e09
mov dword [edi + 4], ebx
mov eax, dword [edi]
lea edx, [edi + 0xc]
pop ebp
cmp eax, edx
je 0x407e1d
push eax
call dword [0x4d5464]
add esp, 4
mov eax, dword [esp + 8]
mov dword [edi], eax
mov dword [edi + 8], esi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x414b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
mov ebx, dword [esp + 0x104]
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x14]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov byte [esp + 0x30], 1
call fcn.0042ed40
mov eax, dword [esi + 0x34]
push 0
push eax
push 0
push 0
push ebx
push 0
lea ecx, [esp + 0x38]
push ecx
xor edx, edx
lea ecx, [esp + 0x50]
call fcn.004057c0
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x414d3a
mov esi, dword [esi + 0xa4]
mov dword [esp + 0x18], esi
mov edx, dword [esi]
mov esi, dword [edx]
mov ebx, dword [esi + 0x28]
lea ecx, [esi + 0x2c]
cmp ebx, 0xb
jbe 0x414be8
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x60]
cmp eax, 0xb
jbe 0x414bf9
mov edx, dword [esp + 0x60]
push eax
call fcn.00433530
add esp, 4
test eax, eax
jne 0x414d13
mov eax, dword [esp + 0x6c]
cmp eax, dword [esi + 0x38]
jne 0x414d13
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esi + 0x3c]
jne 0x414d13
mov cl, byte [esi + 0x44]
mov dl, byte [esp + 0x78]
mov al, dl
mov bl, cl
shr al, 2
shr bl, 2
and al, 1
and bl, 1
cmp al, bl
jne 0x414d13
test al, al
je 0x414c52
mov al, cl
xor al, dl
test al, 2
jne 0x414d13
mov eax, dword [esp + 0x74]
cmp eax, dword [esi + 0x40]
jne 0x414d13
mov al, cl
xor al, dl
test al, 1
jne 0x414d13
mov al, cl
xor al, dl
test al, 2
jne 0x414d13
xor cl, dl
test cl, 8
jne 0x414d13
mov eax, dword [esp + 0x80]
cmp eax, dword [esi + 0x4c]
jne 0x414d13
xor ebp, ebp
test eax, eax
je 0x414d04
mov edi, dword [esi + 0x48]
mov esi, dword [esp + 0x7c]
add esi, 0xc
mov ecx, dword [esi - 0xc]
cmp ecx, dword [edi]
jne 0x414d13
mov edx, dword [esi - 8]
cmp edx, dword [edi + 4]
jne 0x414d13
mov cl, byte [esi]
mov dl, byte [edi + 0xc]
mov al, cl
mov bl, dl
shr al, 2
shr bl, 2
and al, 1
and bl, 1
cmp al, bl
jne 0x414d13
test al, al
je 0x414cd5
mov al, cl
xor al, dl
test al, 2
jne 0x414d13
mov eax, dword [esi - 4]
cmp eax, dword [edi + 8]
jne 0x414d13
mov al, cl
xor al, dl
test al, 1
jne 0x414d13
mov al, cl
xor al, dl
test al, 2
jne 0x414d13
xor cl, dl
test cl, 8
jne 0x414d13
inc ebp
add edi, 0x10
add esi, 0x10
cmp ebp, dword [esp + 0x80]
jb 0x414ca2
cmp dword [esp + 0x14], 0xffffffff
jne 0x414d4a
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
inc eax
add esi, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
cmp eax, dword [esp + 0x1c]
jb 0x414bd6
mov esi, dword [esp + 0x14]
cmp esi, 0xffffffff
jne 0x414d5a
lea edi, [esp + 0x34]
call fcn.0042f110
mov eax, 0xfffffffa
jmp 0x414d65
lea edi, [esp + 0x34]
call fcn.0042f110
mov eax, 0xfffffff2
jmp 0x414d65
lea edi, [esp + 0x34]
call fcn.0042f110
mov eax, esi
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0xfc
ret 4
Function at 0x414d90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x108
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 0x14]
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov byte [esp + 0x38], 1
call fcn.0042ed40
mov eax, dword [esi + 0x34]
xor edi, edi
push edi
push eax
push edi
push edi
push ebx
push edi
lea ecx, [esp + 0x40]
push ecx
xor edx, edx
lea ecx, [esp + 0x58]
call fcn.004057c0
test eax, eax
jns 0x414dfb
lea edi, [esp + 0x3c]
call fcn.0042f110
xor eax, eax
jmp 0x414efb
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0xe24]
mov eax, dword [esp + 0xf0]
cmp eax, dword [ecx]
jne 0x414e12
mov eax, dword [esi + 0x34]
add esi, 0x4c
push ebp
lea ecx, [esp + 0x68]
mov edx, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], esi
call fcn.00416110
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
cmp ecx, edi
jbe 0x414eed
mov edx, dword [esi + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
jmp 0x414e54
mov esi, dword [esp + 0x20]
mov eax, dword [eax]
cmp eax, dword [esp + 0x28]
jb 0x414e64
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x414e70
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x14], edx
mov ebp, edx
cmp dword [ebp + 0x9c], 0
jne 0x414ecf
lea esi, [ebp + 0x38]
lea edi, [esp + 0x78]
call fcn.00411040
test al, al
je 0x414ecf
mov eax, dword [esp + 0x8c]
cmp eax, dword [ebp + 0x4c]
jne 0x414ecf
xor ebx, ebx
test eax, eax
je 0x414ec4
mov edi, dword [esp + 0x88]
mov ebp, dword [ebp + 0x48]
sub ebp, edi
lea esi, [edi + ebp]
call fcn.00411040
test al, al
je 0x414ecf
inc ebx
add edi, 0x10
cmp ebx, dword [esp + 0x8c]
jb 0x414ea7
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x10], 0
jne 0x414f15
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0x24]
jb 0x414e50
lea edi, [esp + 0x40]
call fcn.0042f110
mov eax, dword [esp + 0x10]
pop ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x108
ret 4
lea edi, [esp + 0x40]
call fcn.0042f110
xor eax, eax
jmp 0x414efa
Function at 0x422590
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, eax
cmp dword [edi + 8], ebx
jae 0x4225ae
push 0
push ebx
call fcn.00407c80
cmp dword [edi + 8], ebx
jb 0x42263c
test ebx, ebx
je 0x422639
mov eax, dword [esp + 0xc]
push ebp
mov ebp, 0xfffffff4
push esi
lea esi, [eax + 0xc]
sub ebp, eax
mov ecx, dword [esi - 0xc]
lea eax, [esi + ebp]
add eax, dword [edi]
add esi, 0x10
movzx edx, byte [eax + 0xc]
mov dword [eax], ecx
xor dl, byte [esi - 0x10]
and dl, 1
xor byte [eax + 0xc], dl
mov ecx, dword [esi - 0x18]
movzx edx, byte [eax + 0xc]
mov dword [eax + 4], ecx
xor dl, byte [esi - 0x10]
and dl, 2
xor byte [eax + 0xc], dl
mov dl, byte [eax + 0xc]
mov cl, byte [esi - 0x10]
xor cl, dl
and cl, 4
xor cl, dl
mov byte [eax + 0xc], cl
mov dl, byte [esi - 0x10]
xor dl, cl
and dl, 8
xor dl, cl
mov byte [eax + 0xc], dl
movzx ecx, byte [esi - 0x10]
xor cl, dl
and cl, 0x10
xor cl, dl
mov byte [eax + 0xc], cl
mov edx, dword [esi - 0x14]
movzx ecx, cl
mov dword [eax + 8], edx
xor cl, byte [esi - 0x10]
and cl, 0x20
xor byte [eax + 0xc], cl
dec ebx
jne 0x4225c6
mov ebx, dword [esp + 0x18]
pop esi
pop ebp
mov dword [edi + 4], ebx
pop edi
pop ebx
ret 8
Function at 0x425250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x104]
push ebx
mov ebx, dword [esp + 0x104]
push esi
push edi
mov edi, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x38]
mov esi, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
mov byte [esp + 0x2c], 1
call fcn.0042ed40
push 0
push 0
push 0
push 0
push ebx
push esi
lea eax, [esp + 0x34]
push eax
xor edx, edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0xe8], esi
call fcn.004057c0
test eax, eax
jns 0x4252ca
lea edi, [esp + 0x30]
call fcn.0042f110
mov eax, 0xfffffff6
jmp 0x425451
mov eax, dword [esi + 0x34]
push ebp
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x425425
mov ecx, dword [edi + 0x768]
mov ebp, dword [esi + 0x30]
mov dword [esp + 0x18], ecx
jmp 0x425300
mov edi, dword [ebp]
mov edx, dword [esp + 0x18]
mov esi, dword [edx + edi*4]
mov eax, dword [esp + 0x6c]
cmp eax, dword [esi + 0x38]
jne 0x425406
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esi + 0x3c]
jne 0x425406
mov dl, byte [esp + 0x78]
mov cl, byte [esi + 0x44]
mov al, dl
mov bl, cl
shr al, 2
shr bl, 2
and al, 1
and bl, 1
cmp al, bl
jne 0x425406
test al, al
je 0x425352
mov al, cl
xor al, dl
test al, 2
jne 0x425406
mov eax, dword [esp + 0x74]
cmp eax, dword [esi + 0x40]
jne 0x425406
mov al, cl
xor al, dl
test al, 1
jne 0x425406
mov al, cl
xor al, dl
test al, 2
jne 0x425406
xor cl, dl
test cl, 8
jne 0x425406
mov cl, byte [esp + 0xcc]
cmp cl, byte [esi + 0x98]
jne 0x425406
lea ecx, [esi + 0x70]
lea eax, [esp + 0xa4]
call fcn.00431aa0
test al, al
jne 0x425406
lea eax, [esi + 0x48]
lea ecx, [esp + 0x7c]
call fcn.004221d0
test al, al
je 0x425406
xor edx, edx
cmp dword [esi + 0x9c], edx
setne dl
xor eax, eax
cmp dword [esp + 0xd0], eax
setne al
cmp eax, edx
jne 0x425406
mov ebx, dword [esi + 0x28]
lea ecx, [esi + 0x2c]
cmp ebx, 0xb
jbe 0x4253dd
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x60]
cmp eax, 0xb
jbe 0x4253ee
mov edx, dword [esp + 0x60]
push eax
call fcn.00433530
add esp, 4
test eax, eax
jne 0x425406
cmp dword [esp + 0x10], 0xffffffff
jne 0x425435
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
inc eax
add ebp, 4
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jb 0x425300
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
jne 0x425445
lea edi, [esp + 0x34]
call fcn.0042f110
mov eax, 0xfffffffa
jmp 0x425450
lea edi, [esp + 0x34]
call fcn.0042f110
mov eax, 0xfffffff2
jmp 0x425450
lea edi, [esp + 0x34]
call fcn.0042f110
mov eax, esi
pop ebp
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0xfc
ret 8
Function at 0x428b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x108
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov esi, dword [esp + 0x114]
push edi
mov edi, ecx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x38], 1
call fcn.0042ed40
mov eax, dword [edi + 0xdac]
push ebx
push eax
push ebx
push ebx
push esi
push ebx
lea ecx, [esp + 0x40]
push ecx
xor edx, edx
lea ecx, [esp + 0x58]
call fcn.004057c0
test eax, eax
jns 0x428bab
lea edi, [esp + 0x3c]
call fcn.0042f110
xor eax, eax
jmp 0x428c9b
mov eax, dword [edi + 0xdac]
lea esi, [edi + 0x62c]
push ebp
lea ecx, [esp + 0x68]
mov edx, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], esi
call fcn.00416110
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
cmp ecx, ebx
jbe 0x428c8d
mov edx, dword [esi + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], eax
jmp 0x428bf4
mov esi, dword [esp + 0x20]
mov eax, dword [eax]
cmp eax, dword [esp + 0x28]
jb 0x428c04
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x428c10
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x14], edx
mov ebp, edx
cmp dword [ebp + 0x9c], 0
jne 0x428c6f
lea esi, [ebp + 0x38]
lea edi, [esp + 0x78]
call fcn.00411040
test al, al
je 0x428c6f
mov eax, dword [esp + 0x8c]
cmp eax, dword [ebp + 0x4c]
jne 0x428c6f
xor ebx, ebx
test eax, eax
je 0x428c64
mov edi, dword [esp + 0x88]
mov ebp, dword [ebp + 0x48]
sub ebp, edi
lea esi, [edi + ebp]
call fcn.00411040
test al, al
je 0x428c6f
inc ebx
add edi, 0x10
cmp ebx, dword [esp + 0x8c]
jb 0x428c47
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x10], 0
jne 0x428cb5
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0x24]
jb 0x428bf0
lea edi, [esp + 0x40]
call fcn.0042f110
mov eax, dword [esp + 0x10]
pop ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x108
ret 4
lea edi, [esp + 0x40]
call fcn.0042f110
xor eax, eax
jmp 0x428c9a
Function at 0x42b090
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [eax + 0xc44]
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x18]
mov ecx, ebp
and ecx, 0x1fffffff
push esi
test eax, eax
je 0x42b0c5
jmp 0x42b0b0
mov edx, dword [eax + 0x10]
cmp ecx, edx
jge 0x42b0bc
mov eax, dword [eax + 4]
jmp 0x42b0c1
je 0x42b0e7
mov eax, dword [eax + 8]
test eax, eax
jne 0x42b0b0
and byte [edi + 0xc], 0xc0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, edi
pop esi
pop ebp
add esp, 0x10
ret 4
mov esi, dword [eax + 0x14]
lea eax, [esp + 8]
call fcn.00410aa0
mov al, byte [esp + 0x14]
test ebp, 0x40000000
je 0x42b14b
test al, 0x10
je 0x42b107
or al, 4
jmp 0x42b147
test al, 4
jne 0x42b14b
cmp dword [esp + 0x10], 0
mov edx, dword [esp + 0xc]
jne 0x42b132
test edx, edx
je 0x42b14b
mov ecx, dword [edx + 0x98]
test cl, 0x81
jne 0x42b12d
test ecx, 0x8000000
je 0x42b14b
test cl, 0x10
jne 0x42b14b
and al, 0xf7
or al, 4
test byte [edx + 0x98], 0x80
mov byte [esp + 0x14], al
je 0x42b14b
and al, 0xfb
or al, 0x20
mov byte [esp + 0x14], al
test ebp, 0x20000000
je 0x42b15d
test al, 4
je 0x42b15d
or al, 2
mov byte [esp + 0x14], al
lea esi, [esp + 8]
mov eax, edi
call fcn.00410aa0
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x438390
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esi + 0x28], 1
je 0x438399
xor eax, eax
ret
mov eax, dword [edi + 0x10]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push ebp
push eax
call ebx
mov ebp, eax
lea ecx, [ebp - 1]
cmp ecx, 0xfe
ja 0x4384af
mov edx, dword [edi + 0x1c]
push edx
call ebx
cmp eax, dword [esi + 0x88]
jne 0x4384af
mov eax, dword [edi + 0x20]
push eax
call ebx
cmp eax, dword [esi + 0x80]
jne 0x4384af
mov ecx, dword [edi + 0x24]
push ecx
call ebx
cmp eax, dword [esi + 0x84]
jne 0x4384af
mov edx, dword [edi + 0x28]
cmp edx, dword [esi + 0x10]
jne 0x4384af
push esi
or al, 0xff
mov ecx, 1
call fcn.004376f0
add esp, 4
cmp ebp, dword [esi + 0x30]
jae 0x438412
mov dword [esi + 0x30], ebp
movzx eax, word [edi + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 0xc], ax
mov cl, byte [edi + 6]
mov byte [esi + 0x15], cl
mov dl, byte [edi + 7]
mov byte [esi + 0x14], dl
mov eax, dword [edi + 8]
push eax
call ebx
cmp eax, 0x240
jae 0x438441
mov eax, 0x240
jmp 0x43844d
cmp eax, 0x1000
jbe 0x43844d
mov eax, 0x1000
cmp eax, dword [esi + 0xa4]
jae 0x43845b
mov dword [esi + 0xa4], eax
mov ecx, dword [edi + 0xc]
push ecx
call ebx
cmp eax, 0x1000
jae 0x43846f
mov eax, 0x1000
jmp 0x43847b
cmp eax, 0x8000
jbe 0x43847b
mov eax, 0x8000
cmp eax, dword [esi + 0xa8]
jae 0x438489
mov dword [esi + 0xa8], eax
mov edx, dword [edi + 0x14]
push edx
call ebx
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x38], eax
mov eax, esi
call fcn.004375a0
pop ebp
xor eax, eax
pop ebx
ret
cmp dword [esi + 0xe4], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x28], 9
jne 0x4384e9
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
add eax, 0x34
mov dword [esi + 4], ecx
mov dword [esi], eax
mov edx, ecx
mov dword [edx], esi
mov dword [eax + 4], esi
mov dword [esi + 0xe4], 1
pop ebp
or eax, 0xffffffff
pop ebx
ret