joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4393a0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4393c9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x439411
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47f47c
push str._s:WinHttpOpen___failed:_d
mov eax, dword [ebp - 4]
push eax
call fcn.00439ee0
add esp, 0x10
jmp 0x43945a
mov dword [ebp - 8], 0x2a0
mov ecx, dword [ebp - 8]
or ecx, 0x800
mov dword [ebp - 8], ecx
push 4
lea edx, [ebp - 8]
push edx
push 0x54
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x43945a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHHttp::OpenSession
push 0x47f510
mov edx, dword [ebp - 4]
push edx
call fcn.00439ee0
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x43946c
mov dword [ebp - 0xc], 1
jmp 0x439473
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x439e00
Capabilities:
Receive http response
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x439ed0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x439ed0
cmp dword [ebp - 0x10], 0
je 0x439ebb
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0x10
jb 0x439e73
mov dword [ebp - 0x14], 1
jmp 0x439e7a
mov dword [ebp - 0x14], 0
mov cl, byte [ebp - 0x14]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x439e96
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x439ed0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x45ee90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c2d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
and ecx, 1
je 0x45ef5e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x45eee3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
jmp 0x45eef6
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx]
add ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x1000
jb 0x45ef47
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0041f310
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00419c67
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ecx], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x21ed5b06
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x512f4464
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2a472196
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1f861d2b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x891c00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d8000]
push edi
or ebp, 0xffffffff
jmp 0x891c22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x891c29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891c18
mov eax, 1
add ebx, ebx
jne 0x891c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x891c4c
jne 0x891c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891c6b
dec eax
add ebx, ebx
jne 0x891c58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x891c30
add ebx, ebx
jne 0x891c67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x891cbd
xor ecx, ecx
sub eax, 3
jb 0x891c83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x891cf2
sar eax, 1
mov ebp, eax
jmp 0x891c8e
add ebx, ebx
jne 0x891c8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891c5c
inc ecx
add ebx, ebx
jne 0x891c9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x891c5c
add ebx, ebx
jne 0x891ca9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x891c9e
jne 0x891cba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x891c9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x891cdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x891cce
jmp 0x891c1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x891cdc
add edi, ecx
jmp 0x891c1e
pop esi
mov edi, esi
mov ecx, 0x69c8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x891cfa
cmp byte [edi], 0xa
jne 0x891cfa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x891cff
lea edi, [esi + 0x488000]
mov eax, dword [edi]
or eax, eax
je 0x891d77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x495b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x495cd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x891d2c
mov ecx, edi
jns 0x891d5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x495cd8]
or eax, eax
je 0x891d71
mov dword [ebx], eax
add ebx, 4
jmp 0x891d49
call dword [esi + 0x495ce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x891da8
cmp al, 0xef
ja 0x891d9b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x891d7d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x891d8a
mov ebp, dword [esi + 0x495cdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x891ddc
sub esp, 0xffffff80
jmp 0x4aebe0
Function at 0x429370
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x429510
test edx, 3
je 0x4293a2
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x429387
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x4293b0
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x429509
xor eax, dword [edi + edx]
jmp 0x4294d7
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x429527
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x429514
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1001abd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b90cb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10101404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, edx
push 1
call fcn.10062cb0
add esp, 4
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 8], edx
mov word [ebx + 0x30], 0
xor eax, eax
mov dword [ebp - 4], eax
lea esi, [ebx + 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
cmp esi, eax
je 0x1001ac8e
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x1001ac4f
mov eax, dword [esi]
jmp 0x1001ac51
mov eax, esi
xor ecx, ecx
mov word [eax], cx
call fcn.100111a0
mov byte [ebp - 4], 2
add esi, 0x1c
mov dword [ebp - 0x20], esi
mov edx, dword [edi + 0x1c]
mov dword [esi], edx
xor ecx, ecx
mov dword [esi + 4], ecx
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x20]
mov edx, dword [esi + 4]
mov dword [edi + 0x20], edx
mov dword [esi + 4], eax
mov dword [edi + 0x1c], ecx
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003d890
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x210], eax
jne 0x1003d8c6
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x1003d8d0
mov eax, dword [esi]
jmp 0x1003d8d2
mov eax, esi
push ebx
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x1003d8f9
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret
push edi
push ebx
call fcn.100aa6c6
mov edi, eax
add esp, 4
test edi, edi
je 0x1003d92a
cmp dword [esi + 0x14], 8
jb 0x1003d911
mov esi, dword [esi]
push edi
push ebx
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1003d93d
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push str.VarFileInfoTranslation
xor ebx, ebx
push edi
mov dword [ebp - 0x20c], ebx
call esi
push 0x1fe
lea edx, [ebp - 0x202]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x204], cx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x20c]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push 0x100d4ad8
push ecx
push edx
lea eax, [ebp - 0x204]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x204]
push eax
push edi
mov dword [ebp - 0x208], ebx
call esi
cmp eax, 1
sete bl
test bl, bl
je 0x1003d9e3
mov eax, dword [ebp - 0x208]
test eax, eax
je 0x1003d9e3
mov ecx, dword [ebp - 0x210]
push eax
call fcn.1000b5e0
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.100af1c6
mov esp, ebp
pop ebp
ret
Function at 0x1004f790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4368
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10101404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0xffffffff
mov ecx, 7
xor edx, edx
xor esi, esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], edx
mov word [eax + 4], si
mov dword [ebp - 4], edx
mov dword [eax + 0x34], ecx
xor ecx, ecx
mov dword [eax + 0x30], edx
mov word [eax + 0x20], cx
mov byte [ebp - 4], 1
lea ecx, [eax + 0x40]
lea esi, [ecx + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
mov byte [esi], dl
mov byte [ebp - 4], 3
mov si, word [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], 6
mov dword [ecx + 0xc], edx
mov word [ecx + 0x10], si
mov dword [ecx + 0x14], 0x201
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x18], edx
mov byte [ebp - 4], 4
mov dword [eax + 0x68], 0xffffffff
mov dword [eax + 0x6c], SysReAllocString
mov dword [eax + 0x70], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x100541e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8a73
mov eax, dword fs:[0]
push eax
mov eax, 0x1010
call fcn.100b0040
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1018], eax
xor esi, esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x101c]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x10054260
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x10054257
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
xor al, al
jmp 0x100542eb
mov ebx, dword [ebp - 0x101c]
shr ebx, 2
xor edi, edi
cmp ebx, esi
jbe 0x100542cd
nop
mov edx, dword [ebp + edi*4 - 0x1010]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1014], esp
push 0xffffffffffffffff
push esi
lea edx, [ebp + 8]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.10002e80
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call fcn.10054320
mov dword [ebp - 0x1014], eax
cmp eax, esi
je 0x100542c8
mov esi, dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.1000b770
xor esi, esi
inc edi
cmp edi, ebx
jb 0x10054270
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x100542e7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov al, 1
mov word [ebp + 8], cx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10054b70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10101404]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [0x101068cc], ebx
je 0x10054ba8
xor eax, eax
cmp dword [0x101068c0], ebx
pop ebx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x90
lea eax, [ebp - 0x94]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor edx, edx
cmp dword [ebp - 0x88], 2
push str.USER32
sete dl
mov dword [0x101068d0], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
je 0x10054ca8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100d6298
push esi
call edi
mov dword [0x101068b0], eax
cmp eax, ebx
je 0x10054ca8
push str.MonitorFromWindow
push esi
call edi
mov dword [0x101068b4], eax
cmp eax, ebx
je 0x10054ca8
push str.MonitorFromRect
push esi
call edi
mov dword [0x101068b8], eax
cmp eax, ebx
je 0x10054ca8
push str.MonitorFromPoint
push esi
call edi
mov dword [0x101068bc], eax
cmp eax, ebx
je 0x10054ca8
push str.EnumDisplayMonitors
push esi
call edi
mov dword [0x101068c4], eax
cmp eax, ebx
je 0x10054ca8
push str.EnumDisplayDevicesW
push esi
call edi
mov dword [0x101068c8], eax
cmp eax, ebx
je 0x10054ca8
cmp dword [0x101068d0], ebx
je 0x10054c7c
push str.GetMonitorInfoW
jmp 0x10054c81
push str.GetMonitorInfoA
push esi
call edi
mov dword [0x101068c0], eax
cmp eax, ebx
je 0x10054ca8
pop edi
mov eax, 1
pop esi
mov dword [0x101068cc], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100af1c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x101068b0], ebx
mov dword [0x101068b4], ebx
mov dword [0x101068b8], ebx
mov dword [0x101068bc], ebx
mov dword [0x101068c0], ebx
mov dword [0x101068c4], ebx
mov dword [0x101068c8], ebx
xor ecx, ebp
mov dword [0x101068cc], 1
xor eax, eax
pop ebx
call fcn.100af1c6
mov esp, ebp
pop ebp
ret