joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418730
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
lea ecx, [ebp - 0x23b]
push 0
push ecx
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 0
call fcn.004272d0
push 0x103
lea edx, [ebp - 0x137]
push 0
push edx
mov byte [ebp - 0x138], 0
call fcn.004272d0
xor eax, eax
add esp, 0x18
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
push 0x104
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
jmp 0x4187e0
push 0x104
lea ecx, [ebp - 0x138]
push 0
push ecx
call fcn.004272d0
push edi
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x138]
push str._sinfoem_i.inf
push eax
call ebx
add esp, 0x1c
lea ecx, [ebp - 0x138]
push ecx
push 0x20
xor eax, eax
lea edx, [ebp - 0x34]
push edx
push 0x438a00
push 0x44351c
push str.Strings
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call esi
test eax, eax
je 0x4188b5
lea eax, [ebp - 0x34]
push str.SunMoon_Rise
push eax
call fcn.0042c2fc
add esp, 8
test eax, eax
jne 0x4188b5
lea ecx, [ebp - 0x138]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0x438a00
push str.DriverName
push str.Strings
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call esi
test eax, eax
je 0x4188b5
lea eax, [ebp - 0x14]
push 0x43b6e8
push eax
call fcn.0042c2fc
add esp, 8
test eax, eax
jne 0x4188b5
lea ecx, [ebp - 0x138]
push 0x5c
push ecx
call fcn.004216c0
add esp, 8
test eax, eax
jne 0x4188d5
inc edi
cmp edi, 0x3e7
jl 0x4187e0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x240]
push 0xc
inc eax
push eax
push edx
call fcn.0041f910
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
Function at 0x418900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x443544
call fcn.004042f0
xor eax, eax
add esp, 4
xor ebx, ebx
push 0x3e
lea ecx, [ebp - 0x66]
push ebx
push ecx
mov byte [ebp - 0x24], bl
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov word [ebp - 0x68], ax
call fcn.004272d0
add esp, 0xc
push 0x3fe
lea eax, [ebp - 0x56e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x570], dx
call fcn.004272d0
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x16f]
push ebx
push ecx
mov byte [ebp - 0x170], bl
call fcn.004272d0
lea edx, [ebp - 0x24]
add esp, 0xc
push edx
call fcn.00418730
add esp, 4
test eax, eax
je 0x418ac9
lea eax, [ebp - 0x68]
push eax
lea ebx, [ebp - 0x24]
call fcn.0040b670
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x570]
push str.PnP___s__Exist.
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x570]
add esp, 0xc
push eax
call fcn.004042f0
add esp, 4
mov ecx, ebx
push ecx
lea edx, [ebp - 0x170]
push str.pnputil.exe__f__d__s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418a18
lea ecx, [ebp - 0x594]
push ecx
call eax
movzx eax, word [ebp - 0x594]
test eax, eax
je 0x418a53
cmp eax, 9
jne 0x418a53
call fcn.00405ea0
push 0
cmp eax, 1
jne 0x418a4a
lea edx, [ebp - 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
call fcn.00405f00
jmp 0x418a64
lea eax, [ebp - 0x170]
push eax
jmp 0x418a5c
push 0
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
cmp esi, 0x1f
ja 0x418a88
push str.PnP_Delete_Result_Fail___
call fcn.004042f0
add esp, 4
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x24]
push edx
call fcn.00418730
add esp, 4
test eax, eax
je 0x418ac2
push str.PnP_Delete_Fail___
call fcn.004042f0
add esp, 4
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
push str.PnP_Delete_Success___
jmp 0x418ace
push str.PnP_oemX.inf_not_Exist.
call fcn.004042f0
mov ecx, dword [ebp - 4]
add esp, 4
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
Function at 0x4190a0
Capabilities:
Delete file
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4c
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x4192be
push 0xf01ff
push 0x441c88
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
mov dword [ebp - 0xa4c], ebx
test ebx, ebx
je 0x4192be
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0xa0e]
push ecx
mov word [ebp - 0xa10], ax
call fcn.004272d0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20e]
push eax
xor esi, esi
mov word [ebp - 0x210], dx
call fcn.004272d0
add esp, 0xc
lea ecx, [ebp - 0xa2c]
push ecx
push 0xc8
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
lea edx, [ebp - 0x210]
push str.C:Program_FilesWW2017CFwmcSystem7.exe
push edx
xor edi, edi
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0041fb9e
add esp, 0x10
test eax, eax
jne 0x4191c1
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ebx, [ebx]
cmp edi, 0x1e
je 0x4191bb
push 0x434920
call fcn.004181c0
add esp, 4
push 0x80
lea ecx, [ebp - 0x210]
push ecx
call ebx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0041fb9e
add esp, 8
test eax, eax
je 0x419170
mov ebx, dword [ebp - 0xa4c]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xa48]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0xa44], 1
je 0x419228
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
inc esi
push esi
lea edx, [ebp - 0xa10]
push 0x443690
push edx
call edi
lea eax, [ebp - 0xa10]
add esp, 0xc
push eax
call fcn.004042f0
add esp, 4
cmp esi, 5
je 0x41923a
lea ecx, [ebp - 0xa2c]
push ecx
push 0xc8
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
cmp esi, 5
jle 0x4191c1
push 0x4436bc
call fcn.004042f0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x419244
push str.PbkW
call fcn.004042f0
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x419285
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xa10]
push 0x4436fc
push edx
call edi
lea eax, [ebp - 0xa10]
add esp, 0xc
push eax
call fcn.004042f0
add esp, 4
mov dword [0x44892c], 0
jmp 0x4192ac
lea ecx, [ebp - 0xa10]
push 0x443728
push ecx
call edi
lea edx, [ebp - 0xa10]
push edx
call fcn.004042f0
add esp, 0xc
mov dword [0x44892c], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
Function at 0x419e10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004272d0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.004272d0
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x20c]
push str.C:Program_FilesWW2017CFWM7F.cab
push ecx
call edi
lea edx, [ebp - 0x414]
push str.C:Program_FilesWW2017CFwmcRMS7.exe
push edx
call edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0041fb9e
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x30
test eax, eax
jne 0x419ec9
push esi
mov esi, 0x448640
mov edi, edi
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x20c]
push str.C:Program_FilesWW2017CF_s
push edx
call edi
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call ebx
add esi, 4
cmp esi, 0x4486bc
jl 0x419ea0
pop esi
lea ecx, [ebp - 0x414]
push ecx
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041f53e
mov esp, ebp
pop ebp
ret
Function at 0x41c370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x41c383
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x41c3fd
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.00426640
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x41c3d1
sub eax, edi
jmp 0x41c3d3
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x41c3c2
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x41c3f0
sub eax, edi
jmp 0x41c3f2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x41c3e1
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x41c4b2
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x41c423
mov ebx, ecx
test ebx, ebx
je 0x41c476
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x41c445
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.0041cea0
jmp 0x41c45e
cmp eax, 2
jne 0x41c464
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x41c457
xor eax, eax
jmp 0x41c461
mov edx, ebx
call fcn.0041d540
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00426640
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x41c49e
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x41c4b2
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x41c380
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d520
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x41d52b
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.0041d540
Function at 0x41f53e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447044]
jne 0x41f548
repz ret
jmp fcn.00421cb2

Function at 0x41fb1f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x41fb46
call fcn.00422f83
mov dword [eax], esi
call fcn.00422f70
push 0x16
pop esi
mov dword [eax], esi
call fcn.00422f1e
mov eax, esi
jmp 0x41fb9b
test dword [ebp + 0xc], 0xfffffff9
jne 0x41fb2c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41fb73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00422f96
pop ecx
call fcn.00422f70
mov eax, dword [eax]
jmp 0x41fb9b
test al, 0x10
jne 0x41fb99
test al, 1
je 0x41fb99
test byte [ebp + 0xc], 2
je 0x41fb99
call fcn.00422f83
mov dword [eax], 5
call fcn.00422f70
mov dword [eax], 0xd
jmp 0x41fb6a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x429b74
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x447044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004227d5
and dword [ebp - 0x14], 0
cmp dword [0x104a548], 0
mov dword [ebp - 0x18], eax
jne 0x429c27
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x429ccf
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x433cf0
push ebx
call edi
test eax, eax
je 0x429ccf
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x104a548], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x104a54c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x104a550], eax
call edi
push eax
call esi
mov dword [0x104a558], eax
test eax, eax
je 0x429c27
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x104a554], eax
mov eax, dword [0x104a554]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x429c80
cmp dword [0x104a558], ecx
je 0x429c80
push eax
call esi
push dword [0x104a558]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x429c80
test ebx, ebx
je 0x429c80
call edi
test eax, eax
je 0x429c77
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x429c77
test byte [ebp - 8], 1
jne 0x429c80
or dword [ebp + 0x10], 0x200000
jmp 0x429cb3
mov eax, dword [0x104a54c]
cmp eax, dword [ebp - 0x18]
je 0x429cb3
push eax
call esi
test eax, eax
je 0x429cb3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x429cb3
mov eax, dword [0x104a550]
cmp eax, dword [ebp - 0x18]
je 0x429cb3
push eax
call esi
test eax, eax
je 0x429cb3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x104a548]
call esi
test eax, eax
je 0x429ccf
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x429cd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f53e
leave
ret
Function at 0x10001747
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
mov eax, dword [0x1002e104]
mov dword [esp], eax
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov edx, dword [eax + 0xc]
add edx, 0xc
push edi
mov dword [esp + 0x1c], edx
mov ebp, dword [edx]
mov dword [esp + 0x14], ebp
cmp ebp, edx
je 0x100017dc
nop dword [eax]
mov eax, dword [ebp + 0x30]
xor ebx, ebx
mov dword [esp + 0x24], eax
xor edi, edi
movzx eax, word [eax]
mov ecx, eax
test ax, ax
je 0x100017c7
mov ebp, dword [esp + 0x24]
mov esi, ecx
nop dword [eax + eax]
movzx eax, si
lea edi, [edi + 1]
lea ecx, [eax - 0x41]
add eax, 0x20
movzx edx, ax
cmp cx, 0x19
movzx eax, si
movzx esi, word [ebp + edi*2]
cmova edx, eax
movzx eax, dx
add ebx, eax
test si, si
jne 0x10001797
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x10], ebx
je 0x10001ded
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
cmp ebp, edx
jne 0x10001777
xor ebp, ebp
mov eax, dword [0x1002e0e0]
push 4
push 0x1000
push eax
push 0
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [0x1002e0f4]
mov dword [esp + 0x24], eax
mov eax, dword [0x1002e118]
mov edx, dword [0x1002e0f0]
mov ecx, dword [ebp + 0x3c]
add ecx, ebp
mov dword [esp + 0x28], eax
mov ecx, dword [ecx + edx*8 + 0x78]
mov edx, dword [ecx + ebp + 0x20]
add ecx, ebp
add edx, ebp
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 0x1c]
add eax, ebp
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x24]
add eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000188e
mov edi, dword [edx + ebx*4]
xor ecx, ecx
add edi, ebp
xor edx, edx
cmp byte [edi], cl
je 0x1000185d
nop dword [eax]
inc edx
cmp byte [edx + edi], cl
jne 0x10001857
xor esi, esi
test edx, edx
je 0x1000187b
nop dword [eax]
imul ecx, dword [esp + 0x24]
movzx eax, byte [esi + edi]
inc esi
add ecx, eax
cmp esi, edx
jb 0x10001867
mov eax, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x28]
je 0x10001df5
mov edx, dword [esp + 0x2c]
inc ebx
cmp ebx, eax
jb 0x10001847
xor eax, eax
mov ebp, dword [ebp + 0x18]
jmp 0x100017de
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
movzx eax, word [eax + ebx*2]
pop eax
Function at 0x10001c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x10
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x14]
xor ecx, ecx
mov edi, dword [0x1002e0f4]
xor ebx, ebx
movsx eax, byte [ebp]
add ebp, eax
mov dword [esp + 0x14], ebp
and al, 0x14
cmp byte [ebp + 1], cl
je 0x10001c7e
inc ecx
cmp byte [ecx + ebp + 1], bl
jne 0x10001c77
xor edx, edx
test ecx, ecx
je 0x10001c96
nop dword [eax]
movzx eax, byte [edx + ebp + 1]
inc edx
imul ebx, edi
add ebx, eax
cmp edx, ecx
jb 0x10001c87
mov eax, dword [0x1002e0f4]
xor ebp, ebp
mov ecx, dword [0x1002e0f0]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3c]
lea eax, [eax + ecx*8]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
add edx, esi
mov dword [esp + 0x2c], edx
add ecx, esi
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add edx, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x10001d20
mov edi, dword [ecx + ebp*4]
xor edx, edx
add edi, esi
xor ecx, ecx
cmp byte [edi], cl
je 0x10001ced
nop
inc ecx
cmp byte [ecx + edi], dl
jne 0x10001ce7
xor esi, esi
test ecx, ecx
je 0x10001d0b
nop dword [eax]
imul edx, dword [esp + 0x3c]
movzx eax, byte [esi + edi]
inc esi
add edx, eax
cmp esi, ecx
jb 0x10001cf7
mov eax, dword [esp + 0x38]
cmp edx, ebx
je 0x10001e6b
mov esi, dword [esp + 0x10]
inc ebp
mov ecx, dword [esp + 0x34]
cmp ebp, eax
jb 0x10001cd9
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x14]
movsx eax, byte [ebx]
add ebx, eax
lea eax, [ebx + 1]
push eax
call dword [esp + 0x20]
mov esi, dword [0x1002e12c]
mov edx, eax
movsx ecx, byte [ebx]
add ebx, ecx
add esi, ebx
mov eax, dword [edx + 0x3c]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov edi, dword [eax + edx + 0x2c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1002e130]
add edi, edx
push eax
push ebx
push edi
mov dword [esp + 0x28], 0
call dword [esp + 0x20]
push ebx
push esi
push edi
call fcn.100016f7
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push ebx
push edi
call dword [esp + 0x20]
mov eax, dword [str.fcfgmo]
lea edx, [edi + ebp]
xor ecx, ecx
cmp byte [eax], cl
je 0x10001dc1
mov edi, dword [esp + 0x24]
nop word [eax + eax]
mov eax, dword [str.fcfgmo]
movsx ax, byte [eax + ecx]
mov word [edi + ecx*2], ax
inc ecx
mov eax, dword [str.fcfgmo]
cmp byte [eax + ecx], 0
jne 0x10001da7
mov eax, dword [esp + 0x24]
xor edi, edi
mov word [eax + ecx*2], di
mov dword [esp + 0x44], eax
lea eax, [ebx + esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x4c], 1
call edx
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
movzx eax, word [eax + ebp*2]
mov eax, dword [ecx + eax*4]
add dword [esp + 0x10], eax
jmp 0x10001d28
Function at 0x10001c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x10
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x14]
xor ecx, ecx
mov edi, dword [0x1002e0f4]
xor ebx, ebx
movsx eax, byte [ebp]
add ebp, eax
mov dword [esp + 0x14], ebp
and al, 0x14
cmp byte [ebp + 1], cl
je 0x10001c7e
inc ecx
cmp byte [ecx + ebp + 1], bl
jne 0x10001c77
xor edx, edx
test ecx, ecx
je 0x10001c96
nop dword [eax]
movzx eax, byte [edx + ebp + 1]
inc edx
imul ebx, edi
add ebx, eax
cmp edx, ecx
jb 0x10001c87
mov eax, dword [0x1002e0f4]
xor ebp, ebp
mov ecx, dword [0x1002e0f0]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3c]
lea eax, [eax + ecx*8]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
add edx, esi
mov dword [esp + 0x2c], edx
add ecx, esi
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x18]
add edx, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x10001d20
mov edi, dword [ecx + ebp*4]
xor edx, edx
add edi, esi
xor ecx, ecx
cmp byte [edi], cl
je 0x10001ced
nop
inc ecx
cmp byte [ecx + edi], dl
jne 0x10001ce7
xor esi, esi
test ecx, ecx
je 0x10001d0b
nop dword [eax]
imul edx, dword [esp + 0x3c]
movzx eax, byte [esi + edi]
inc esi
add edx, eax
cmp esi, ecx
jb 0x10001cf7
mov eax, dword [esp + 0x38]
cmp edx, ebx
je 0x10001e6b
mov esi, dword [esp + 0x10]
inc ebp
mov ecx, dword [esp + 0x34]
cmp ebp, eax
jb 0x10001cd9
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x14]
movsx eax, byte [ebx]
add ebx, eax
lea eax, [ebx + 1]
push eax
call dword [esp + 0x20]
mov esi, dword [0x1002e12c]
mov edx, eax
movsx ecx, byte [ebx]
add ebx, ecx
add esi, ebx
mov eax, dword [edx + 0x3c]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov edi, dword [eax + edx + 0x2c]
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x1002e130]
add edi, edx
push eax
push ebx
push edi
mov dword [esp + 0x28], 0
call dword [esp + 0x20]
push ebx
push esi
push edi
call fcn.100016f7
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push ebx
push edi
call dword [esp + 0x20]
mov eax, dword [str.fcfgmo]
lea edx, [edi + ebp]
xor ecx, ecx
cmp byte [eax], cl
je 0x10001dc1
mov edi, dword [esp + 0x24]
nop word [eax + eax]
mov eax, dword [str.fcfgmo]
movsx ax, byte [eax + ecx]
mov word [edi + ecx*2], ax
inc ecx
mov eax, dword [str.fcfgmo]
cmp byte [eax + ecx], 0
jne 0x10001da7
mov eax, dword [esp + 0x24]
xor edi, edi
mov word [eax + ecx*2], di
mov dword [esp + 0x44], eax
lea eax, [ebx + esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x4c], 1
call edx
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
movzx eax, word [eax + ebp*2]
mov eax, dword [ecx + eax*4]
add dword [esp + 0x10], eax
jmp 0x10001d28
Function at 0x10002c20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10002c70
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x800]
push 0x800
push eax
call fcn.10002c10
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
add esp, 0x1c
mov byte [ebp - 1], 0
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push str.a_._
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x10002cb5
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push esi
call fcn.10002c10
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10002cc0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.mozglue.dll_adler32_z