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

Disassembly:
mov eax, 0x200c
call fcn.0047c8c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x201c]
test esi, esi
push edi
je 0x4085a4
mov ebx, dword [esp + 0x2024]
test ebx, ebx
je 0x4085a4
mov ebp, dword [esp + 0x2028]
cmp ebp, 0x80
jl 0x4085a4
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4085a4
cmp eax, 0x1fff
ja 0x4085a4
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4085a4
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x498620
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4085a4
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push str._d._d._d._d
push ebx
call dword [0x489350]
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x200c
ret
Function at 0x40a760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48367c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
or eax, 0xffffffff
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov ecx, dword [0x498080]
mov dword [esp + 0xc], ebx
mov dword [ebx + 0xc], ecx
mov edx, dword [0x498080]
mov dword [esp + 0x18], esi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], 0xb4
mov ecx, dword [0x498080]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], esi
mov edx, 0x4a3de8
mov byte [esp + 0x18], 3
test edx, edx
mov dword [ebx], vtable.CDownloadTask.0
jne 0x40a7e1
xor ebp, ebp
jmp 0x40a7ee
push 0x4a3de8
call dword [0x4891e0]
mov ebp, eax
mov eax, dword [ebx + 0x30]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x40a801
cmp ebp, dword [eax - 4]
jle 0x40a868
mov edx, dword [0x498084]
add eax, 0xfffffff4
cmp eax, edx
je 0x40a831
push ecx
call dword [0x4891e4]
test eax, eax
jg 0x40a828
mov eax, dword [ebx + 0x30]
sub eax, 0xc
push eax
call fcn.0047ab00
add esp, 4
mov ecx, dword [0x498080]
mov dword [ebx + 0x30], ecx
cmp ebp, esi
jne 0x40a840
mov edx, dword [0x498080]
mov dword [ebx + 0x30], edx
jmp 0x40a868
lea eax, [ebp + ebp + 0xe]
push eax
call fcn.0047c85e
add esp, 4
cmp eax, esi
je 0x40a89d
mov dword [eax], 1
mov word [eax + ebp*2 + 0xc], si
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
add eax, 0xc
mov dword [ebx + 0x30], eax
lea eax, [ebp + ebp]
lea ecx, [ebp + ebp + 2]
cmp ecx, eax
jb 0x40a890
mov ecx, eax
push edi
mov edi, dword [ebx + 0x30]
mov edx, ecx
mov esi, 0x4a3de8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
pop edi
mov ecx, dword [ebx + 0x30]
mov dword [ecx - 8], ebp
mov edx, dword [ebx + 0x30]
mov word [edx + eax], si
mov ecx, dword [esp + 0x10]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b080
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edx, [esp + 4]
mov dword [esp + 4], 0x3c
push edx
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 5
mov dword [esp + 0x1c], ecx
call dword [0x4894bc]
mov ecx, dword [esp + 0x3c]
pop edi
neg eax
sbb eax, eax
and eax, ecx
add esp, 0x3c
ret 8
Function at 0x40b1c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2670
call fcn.0047c8c0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
call fcn.0040b180
mov esi, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x680]
rep stosd dword es:[edi], eax
mov ebx, 1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x680]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x1000
push eax
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x10], ebx
jne 0x40b2bb
cmp word [esp + 0x680], 0
je 0x40b2bb
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x40b2bb
lea eax, [esp + 0x680]
lea ebx, [esi + 0x24]
test eax, eax
jne 0x40b255
xor ebp, ebp
jmp 0x40b265
lea ecx, [esp + 0x680]
push ecx
call dword [0x4891e0]
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x40b272
cmp ebp, dword [eax - 4]
jle 0x40b285
mov ecx, ebx
call fcn.00403b90
push ebp
mov ecx, ebx
call fcn.004038a0
test eax, eax
je 0x40b2bb
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x40b2ae
mov edi, dword [ebx]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0x680]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x430]
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [0x489080]
cmp eax, 0xffffffff
je 0x40b2ff
push eax
call dword [0x489084]
mov edx, dword [esi + 0x50]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0040b080
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2670
ret
Function at 0x40b310
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x266c
call fcn.0047c8c0
push ebx
push ebp
push esi
push edi
call fcn.0040b180
mov esi, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x67c]
rep stosd dword es:[edi], eax
mov ebx, 1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x67c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x1000
push eax
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x10], ebx
jne 0x40b407
cmp word [esp + 0x67c], 0
je 0x40b407
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x40b407
lea eax, [esp + 0x67c]
lea ebx, [esi + 0x24]
test eax, eax
jne 0x40b3a1
xor ebp, ebp
jmp 0x40b3b1
lea ecx, [esp + 0x67c]
push ecx
call dword [0x4891e0]
mov ebp, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
jg 0x40b3be
cmp ebp, dword [eax - 4]
jle 0x40b3d1
mov ecx, ebx
call fcn.00403b90
push ebp
mov ecx, ebx
call fcn.004038a0
test eax, eax
je 0x40b407
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x40b3fa
mov edi, dword [ebx]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0x67c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x42c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x489080]
pop edi
pop esi
pop ebp
cmp eax, 0xffffffff
pop ebx
je 0x40b449
push eax
call dword [0x489084]
mov eax, 1
add esp, 0x266c
ret
xor eax, eax
add esp, 0x266c
ret
Function at 0x40be10
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40be5f
cmp dword [esp + 0x10], 0x104
jl 0x40be5f
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0
mov dword [esp + 0x18], 0
call dword [0x4894b8]
test eax, eax
jl 0x40be5f
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [0x4894c8]
mov eax, dword [esp + 0xc]
push eax
call dword [0x489734]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x40f590
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x40f6f1
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp edi, 0x111
jne 0x40f5e7
cmp bx, 0x7e
jne 0x40f5cd
call fcn.00410100
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x85
jne 0x40f616
mov ecx, esi
call fcn.00410180
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 1
jne 0x40f616
push edi
mov ecx, esi
call fcn.0041ec00
push ebp
mov ecx, esi
call fcn.0040f700
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0041ebf0
test eax, eax
je 0x40f616
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x80]
jne 0x40f694
test eax, eax
je 0x40f62a
lea esi, [eax - 0x80]
jmp 0x40f62c
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x40f661
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [0x489614]
cmp ebx, 2
jne 0x40f652
push 0
push eax
call dword [0x489544]
jmp 0x40f666
test ebx, ebx
jne 0x40f661
push 5
push eax
call dword [0x489544]
jmp 0x40f666
cmp ebx, 1
je 0x40f6b4
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x80]
call fcn.00421a30
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x40f6ca
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x40f6b4
cmp dword [eax + 0x18], ecx
je 0x40f6b4
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.00425ff0
test eax, eax
je 0x40f6f1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x410210
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call dword [0x48913c]
call fcn.00405290
test eax, eax
jne 0x41022b
call fcn.004052c0
test eax, eax
je 0x410281
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x28
call dword [0x4890a0]
push eax
call dword [0x489008]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [0x48900c]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [0x489010]
push 0
push 6
call dword [0x489608]
add esp, 0x14
ret
Function at 0x412350
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x412513
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x41238e
push 1
call fcn.00412300
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.00412520
mov dword [ebp], eax
jmp 0x41241c
cmp ebx, 2
jne 0x4123a5
push 1
mov ecx, esi
call fcn.00412300
mov ecx, esi
call fcn.004130c0
jmp 0x412415
cmp ebx, 0x111
jne 0x4123df
cmp di, 0x6b
jne 0x4123c6
mov ecx, esi
call fcn.00412570
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x6c
jne 0x412433
mov ecx, esi
call fcn.00412580
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x113
jne 0x4123fa
push 1
mov ecx, esi
call fcn.00412300
push edi
mov ecx, esi
call fcn.00412a60
jmp 0x412415
cmp ebx, 0x18
jne 0x412433
push 1
mov ecx, esi
call fcn.00412300
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.00413890
mov dword [ebp], 0
mov ecx, esi
call fcn.004122f0
test eax, eax
je 0x412433
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0x84]
jne 0x4124b5
test eax, eax
je 0x41244a
lea esi, [eax - 0x84]
jmp 0x41244c
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x412481
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [0x489614]
cmp edi, 2
jne 0x412472
push 0
push eax
call dword [0x489544]
jmp 0x412486
test edi, edi
jne 0x412481
push 5
push eax
call dword [0x489544]
jmp 0x412486
cmp edi, 1
je 0x4124d9
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0x84]
call fcn.00413df0
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x4124ec
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x4124d9
cmp dword [eax + 0x18], ecx
je 0x4124d9
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x20]
call fcn.00425ff0
test eax, eax
je 0x412513
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x414af0
Capabilities:
Check http status code
Create http request

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 0
call dword [0x489688]
mov edi, eax
test edi, edi
jne 0x414b17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push eax
push edi
call dword [0x489684]
mov esi, eax
test esi, esi
je 0x414bad
mov ebx, dword [esp + 0x5c]
mov ebp, dword [0x489680]
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
push 0x13
push esi
mov dword [esp + 0x24], 0x40
call dword [0x489694]
test eax, eax
je 0x414bc0
lea eax, [esp + 0x14]
push eax
call dword [0x48933c]
add esp, 4
cmp eax, 0x197
je 0x414b78
cmp eax, 0x191
jne 0x414bc0
push 0
push 7
push 0x2eee
push esi
push ebx
call ebp
cmp eax, 0x2f00
jne 0x414bc0
push esi
call dword [0x48967c]
mov ecx, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push ecx
push edi
call dword [0x489684]
mov esi, eax
test esi, esi
jne 0x414b3b
push esi
call dword [0x48967c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
push esi
mov esi, dword [0x48967c]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 8
Function at 0x416be0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [0x489544]
ret

Function at 0x417880
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x4a3db8
mov dword [esi + 0x4e8], 1
call fcn.00401180
mov ecx, eax
call fcn.00411d60
test eax, eax
jne 0x4178b8
push 1
push eax
push eax
mov ecx, esi
call fcn.00416e10
push 2
mov ecx, esi
call fcn.00416780
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [0x489544]
mov ecx, 0x4a3db8
call fcn.00401170
mov ecx, eax
call fcn.00424910
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
push 1
mov ecx, esi
call fcn.00416e10
mov ecx, esi
call fcn.00417570
pop esi
ret
Function at 0x417e80
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
mov esi, ecx
push 0
push 0
push 0xffffd8f0
mov eax, dword [esi + 4]
push 0xffffd8f0
push 0
push eax
call dword [0x489524]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [0x489544]
pop esi
ret 4

Function at 0x4188f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483f0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 4], esi
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
mov ecx, dword [0x498080]
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], ecx
mov edx, dword [0x498080]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x28], 0x3a98
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov edx, dword [esi + 0x28]
mov ecx, esi
push edx
push 0x64
mov byte [esp + 0x18], 2
mov dword [esi], vtable.CProgressDialog.0
call fcn.00418ef0
mov ecx, dword [esp + 8]
mov eax, esi
fstp dword [esi + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41b050
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x41b1ff
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x41b0a3
push 1
call fcn.0041ec00
push ebp
mov ecx, esi
call fcn.0041b210
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0041ebf0
test eax, eax
je 0x41b124
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x18
jne 0x41b0db
push 1
mov ecx, esi
call fcn.0041ec00
push ebp
push edi
mov ecx, esi
call fcn.0041b430
mov edx, dword [esp + 0x24]
mov ecx, esi
mov dword [edx], 0
call fcn.0041ebf0
test eax, eax
je 0x41b124
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x41b124
cmp di, 0x6a
jne 0x41b0fc
mov ecx, esi
call fcn.0041c0c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x27d8
jb 0x41b124
cmp di, 0x289f
ja 0x41b124
and edi, 0xffff
mov ecx, esi
push edi
call fcn.0041bbe0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0x80]
jne 0x41b1a2
test eax, eax
je 0x41b138
lea esi, [eax - 0x80]
jmp 0x41b13a
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41b16f
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [0x489614]
cmp edi, 2
jne 0x41b160
push 0
push eax
call dword [0x489544]
jmp 0x41b174
test edi, edi
jne 0x41b16f
push 5
push eax
call dword [0x489544]
jmp 0x41b174
cmp edi, 1
je 0x41b1c2
mov ecx, ebp
shr ecx, 0x10
movsx edx, cx
movsx eax, bp
push edx
push eax
lea ecx, [esi + 0x80]
call fcn.00421a30
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x41b1d8
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41b1c2
cmp dword [eax + 0x18], ecx
je 0x41b1c2
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0x18
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push 0
push edx
push ebp
push edi
push ebx
push eax
lea ecx, [esi + 0x20]
call fcn.00425ff0
test eax, eax
je 0x41b1ff
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x41ec50
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x41edb4
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp edi, 1
jne 0x41ec9f
push 1
call fcn.0041ec00
push ebp
mov ecx, esi
call fcn.0041edc0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0041ebf0
test eax, eax
je 0x41ecd9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x111
jne 0x41ecd9
cmp bx, 0x71
jne 0x41ecc0
mov ecx, esi
call fcn.0041f310
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x6a
jne 0x41ecd9
mov ecx, esi
call fcn.0041f320
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x80]
jne 0x41ed57
test eax, eax
je 0x41eced
lea esi, [eax - 0x80]
jmp 0x41ecef
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41ed24
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [0x489614]
cmp ebx, 2
jne 0x41ed15
push 0
push eax
call dword [0x489544]
jmp 0x41ed29
test ebx, ebx
jne 0x41ed24
push 5
push eax
call dword [0x489544]
jmp 0x41ed29
cmp ebx, 1
je 0x41ed77
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x80]
call fcn.00421a30
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x41ed8d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41ed77
cmp dword [eax + 0x18], ecx
je 0x41ed77
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.00425ff0
test eax, eax
je 0x41edb4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x41f140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48421b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x498080]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [0x4a3db0]
lea edx, [esp + 0x30]
push 0x100
push edx
mov eax, dword [ecx + 8]
xor ebx, ebx
push 0x93
push eax
mov dword [esp + 0x248], ebx
call dword [0x489550]
cmp eax, ebx
jne 0x41f19a
mov word [esp + 0x30], bx
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41f1ce
lea edx, [esp + 0x30]
test edx, edx
jne 0x41f1b2
xor eax, eax
jmp 0x41f1bd
lea eax, [esp + 0x30]
push eax
call dword [0x4891e0]
lea ecx, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00403900
jmp 0x41f21c
push 0x1ff
lea ecx, [esp + 0x10]
mov esi, 0x200
call fcn.004036e0
cmp eax, ebx
je 0x41f211
push esi
push eax
push 0x93
call fcn.00403c00
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x41f211
add esi, 0x100
lea ecx, [esp + 0xc]
lea eax, [esi - 1]
push eax
call fcn.004036e0
cmp eax, ebx
jne 0x41f1e5
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.004037a0
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [0x48965c]
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x34]
push 0xffffffffffffffd8
lea eax, [esp + 0x14]
push 0xffffffffffffffd8
push eax
call dword [0x489580]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
add eax, 0xffffffd8
add ecx, 0xffffffec
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
add eax, 0xffffffb0
add ecx, 0xffffffe8
mov dword [esp + 0x24], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x20], eax
push ebx
mov dword [esp + 0x28], ecx
push 0x50000000
lea eax, [esp + 0x28]
push 0x71
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00426940
mov edx, dword [0x498084]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
lea ecx, [eax - 0xc]
neg esi
cmp ecx, edx
je 0x41f2ef
add eax, 0xfffffff4
push eax
call dword [0x4891e4]
test eax, eax
jg 0x41f2ef
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0047ab00
add esp, 4
mov ecx, dword [esp + 0x230]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret