joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c070
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x42d658
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
lea esi, [ebx + ebx + 2]
cmp esi, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ebx
jge 0x41c124
jmp 0x41c0c0
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 8
mov edi, dword [ebp + eax*4 - 8]
lea ecx, [ebp + eax*4]
jb 0x41c0dd
mov eax, dword [ecx - 0x18]
jmp 0x41c0e0
lea eax, [ecx - 0x18]
push eax
mov eax, dword [ecx + 0x14]
call fcn.00410ca0
test eax, eax
jge 0x41c0ee
dec esi
push 0xffffffffffffffff
lea ecx, [esi*8]
sub ecx, esi
lea edx, [ebp + ecx*4]
lea eax, [ebx*8]
push 0
sub eax, ebx
push edx
lea ecx, [ebp + eax*4]
call fcn.004048d0
mov ebx, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x30]
jl 0x41c0c0
mov edi, dword [esp + 0x30]
cmp esi, edi
jne 0x41c14d
push 0xffffffffffffffff
lea ecx, [edi*8]
sub ecx, edi
lea edx, [ebp + ecx*4 - 0x1c]
lea eax, [ebx*8]
push 0
sub eax, ebx
push edx
lea ecx, [ebp + eax*4]
call fcn.004048d0
lea ebx, [edi - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x58]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.004048d0
mov ecx, dword [esp + 0x30]
push ecx
push ebp
mov ecx, ebx
call fcn.0041c250
add esp, 0x24
cmp dword [esp + 0x4c], 8
jb 0x41c19b
mov edx, dword [esp + 0x38]
push edx
call fcn.0041f860
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x41c820
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x42d55b
mov eax, dword fs:[0]
push eax
sub esp, 0xb38
mov eax, dword [0x43b050]
xor eax, esp
mov dword [esp + 0xb34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b050]
xor eax, esp
push eax
lea eax, [esp + 0xb4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb5c]
mov dword [esp + 0x1c], eax
xor al, al
xor ebx, ebx
mov byte [esp + 0x17], al
xor ebp, ebp
cmp al, bl
jne 0x41ca03
push 0x200
lea ecx, [esp + 0x14c]
push ebx
push ecx
call fcn.00421960
push ebp
lea edx, [esp + 0x158]
push str..PhysicalDrive_d
push edx
mov edx, 0xff
call fcn.0041cdf0
add esp, 0x18
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41c9f5
xor eax, eax
push 0x800
lea ecx, [esp + 0x34c]
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00421960
add esp, 0xc
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x800
lea eax, [esp + 0x354]
push eax
push 0xc
lea ecx, [esp + 0x50]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41c9e8
push 0xff
lea edx, [esp + 0x4d]
push ebx
push edx
call fcn.00421960
mov eax, dword [esp + 0x36c]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x48], bl
jle 0x41c957
lea edi, [esp + 0x48]
lea ecx, [esp + 0x348]
call fcn.0041ca30
movsx eax, byte [esp + 0x48]
push eax
call fcn.0042281b
add esp, 4
test eax, eax
jne 0x41c97b
movsx ecx, byte [esp + 0x5b]
push ecx
call fcn.0042281b
add esp, 4
test eax, eax
je 0x41c9ee
lea eax, [esp + 0x48]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41c992
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x28]
call fcn.004015d0
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0xb60], ebx
call fcn.00401450
mov dword [esp + 0xb54], 0xffffffff
cmp dword [esp + 0x38], 0x10
jb 0x41c9e1
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0041f860
add esp, 4
mov byte [esp + 0x17], 1
jmp 0x41c9ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x17]
inc ebp
cmp ebp, 0x10
jl 0x41c870
mov ecx, dword [esp + 0xb4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb34]
xor ecx, esp
call fcn.0041f86b
add esp, 0xb44
ret 4
Function at 0x41cb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42db7b
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x43b050]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b050]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov eax, dword [esp + 0x484]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [esp + 0x1c], eax
xor al, al
xor ebp, ebp
xor ebx, ebx
mov byte [esp + 0x17], al
mov dword [esp + 0x18], ebx
lea ebx, [ebx]
test al, al
jne 0x41cd34
push 0x200
lea ecx, [esp + 0x274]
push ebp
push ecx
call fcn.00421960
push ebx
lea edx, [esp + 0x280]
push str..Scsi_d:
push edx
mov edx, 0xff
call fcn.0041cdf0
add esp, 0x18
push ebp
push ebp
push 3
push ebp
push 3
push 0xc0000000
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41cd22
xor ebx, ebx
lea ecx, [ecx]
push 0x22d
lea ecx, [esp + 0x44]
push ebp
push ecx
call fcn.00421960
mov edx, dword [str.SCSIDISK]
mov eax, dword [0x436c10]
add esp, 0xc
push ebp
lea ecx, [esp + 0x24]
push ecx
push 0x22d
mov dword [esp + 0x50], edx
lea edx, [esp + 0x4c]
push edx
push 0x3c
mov dword [esp + 0x5c], eax
mov eax, edx
push eax
push 0x4d008
push esi
mov dword [esp + 0x60], 0x1c
mov dword [esp + 0x6c], 0x2710
mov dword [esp + 0x78], 0x211
mov dword [esp + 0x70], 0x1b0501
mov byte [esp + 0x86], 0xec
mov byte [esp + 0x88], bl
call edi
test eax, eax
je 0x41cd0d
cmp byte [esp + 0xa2], 0
je 0x41cd0d
push 0x13
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0xa
lea edx, [esp + 0x2c]
call fcn.0041c730
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebp
push eax
mov dword [esp + 0x488], ebp
call fcn.00401450
mov dword [esp + 0x47c], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x41cd08
mov edx, dword [esp + 0x28]
push edx
call fcn.0041f860
add esp, 4
mov byte [esp + 0x17], 1
inc ebx
cmp ebx, 2
jl 0x41cc40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x17]
inc ebx
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x41cbe0
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.0041f86b
add esp, 0x46c
ret 4
Function at 0x41ce10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x43b050]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00421960
add esp, 0xc
mov dword [ebp - 0x21c], 0x105
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.0041ddc0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41ce73
mov eax, dword [ebp - 4]
jmp 0x41cefb
xor ecx, ecx
jne 0x41ce65
push str.BugReportConfig.ini
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41cee7
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
jne 0x41ced6
xor eax, eax
cmp dword [ebp - 0x220], 0xffffffff
setne al
jmp 0x41cefb
xor edx, edx
jne 0x41cebf
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403f70
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041f86b
mov esp, ebp
pop ebp
ret
Function at 0x41f86b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b050]
jne 0x41f875
repz ret
jmp fcn.00422a24

Function at 0x4205c2
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 0x4205f3
call fcn.00422be7
mov dword [eax], esi
call fcn.00422bd4
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0042048d
add esp, 0x14
push 0x16
pop eax
jmp 0x420648
test dword [ebp + 0xc], 0xfffffff9
jne 0x4205cf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420620
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00422bfa
pop ecx
call fcn.00422bd4
mov eax, dword [eax]
jmp 0x420648
test al, 0x10
jne 0x420646
test al, 1
je 0x420646
test byte [ebp + 0xc], 2
je 0x420646
call fcn.00422be7
mov dword [eax], 5
call fcn.00422bd4
mov dword [eax], 0xd
jmp 0x420617
xor eax, eax
pop esi
pop ebp
ret

Function at 0x42bced
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00422dc1
and dword [ebp - 4], 0
cmp dword [0x43f2e4], 0
mov ebx, eax
jne 0x42bd9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42be4f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42be4f
push eax
call fcn.00422d4f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f2e4], eax
call esi
push eax
call fcn.00422d4f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f2e8], eax
call esi
push eax
call fcn.00422d4f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f2ec], eax
call esi
push eax
call fcn.00422d4f
pop ecx
mov dword [0x43f2f4], eax
test eax, eax
je 0x42bd9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00422d4f
pop ecx
mov dword [0x43f2f0], eax
mov eax, dword [0x43f2f0]
cmp eax, ebx
je 0x42bdf6
cmp dword [0x43f2f4], ebx
je 0x42bdf6
push eax
call fcn.00422dca
push dword [0x43f2f4]
mov esi, eax
call fcn.00422dca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42bdf6
test edi, edi
je 0x42bdf6
call esi
test eax, eax
je 0x42bded
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42bded
test byte [ebp - 0xc], 1
jne 0x42bdf6
or dword [ebp + 0x10], 0x200000
jmp 0x42be2f
mov eax, dword [0x43f2e8]
cmp eax, ebx
je 0x42be2f
push eax
call fcn.00422dca
pop ecx
test eax, eax
je 0x42be2f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42be2f
mov eax, dword [0x43f2ec]
cmp eax, ebx
je 0x42be2f
push eax
call fcn.00422dca
pop ecx
test eax, eax
je 0x42be2f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f2e4]
call fcn.00422dca
pop ecx
test eax, eax
je 0x42be4f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42be51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100011a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10016050]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
mov dword [ebp - 0x58], ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
mov dword [ebp - 0x44], ebx
call esi
push 0xa
mov edi, eax
push ebx
mov dword [ebp - 0x3c], edi
call esi
mov ebx, eax
push ebx
push edi
mov edi, dword [ebp - 0x44]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push edi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push eax
mov dword [ebp - 0x40], eax
call edi
push 0xcc0020
push 0
push 0
push dword [ebp - 0x44]
mov esi, eax
push ebx
push dword [ebp - 0x3c]
push 0
push 0
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push dword [ebp - 0x40]
call edi
lea eax, [ebp - 0x50]
push eax
push 0
push 0x26200a
push 0
push ebx
push dword [ebp - 0x3c]
mov dword [ebp - 0x50], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x48]
push eax
push esi
mov dword [ebp - 0x48], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov edi, dword [ebp - 0x48]
push 0
sub esp, 8
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push edi
call dword [sym.imp.gdiplus.dll_GdipScaleWorldTransform]
push 0
push 0
push ebx
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawImageI]
movq xmm0, qword [0x10010238]
movq qword [ebp - 0x24], xmm0
movq xmm0, qword [0x10010240]
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
movq qword [ebp - 0x1c], xmm0
movq xmm0, qword [eax + 4]
lea ecx, [ebp - 0x28]
push ecx
movq qword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0xc]
lea ecx, [ebp - 0x38]
push ecx
add eax, 0x1c
push eax
push esi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 1
movq qword [ebp - 0x30], xmm0
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x44]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push ebx
call esi
push dword [ebp - 0x54]
call esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.100031c5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100014e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10014e40
push 0x10004770
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x10016050]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], 0
push 0x104
call fcn.10003331
mov edi, eax
mov dword [ebp - 0x3c], edi
push 0x104
call fcn.10003331
mov ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x104
call fcn.10003331
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
push 0x104
push 0
push edi
call fcn.10008130
push 0x104
push 0
push ebx
call fcn.10008130
push 0x104
push 0
push esi
call fcn.10008130
mov esi, dword [ebp - 0x20]
add esi, 0x224
add esp, 0x20
push edi
push esi
call fcn.10003040
test eax, eax
je 0x10001689
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x104
jae 0x100015b4
movsx eax, byte [ecx + edi]
xor eax, 0x58
mov byte [ecx + edi], al
inc ecx
jmp 0x1000159c
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100015c0
sub ecx, edx
xor esi, esi
mov dword [ebp - 0x28], esi
xor eax, eax
mov dword [ebp - 0x34], eax
cmp eax, ecx
jge 0x100015e7
cmp byte [eax + edi], 0x2c
jne 0x10001663
lea esi, [eax + 1]
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x10001602
xor eax, eax
mov dword [ebp - 0x38], eax
cmp eax, ecx
jge 0x10001600
cmp byte [eax + edi], 0x23
jne 0x10001669
lea esi, [eax + 1]
mov dword [ebp - 0x28], esi
test esi, esi
jle 0x10001689
push edi
mov edx, esi
mov ecx, ebx
call section..text
lea eax, [esi + edi]
push eax
mov edx, 0x104
mov ecx, dword [ebp - 0x24]
call section..text
mov esi, dword [ebp - 0x20]
add esi, 0x1c
push 0x208
push 0
push esi
call fcn.10008130
add esp, 0xc
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call ebx
cmp eax, 0x104
ja 0x1000166c
push eax
push esi
push 0xffffffffffffffff
mov esi, dword [ebp - 0x1c]
push esi
push 0
push 0
call ebx
jmp 0x1000166f
inc eax
jmp 0x100015d0
inc eax
jmp 0x100015ed
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.1000329e
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x14], eax
mov dword [ebp - 0x2c], 1
jmp 0x1000168c
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xfffffffe
call fcn.100016b3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001740
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.100027b0
mov esi, eax
call fcn.10002840
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1000178c
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
call fcn.10002b20
mov ebx, eax
call fcn.100029a0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x100017dc
cmp dword [ebp - 0xc], 0
jne 0x100017dc
cmp esi, 1
jne 0x100017b7
cmp dword [ebp - 4], 0
jne 0x100017e1
mov ebx, esi
jmp 0x100017e1
test esi, esi
jne 0x100017dc
cmp dword [ebp - 4], esi
jne 0x100017e6
call fcn.100028d0
test eax, eax
jne 0x10001815
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp esi, 1
jne 0x100017e6
call fcn.10002d20
test ebx, ebx
je 0x100017c0
call fcn.10002a50
test eax, eax
jne 0x10001806
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [ebp - 8]
push 0
push 0
push ebx
push 0x10001950
jmp 0x10001822
mov ebx, dword [ebp - 8]
push 0
push 0
push ebx
push 0x10001920
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
call esi
test eax, eax
je 0x10001835
push eax
call edi
push 0
push 0
push ebx
push 0x10001860
push 0
push 0
call esi
test eax, eax
je 0x1000184c
push eax
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001e80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10014ef8
push 0x10004770
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x10016050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x278], esi
push 0x208
call fcn.10003331
mov ebx, eax
mov dword [ebp - 0x284], ebx
push 0x208
call fcn.10003331
mov dword [ebp - 0x274], eax
push 0x208
call fcn.10003331
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x280], edi
mov dword [ebp - 4], esi
push 0x208
push esi
push ebx
call fcn.10008130
push 0x208
push esi
push dword [ebp - 0x274]
call fcn.10008130
push 0x208
push esi
push edi
call fcn.10008130
add esp, 0x24
push ebx
call fcn.10002ba0
push ecx
push ebx
push ecx
mov ecx, dword [ebp - 0x274]
call fcn.10001080
push 0x1001461c
mov ecx, dword [ebp - 0x274]
call fcn.100019b0
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0x10002050
mov esi, eax
lea esp, [esp]
mov ecx, 0x10014624
lea eax, [ebp - 0x244]
jmp 0x10001f80
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10001fa6
test dx, dx
je 0x10001fa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10001fa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10001f80
xor eax, eax
jmp 0x10001fab
sbb eax, eax
or eax, 1
test eax, eax
je 0x10002028
mov eax, 0x10014628
lea ecx, [ebp - 0x244]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10001fe6
test dx, dx
je 0x10001fe2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10001fe6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10001fc0
xor eax, eax
jmp 0x10001feb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10002028
test byte [ebp - 0x270], 0x10
jne 0x10002028
push ecx
push ebx
push ecx
mov ecx, edi
call fcn.10001080
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x244]
push eax
mov ecx, edi
call fcn.100019b0
push edi
call fcn.10001a80
cmp eax, 1
jne 0x10002028
push edi
call fcn.100020b0
lea eax, [ebp - 0x270]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001f70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
mov dword [ebp - 0x278], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.1000208c
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100031c5
mov esp, ebp
pop ebp
ret

Function at 0x100020b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x834
call fcn.10003331
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0xc]
push ecx
call fcn.10001080
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x10002160
push 0
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x830], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
test eax, eax
je 0x10002114
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10002ba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x208
call fcn.10003331
push 0x208
mov ebx, eax
push 0
push ebx
call fcn.10008130
add esp, 0x10
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.100029a0
mov edi, dword [ebp + 8]
mov edx, 0x104
mov ecx, edi
test eax, eax
jne 0x10002c0e
mov esi, str.X:Program_FilesCommon_FilesODBCODBC0Plugin
sub esi, edi
jmp 0x10002bf0
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10002c33
movzx eax, word [esi + ecx]
test ax, ax
je 0x10002c33
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10002bf0
jmp 0x10002c37
mov esi, str.X:UsersPublicAppDataLocalMicrosoftODBCPlugin_
sub esi, edi
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10002c33
movzx eax, word [esi + ecx]
test ax, ax
je 0x10002c33
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10002c15
jmp 0x10002c37
test edx, edx
jne 0x10002c3a
sub ecx, 2
xor eax, eax
mov word [ecx], ax
mov ax, word [ebx]
push ebx
mov word [edi], ax
call fcn.100032bb
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x10002c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x208
call fcn.10003331
push 0x208
mov ebx, eax
push 0
push ebx
call fcn.10008130
add esp, 0x10
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.100029a0
mov edi, dword [ebp + 8]
mov edx, 0x104
mov ecx, edi
test eax, eax
jne 0x10002cce
mov esi, str.X:Program_FilesCommon_FilesODBCODBC0
sub esi, edi
jmp 0x10002cb0
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10002cf3
movzx eax, word [esi + ecx]
test ax, ax
je 0x10002cf3
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10002cb0
jmp 0x10002cf7
mov esi, str.X:ProgramDataMicrosofteHome
sub esi, edi
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10002cf3
movzx eax, word [esi + ecx]
test ax, ax
je 0x10002cf3
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x10002cd5
jmp 0x10002cf7
test edx, edx
jne 0x10002cfa
sub ecx, 2
xor eax, eax
mov word [ecx], ax
mov ax, word [ebx]
push ebx
mov word [edi], ax
call fcn.100032bb
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4