joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
dec eax
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
cmp eax, 4
ja case.default.0x438ad8
push esi
jmp dword [eax*4 + 0x438c44]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x28], eax
cmp eax, 0xc8
jne 0x438b29
push ebx
lea ebx, [ebp - 0x20]
call fcn.00409530
cmp dword [eax + 0x14], 8
jb 0x438afd
mov eax, dword [eax]
push eax
call fcn.0043f33c
add esp, 4
lea esi, [ebp - 0x20]
mov dword [edi + 0x64], eax
call fcn.0040f280
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [eax]
push 0xa
call edx
jmp case.0x438ad8.3
mov esi, edi
call fcn.00438ca0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 8]
push edx
call eax
jmp case.0x438ad8.3
mov eax, dword [edi + 0x5c]
push 0
lea edx, [ebp - 0x28]
push edx
push ebx
push ecx
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x438bb9
add dword [edi + 0x68], ebx
fild dword [edi + 0x68]
mov ecx, dword [edi + 0x68]
test ecx, ecx
jns 0x438b7b
fadd qword [0x4630b8]
fmul qword [0x4630f8]
mov edx, dword [edi + 0x64]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fild dword [edi + 0x64]
test edx, edx
jns 0x438b97
fadd dword [0x463108]
fdivp st(1)
call fcn.00451650
cmp eax, 0xa
jle case.0x438ad8.3
mov edi, dword [edi + 0x60]
test edi, edi
je case.0x438ad8.3
mov edx, dword [edi]
push eax
mov eax, dword [edx]
mov ecx, edi
call eax
jmp case.0x438ad8.3
mov esi, edi
call fcn.00438ca0
mov eax, dword [edi + 0x60]
test eax, eax
je case.0x438ad8.3
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x60]
mov edx, dword [esi + 8]
push eax
call edx
jmp case.0x438ad8.3
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je 0x438bf0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x5c], 0xffffffff
mov esi, edi
call fcn.00438ca0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push ebx
call edx
jmp case.0x438ad8.3
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je 0x438c1e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x5c], 0xffffffff
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043e417
mov esp, ebp
pop ebp
ret 0xc
Function at 0x438b4b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
dec eax
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
cmp eax, 4
ja case.default.0x438ad8
push esi
jmp dword [eax*4 + 0x438c44]
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x28], eax
cmp eax, 0xc8
jne 0x438b29
push ebx
lea ebx, [ebp - 0x20]
call fcn.00409530
cmp dword [eax + 0x14], 8
jb 0x438afd
mov eax, dword [eax]
push eax
call fcn.0043f33c
add esp, 4
lea esi, [ebp - 0x20]
mov dword [edi + 0x64], eax
call fcn.0040f280
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [eax]
push 0xa
call edx
jmp case.0x438ad8.3
mov esi, edi
call fcn.00438ca0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 8]
push edx
call eax
jmp case.0x438ad8.3
mov eax, dword [edi + 0x5c]
push 0
lea edx, [ebp - 0x28]
push edx
push ebx
push ecx
push eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x438bb9
add dword [edi + 0x68], ebx
fild dword [edi + 0x68]
mov ecx, dword [edi + 0x68]
test ecx, ecx
jns 0x438b7b
fadd qword [0x4630b8]
fmul qword [0x4630f8]
mov edx, dword [edi + 0x64]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fild dword [edi + 0x64]
test edx, edx
jns 0x438b97
fadd dword [0x463108]
fdivp st(1)
call fcn.00451650
cmp eax, 0xa
jle case.0x438ad8.3
mov edi, dword [edi + 0x60]
test edi, edi
je case.0x438ad8.3
mov edx, dword [edi]
push eax
mov eax, dword [edx]
mov ecx, edi
call eax
jmp case.0x438ad8.3
mov esi, edi
call fcn.00438ca0
mov eax, dword [edi + 0x60]
test eax, eax
je case.0x438ad8.3
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x60]
mov edx, dword [esi + 8]
push eax
call edx
jmp case.0x438ad8.3
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je 0x438bf0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x5c], 0xffffffff
mov esi, edi
call fcn.00438ca0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push ebx
call edx
jmp case.0x438ad8.3
mov eax, dword [edi + 0x5c]
cmp eax, 0xffffffff
je 0x438c1e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x5c], 0xffffffff
mov ecx, dword [edi + 0x60]
test ecx, ecx
je case.0x438ad8.3
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043e417
mov esp, ebp
pop ebp
ret 0xc
Function at 0x439490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4533a3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x46d674]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
or ecx, 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
xor edx, edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x30], edx
mov ebx, 0xf
mov dword [esi + 0x34], ebx
mov byte [esi + 0x20], dl
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 1
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [ebp - 4], edx
lea eax, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x28], ebx
mov dword [eax + 0x24], edx
mov byte [eax + 0x14], dl
mov dword [eax + 0x44], ebx
mov dword [eax + 0x40], edx
mov byte [eax + 0x30], dl
mov dword [eax + 0x10], edx
mov dword [eax + 0x50], eax
mov dword [eax + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], edx
lea ecx, [eax + 1]
lea ebx, [ebx]
mov bl, byte [eax]
inc eax
cmp bl, dl
jne 0x439530
sub eax, ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esi + 0x20]
call fcn.00407290
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439a30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453633
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x46d674]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov edx, 0xf
mov dword [esi + 0x34], edx
mov byte [esi + 0x20], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x4c]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x10], ebx
mov byte [ecx], bl
mov byte [ebp - 4], 1
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
push ebx
push 0x459d12
mov dword [esi + 0x68], 4
mov byte [esi + 0x74], bl
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
call fcn.00407290
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
test ebx, ebx
jne 0x439d0b
cmp byte [esi + 0x44], bl
jne 0x439d03
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439ce7
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x4c]
call fcn.00407290
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
pop edi
xor al, al
pop ebx
pop ebp
ret 4
mov edi, dword [esi + 0x18]
test edi, edi
je 0x439d23
mov ecx, edi
mov eax, dword [ecx]
mov edx, dword [eax]
mov edi, dword [edi + 0x40]
push 1
call edx
test edi, edi
jne 0x439d12
xor eax, eax
push 2
push eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
or edi, 0xffffffff
push ebx
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.00440fdc
push ebx
call fcn.00440eed
push 0
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push eax
call fcn.00440fdc
add esp, 0x1c
test ebx, ebx
jg 0x439d96
cmp byte [esi + 0x44], 0
jne 0x439d8e
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439d75
sub eax, ebx
push eax
push edx
lea ecx, [esi + 0x4c]
call fcn.00407290
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
pop edi
xor al, al
pop ebx
pop ebp
ret 4
lea ecx, [ebx + 1]
push ecx
call fcn.0043e15a
mov edx, dword [ebp + 8]
push edx
push 1
mov edi, eax
push ebx
push edi
mov byte [edi], 0
call fcn.004407a2
add esp, 0x14
cmp eax, 1
je 0x439dee
push edi
call fcn.0043ed72
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x439d03
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439de2
jmp 0x439cee
mov byte [edi + ebx], 0
cmp byte [edi], 0
mov eax, edi
mov ecx, edi
je 0x439e1c
jmp 0x439e00
mov dl, byte [eax]
cmp dl, 0xd
jne 0x439e13
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x439e17
jmp 0x439e16
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x439e00
push 0
mov byte [ecx], 0
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push edi
mov ecx, esi
call edx
push edi
call fcn.0043ed72
add esp, 4
xor eax, eax
cmp byte [esi + 0x44], al
pop edi
sete al
pop ebx
pop ebp
ret 4
Function at 0x43de70
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43dea7
xor bl, bl
jmp 0x43df2c
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x8004
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43dec6
xor bl, bl
jmp 0x43df2c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x43dee2
xor bl, bl
jmp 0x43df2c
mov edx, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 4
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
call esi
test eax, eax
je 0x43df29
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
push 0
lea eax, [ebp - 8]
push eax
push ecx
push 2
push edx
call esi
test eax, eax
je 0x43df29
cmp dword [ebp - 8], 0x14
je 0x43df2b
xor bl, bl
pop esi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x43df3c
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp + 0x10], 0
je 0x43df4c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43df60
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d674]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0x8000000
push 3
push 0
push 1
push Ordinal_4
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43dfa8
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 0
push 0
push 0x8000002
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x43dfdf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x43e014
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e417
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edx, [ebp - 0x1c]
xor ecx, ecx
push edx
push eax
push edi
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
call fcn.0043de70
mov bl, al
add esp, 0xc
test bl, bl
je 0x43e054
mov ecx, dword [ebp - 0x24]
push 0x14
lea eax, [ebp - 0x1c]
push eax
call fcn.00407290
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.0043e417
mov esp, ebp
pop ebp
ret

Function at 0x43e417
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d674]
jne 0x43e421
repz ret
jmp fcn.00442d3d
Function at 0x44b546
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d674]
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.004435eb
and dword [ebp - 0x14], 0
cmp dword [0x470034], 0
mov dword [ebp - 0x18], eax
jne 0x44b5f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44b6a1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x44b6a1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4583d8
push ebx
mov dword [0x470034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x470038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47003c], eax
call edi
push eax
call esi
mov dword [0x470044], eax
test eax, eax
je 0x44b5f9
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x470040], eax
mov eax, dword [0x470040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x44b652
cmp dword [0x470044], ecx
je 0x44b652
push eax
call esi
push dword [0x470044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x44b652
test ebx, ebx
je 0x44b652
call edi
test eax, eax
je 0x44b649
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44b649
test byte [ebp - 8], 1
jne 0x44b652
or dword [ebp + 0x10], 0x200000
jmp 0x44b685
mov eax, dword [0x470038]
cmp eax, dword [ebp - 0x18]
je 0x44b685
push eax
call esi
test eax, eax
je 0x44b685
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44b685
mov eax, dword [0x47003c]
cmp eax, dword [ebp - 0x18]
je 0x44b685
push eax
call esi
test eax, eax
je 0x44b685
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x470034]
call esi
test eax, eax
je 0x44b6a1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44b6a3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e417
leave
ret
Function at 0x6c3414c4
Capabilities:
Get geographical location
Get keyboard layout
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [0x6c3c603c], 1
call sym._g_get_prgname
mov dword [esp], eax
call sym._g_strdup
mov ebx, eax
mov dword [0x6c3c6038], eax
test eax, eax
je 0x6c3414f3
mov al, byte [eax]
test al, al
jne 0x6c341530
mov dword [esp], str.GDK_DEBUG
call sym._getenv
test eax, eax
je 0x6c341520
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x6c3914c0
mov dword [esp], eax
call sym._g_parse_debug_string
mov dword [0x6c3c60a4], eax
call sym._g_type_init
add esp, 0x14
pop ebx
leave
jmp sym.__gdk_windowing_init
movsx eax, al
mov dword [esp], eax
call sym._g_ascii_toupper
mov byte [ebx], al
jmp 0x6c3414f3

Function at 0x6c34a948
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp + 0x14]
call sym.libgdk_win32_2.0_0.dll_gdk_pango_renderer_get_type
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._g_type_check_instance_cast
cmp ebx, 1
je 0x6c34a9d8
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esp], eax
call sym._g_type_name
mov esi, eax
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esp], eax
call sym._g_type_name
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x6c394643
mov dword [esp + 0xc], str.gdkpango.c:497
mov dword [esp + 8], 0x6c39465c
mov dword [esp + 4], 0x10
mov dword [esp], 0x6c39468f
call sym._g_log
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
leave
jmp sym._g_value_set_object
Function at 0x6c34ec3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
call sym.libgdk_win32_2.0_0.dll_gdk_pixmap_get_type
test ebx, ebx
je 0x6c34ec8f
mov edx, dword [ebx]
test edx, edx
je 0x6c34ec7f
cmp dword [edx], eax
je 0x6c34ecb8
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._g_type_check_instance_is_a
test eax, eax
jne 0x6c34ecb8
mov dword [esp + 8], str.GDK_IS_PIXMAP__drawable_
mov dword [esp + 4], str.gdk_pixmap_copy_to_image
mov dword [esp], 0x6c395423
call sym._g_return_if_fail_warning
xor eax, eax
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 8], eax
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
jmp sym.libgdk_win32_2.0_0.dll_gdk_drawable_copy_to_image

Function at 0x6c34ecf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
call sym.libgdk_win32_2.0_0.dll_gdk_pixmap_get_type
test ebx, ebx
je 0x6c34ed1d
mov edx, dword [ebx]
test edx, edx
je 0x6c34ed0d
cmp dword [edx], eax
je 0x6c34ed44
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._g_type_check_instance_is_a
test eax, eax
jne 0x6c34ed44
mov dword [esp + 8], str.GDK_IS_PIXMAP__drawable_
mov dword [esp + 4], str.gdk_pixmap_real_get_visual
mov dword [esp], 0x6c395423
call sym._g_return_if_fail_warning
xor eax, eax
add esp, 0x14
pop ebx
leave
ret
mov dword [esp], ebx
call sym.libgdk_win32_2.0_0.dll_gdk_drawable_get_colormap
test eax, eax
je 0x6c34ed39
mov dword [ebp + 8], eax
add esp, 0x14
pop ebx
leave
jmp sym.libgdk_win32_2.0_0.dll_gdk_colormap_get_visual

Function at 0x6c34ed60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
call sym.libgdk_win32_2.0_0.dll_gdk_pixmap_get_type
test ebx, ebx
je 0x6c34ed8d
mov edx, dword [ebx]
test edx, edx
je 0x6c34ed7d
cmp dword [edx], eax
je 0x6c34edb4
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._g_type_check_instance_is_a
test eax, eax
jne 0x6c34edb4
mov dword [esp + 8], str.GDK_IS_PIXMAP__drawable_
mov dword [esp + 4], str.gdk_pixmap_real_get_colormap
mov dword [esp], 0x6c395423
call sym._g_return_if_fail_warning
xor eax, eax
add esp, 0x14
pop ebx
leave
ret
mov eax, dword [ebx + 0xc]
mov dword [ebp + 8], eax
add esp, 0x14
pop ebx
leave
jmp sym.libgdk_win32_2.0_0.dll_gdk_drawable_get_colormap
Function at 0x6c34edc4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call sym.libgdk_win32_2.0_0.dll_gdk_pixmap_get_type
test ebx, ebx
je 0x6c34edf5
mov edx, dword [ebx]
test edx, edx
je 0x6c34ede5
cmp dword [edx], eax
je 0x6c34ee18
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._g_type_check_instance_is_a
test eax, eax
jne 0x6c34ee18
mov dword [esp + 8], str.GDK_IS_PIXMAP__drawable_
mov dword [esp + 4], str.gdk_pixmap_real_set_colormap
mov dword [esp], 0x6c395423
call sym._g_return_if_fail_warning
add esp, 0x10
pop ebx
pop esi
leave
ret
mov dword [ebp + 0xc], esi
mov eax, dword [ebx + 0xc]
mov dword [ebp + 8], eax
add esp, 0x10
pop ebx
pop esi
leave
jmp sym.libgdk_win32_2.0_0.dll_gdk_drawable_set_colormap