joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bd35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44be4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44be4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004606da
mov esi, eax
test esi, esi
je 0x44be4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44be4d
mov ecx, esi
call fcn.0044bca0
cmp edi, eax
jge 0x44be4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44bdd3
mov dword [esp + 0x34], 1
jmp 0x44be2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44be4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044b2a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46107d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4610b5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045f134
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f10c
jmp 0x4610c1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x462772
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4627b4
call fcn.00468227
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4627b4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4627ab
xor eax, eax
jmp 0x4627bc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004627c2
pop edi
pop esi
pop ebx
ret 4
Function at 0x468757
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x468785
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4687a3
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004686bd
jmp 0x4687a3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4687a3
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004686bd
test edi, edi
mov eax, edi
jne 0x46878d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x9c9610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1ae000]
push edi
or ebp, 0xffffffff
jmp 0x9c9632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9c9639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9c9628
mov eax, 1
add ebx, ebx
jne 0x9c964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9c965c
jne 0x9c967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9c967b
dec eax
add ebx, ebx
jne 0x9c9668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9c9640
add ebx, ebx
jne 0x9c9677
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9c96cd
xor ecx, ecx
sub eax, 3
jb 0x9c9693
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9c9702
sar eax, 1
mov ebp, eax
jmp 0x9c969e
add ebx, ebx
jne 0x9c969e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9c966c
inc ecx
add ebx, ebx
jne 0x9c96ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9c966c
add ebx, ebx
jne 0x9c96b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9c96ae
jne 0x9c96ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9c96ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9c96ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9c96de
jmp 0x9c962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9c96ec
add edi, ecx
jmp 0x9c962e
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9c970a
cmp byte [edi], 0xb
jne 0x9c970a
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 0x9c970f
lea edi, [esi + 0x5c6000]
mov eax, dword [edi]
or eax, eax
je 0x9c9787
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e2830]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e2984]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9c973c
mov ecx, edi
jns 0x9c976b
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 + 0x5e2988]
or eax, eax
je 0x9c9781
mov dword [ebx], eax
add ebx, 4
jmp 0x9c9759
call dword [esi + 0x5e2998]
mov ebp, dword [esi + 0x5e298c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x9c97bb
sub esp, 0xffffff80
jmp 0x5119e8
Function at 0x40b7a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40b7e9
call fcn.00405afe
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b7e9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40b804
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040b360
test ebx, ebx
mov esi, eax
je 0x40b802
test edi, edi
je 0x40b802
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40d4fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x442c07
call fcn.00424ad1
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00405afe
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40d549
call fcn.00405afe
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40d55a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40d567
or eax, 0xffffffff
jmp 0x40d6c3
mov ecx, esi
call fcn.0040d023
mov dword [ebp - 0x14], eax
call fcn.00408d1f
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40d5e5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40d5e5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40d5e5
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00407800
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40d5e5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40d5e5
mov ecx, ebx
call fcn.0040b9b1
test eax, eax
je 0x40d5e5
push 0
mov ecx, ebx
call fcn.0040b9cc
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0040a68c
push dword [ebp - 0x14]
call fcn.00408c77
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040d306
xor edi, edi
cmp eax, edi
je 0x40d642
test byte [esi + 0x3c], 0x10
je 0x40d62c
push 4
pop edi
mov ecx, esi
call fcn.0040b8c2
test ax, 0x100
je 0x40d622
push 5
pop edi
push edi
mov ecx, esi
call fcn.0040880d
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40d642
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0040bb9b
or dword [ebp - 4], 0xffffffff
jmp 0x40d66d
cmp dword [ebp - 0x28], edi
je 0x40d67b
push 1
mov ecx, ebx
call fcn.0040b9cc
cmp dword [ebp - 0x2c], edi
je 0x40d68b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40d6a4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40d6a4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040d05d
cmp dword [esi + 0x58], edi
je 0x40d6c0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00424b76
ret
Function at 0x410358
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41039e
call fcn.00405afe
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41039e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4103e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4103ca
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4103ca
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4103de
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x411175
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x45b6a0]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x411213
push 0x44736c
push 4
push eax
call fcn.00424c87
push eax
call fcn.00401a84
add esp, 0x10
push ebx
push edi
call fcn.00424d2e
mov edi, dword [eax]
call fcn.00424d2e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00421c5f
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.00424d2e
cmp dword [eax], ebx
je 0x41122a
call fcn.00424d2e
push dword [eax]
call fcn.0040513f
pop ecx
jmp 0x411231
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4111c4
jmp 0x4112a3
call fcn.00424d2e
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x41129f
cmp dword [ebp - 0x40], esi
jae 0x41129f
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00424790
add esp, 0xc
push 0x44598c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x411291
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x411291
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x411291
push ebx
push ebx
push esi
jmp 0x411297
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4112a1
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.00420fcd
add ebp, 0x1f4
leave
ret
Function at 0x420fcd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b6a0]
jne 0x420fd7
repz ret
jmp fcn.00429c28
Function at 0x4238ba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4238f7
cmp dword [ebp + 0x14], edi
je 0x4238f7
cmp ecx, edi
jne 0x4238fe
call fcn.00424d2e
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0042113d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x423912
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x423933
cmp ebx, 0xffffffff
je 0x423922
push ebx
push edi
push ecx
call fcn.00424790
add esp, 0xc
cmp esi, edi
je 0x4238df
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4238df
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x42394f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x423956
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x423a47
test word [esi + 0xc], 0x10c
je 0x4239aa
mov eax, dword [esi + 4]
test eax, eax
je 0x4239aa
jl 0x423aa8
cmp ebx, eax
mov edi, ebx
jb 0x42397b
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x423a4f
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00420d33
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x423a3f
cmp ebx, dword [ebp - 0xc]
jb 0x423a17
cmp dword [ebp - 0xc], 0
je 0x4239d4
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x4239c9
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4239d0
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4239df
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4239df
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x423a7b
push eax
push dword [ebp - 8]
push esi
call fcn.0042d34f
pop ecx
push eax
call fcn.0042f7bb
add esp, 0xc
test eax, eax
je 0x423aba
cmp eax, 0xffffffff
je 0x423aa8
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x423a3f
push esi
call fcn.0042f0da
cmp eax, 0xffffffff
pop ecx
je 0x423aac
cmp dword [ebp - 4], 0
je 0x423a7b
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x42395e
mov eax, dword [ebp + 0x14]
jmp 0x4238f9
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x423a66
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00424790
add esp, 0xc
call fcn.00424d2e
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4238ef
cmp dword [ebp + 0xc], 0xffffffff
je 0x423a91
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00424790
add esp, 0xc
call fcn.00424d2e
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4238ef
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4238f9
or dword [esi + 0xc], 0x10
jmp 0x423aac
Function at 0x439cf4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45b6a0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439c89
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00424790
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x439d43
cmp dword [ebp - 0x1c], 5
jb 0x439d5b
jmp 0x439d57
cmp dword [ebp - 0x10], 1
jne 0x439d5b
cmp dword [ebp - 0x1c], 4
ja 0x439d57
jne 0x439d5b
cmp dword [ebp - 0x18], 0
jbe 0x439d5b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44ad6c
call fcn.00439b5d
test eax, eax
jge 0x439d7c
mov byte [0x45fc11], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00420fcd
add ebp, 0x78
leave
ret
Function at 0x43bc9b
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x443db2
call fcn.00424a9e
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x43bcc4
push ebx
push ebx
push 2
xor ecx, ecx
pop eax
call fcn.0043a5c1
xor al, al
jmp 0x43be22
call fcn.0043b5ad
or dword [edi + 8], 0xffffffff
or dword [edi + 4], 0xffffffff
push 2
push ebx
push dword [ebp + 0xc]
call fcn.004235c2
push dword [ebp + 0xc]
call fcn.004234cd
push ebx
push ebx
push dword [ebp + 0xc]
mov esi, eax
call fcn.004235c2
add esp, 0x1c
cmp esi, ebx
jg 0x43bcfd
push ebx
push ebx
push 0xd
jmp 0x43bcb5
mov ebx, 0x45ff14
mov dword [ebp - 0x10], ebx
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00441d24
lea eax, [esi + 1]
push eax
call fcn.00404a23
push dword [ebp + 0xc]
mov edi, eax
push 1
push esi
push edi
mov dword [ebp - 0x14], edi
mov byte [edi], 0
call fcn.00423b56
add esp, 0x14
cmp eax, 1
je 0x43bd68
push edi
call fcn.00404a53
mov edi, dword [ebp + 8]
pop ecx
push 0
push 0
push 2
xor ecx, ecx
pop eax
call fcn.0043a5c1
cmp dword [ebp - 0x10], ebx
je 0x43bcbd
push dword [ebp - 0x10]
call fcn.00404a53
pop ecx
jmp 0x43bcbd
mov ebx, edi
mov eax, ebx
mov byte [eax + esi], 0
cmp byte [eax], 0
je 0x43bdcd
mov al, byte [ebx]
cmp al, 0xa
jne 0x43bd8d
mov eax, ebx
sub eax, edi
inc eax
push eax
push edi
lea edi, [ebp - 0x10]
call fcn.00441d85
inc ebx
jmp 0x43bdc3
cmp al, 0xd
jne 0x43bdc7
mov eax, ebx
sub eax, edi
test eax, eax
jle 0x43bda3
push eax
push edi
lea edi, [ebp - 0x10]
call fcn.00441d85
push 1
lea eax, [ebp + 0xc]
push eax
lea edi, [ebp - 0x10]
mov byte [ebp + 0xc], 0xa
call fcn.00441d85
lea eax, [ebx + 1]
cmp byte [eax], 0xa
jne 0x43bdc1
inc ebx
inc ebx
jmp 0x43bdc3
mov ebx, eax
mov edi, ebx
jmp 0x43bdc8
inc ebx
cmp byte [ebx], 0
jne 0x43bd75
sub ebx, edi
je 0x43bddb
push ebx
push edi
lea edi, [ebp - 0x10]
call fcn.00441d85
push dword [ebp - 0x14]
call fcn.00404a53
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
pop ecx
push 0
push 0
lea ecx, [edi + 8]
push ecx
mov ecx, esi
call dword [eax + 8]
cmp byte [esi + 0x2c], 0
je 0x43be11
cmp edi, 0x45ff14
je 0x43bcbd
push edi
jmp 0x43bd5d
cmp edi, 0x45ff14
je 0x43be20
push edi
call fcn.00404a53
pop ecx
mov al, 1
call fcn.00424b76
ret 8
Function at 0x43da64
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x280
lea ebp, [esp - 4]
mov eax, dword [0x45b6a0]
xor eax, ebp
mov dword [ebp + 0x280], eax
push 0x1c
mov eax, 0x4441f6
call fcn.00424a9e
mov eax, dword [ebp + 0x28c]
xor esi, esi
push 0x27e
mov dword [ebp - 0x10], eax
lea eax, [ebp + 2]
push esi
mov dword [ebp - 0x20], esi
push eax
mov ebx, ecx
mov word [ebp], si
call fcn.00424790
add esp, 0xc
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], 0x280
call fcn.00401e13
push str.SoftwareRiot_GamesLeague_of_Legends
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.00401c5e
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push esi
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43db42
mov ebx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43db33
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.00403c24
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040123b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401019
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
jmp 0x43db43
push edi
mov ecx, dword [ebp - 0x10]
call fcn.00401e13
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401019
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x280]
xor ecx, ebp
call fcn.00420fcd
add ebp, 0x284
leave
ret 4
Function at 0x43e1e1
Capabilities:
Get file version info

Disassembly:
push 0x10
mov eax, 0x443ef3
call fcn.00424a9e
call fcn.00404a58
push eax
lea ecx, [ebp - 0x10]
call fcn.00401dee
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.00401426
push dword [0x45ff80]
lea eax, [ebp - 0x10]
push str._s.exe
push eax
call fcn.00402e0e
mov edi, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
ja 0x43e243
lea ecx, [edi - 0x10]
call fcn.00401019
xor eax, eax
call fcn.00424b76
ret 4
push esi
call fcn.00422eab
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x14]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x43e270
xor esi, esi
push ebx
call fcn.00422dce
pop ecx
lea ecx, [edi - 0x10]
call fcn.00401019
mov eax, esi
jmp 0x43e23b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push str.StringFileInfo040904E4FileVersion
push ebx
call sub.VERSION.dll_VerQueryValueW
xor esi, esi
inc esi
cmp eax, esi
jne 0x43e25d
push dword [ebp - 0x18]
push 0x44c114
push dword [ebp + 8]
call fcn.00402e0e
add esp, 0xc
jmp 0x43e25d

Function at 0x43f730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x45b6a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x290], eax
push dword [ebp + 8]
mov esi, 0x140
push 0x44d280
lea eax, [ebp - 0x14c]
push esi
push eax
call fcn.0042193a
add esp, 0x14
push dword [ebp - 0x290]
lea eax, [ebp - 0x28c]
push esi
push eax
lea eax, [ebp - 0x14c]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x43f79d
lea eax, [ebp - 0x28c]
push eax
call fcn.00421369
pop ecx
jmp 0x43f7a3
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00420fcd
leave
ret 0xc

Function at 0x43f85a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov eax, esi
call fcn.0043f9bc
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [esi + 8]
push 0x44d158
push 0x44d164
call edi
push dword [ebp + 8]
mov dword [esi + 8], eax
push dword [esi + 0xc]
push 0x44d16c
push 0x44d180
call edi
push dword [ebp + 8]
mov ebx, 0x44d188
push dword [esi + 0x14]
mov edi, 0x44d194
push dword [esi + 0x10]
mov dword [esi + 0xc], eax
call fcn.0043f730
push dword [ebp + 8]
mov ebx, 0x44d19c
push dword [esi + 0x1c]
mov edi, 0x44d1ac
push dword [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.0043f730
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [esi + 0x20]
mov dword [esi + 0x18], eax
push 0x44d1b4
push 0x44d1c8
mov dword [esi + 0x1c], edx
call edi
push dword [ebp + 8]
mov dword [esi + 0x20], eax
push dword [esi + 0x24]
push 0x44d1d0
push 0x44d1e4
call edi
mov dword [esi + 0x24], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop ecx
pop ebp
ret 4