joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f962
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f958
mov eax, 1
add ebx, ebx
jne 0x40f97b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f970
jne 0x40f98c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f970
xor ecx, ecx
sub eax, 3
jb 0x40f9a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40fa12
mov ebp, eax
add ebx, ebx
jne 0x40f9ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f9b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f9dc
inc ecx
add ebx, ebx
jne 0x40f9c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f9bd
jne 0x40f9d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f9bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f9fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f9ed
jmp 0x40f95e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f9fc
add edi, ecx
jmp 0x40f95e
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40fa1a
cmp byte [edi], 5
jne 0x40fa1a
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 0x40fa1f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40fa8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10730]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x107e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40fa4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x107e8]
or eax, eax
je 0x40fa88
mov dword [ebx], eax
add ebx, 4
jmp 0x40fa69
call dword [esi + 0x107f8]
mov ebp, dword [esi + 0x107ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40fac2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x1002f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1001624
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002fa5
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push esi
push 0x10000002
push 0x1001610
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueA]
test eax, eax
jne 0x1002f9c
inc esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0x7fff0001
add eax, 0x8000ffff
pop esi
leave
ret 8

Function at 0x100364c
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1013809
call fcn.010136d0
sub esp, 0x224
mov eax, dword [0x10171b0]
push esi
push edi
push 0xfa1
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
cmp eax, edi
je 0x10036c3
cmp dword [esi], edi
jne 0x10037c7
push 0x34
call fcn.010127cb
pop ecx
mov dword [ebp - 0x22c], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x10036a4
push 3
mov ecx, eax
call fcn.01009a6a
jmp 0x10036a6
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi], eax
je 0x10036c3
push eax
call fcn.01009a8e
test eax, eax
jge 0x10036ca
push dword [esi]
call fcn.0100abab
mov dword [esi], edi
xor eax, eax
jmp 0x10037ca
push 0x20019
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, edi
mov dword [ebp - 0x22c], eax
je 0x1003765
push ebx
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x228]
push ecx
push edi
mov dword [ebp - 0x230], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push eax
jmp 0x1003750
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x1003736
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call fcn.01009abc
test eax, eax
jne 0x1003736
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push dword [esi]
call fcn.0100a76a
inc dword [ebp - 0x230]
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
call edi
test eax, eax
je 0x1003700
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
pop ebx
lea eax, [ebp + 8]
push eax
push 3
push dword [esi]
call fcn.0100a72c
jmp 0x1003796
push edi
push edi
push 0x100
push edi
push dword [ebp + 8]
push dword [esi]
call fcn.0100a804
lea eax, [ebp + 8]
push eax
push 3
push dword [ebp + 8]
push dword [esi]
call fcn.01009d7b
test eax, eax
je 0x1003774
lea eax, [ebp + 8]
push eax
push 5
push dword [esi]
call fcn.0100a72c
jmp 0x10037c3
push dword [ebp + 8]
push dword [esi]
call fcn.0100abcd
lea eax, [ebp + 8]
push eax
push 5
push dword [ebp + 8]
push dword [esi]
call fcn.01009d7b
test eax, eax
je 0x10037a9
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.010120eb
leave
ret 8
Function at 0x10051b3
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x10171b0]
push ebx
push esi
push 4
pop esi
push dword [ebp + 0x3b0]
mov dword [ebp + 0x3a4], eax
push 0x105
lea eax, [ebp + 0x198]
xor ebx, ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], ebx
call fcn.0100434b
test eax, eax
jge 0x10051fe
xor eax, eax
jmp 0x100529e
lea eax, [ebp + 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, esi
jl 0x10051f7
push ebx
push 0x20019
push esi
mov word [ebp + eax*2 + 0x190], bx
call fcn.0100c0de
mov esi, eax
cmp esi, ebx
je 0x10051f7
push edi
push 0x104
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc dword [ebp - 0x7c]
mov edi, eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100525d
cmp edi, ebx
je 0x100522a
jmp 0x1005261
cmp edi, ebx
je 0x100526c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100529d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push 0x10
push 0x100182c
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
je 0x100528e
mov dword [ebp - 0x78], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0x78], ebx
setne al
pop edi
mov ecx, dword [ebp + 0x3a4]
pop esi
pop ebx
call fcn.010120eb
add ebp, 0x3a8
leave
ret 4
Function at 0x10055c5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
push 0x20019
mov dword [ebp + 0x1a4], eax
mov esi, ecx
call sym.mobsync.dll_RegGetHandlerTopLevelKey
test eax, eax
mov dword [ebp - 0x80], eax
je 0x10056b1
and dword [ebp - 0x7c], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x74]
push ecx
push 0
mov dword [esi + 0x62c], 1
push eax
jmp 0x100569e
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x1005690
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x194]
push eax
push dword [esi + 0x634]
call fcn.01009abc
test eax, eax
jne 0x1005690
lea eax, [ebp + 0x194]
push eax
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100a76a
xor ecx, ecx
cmp eax, ecx
jne 0x1005682
push ecx
push ecx
push 0x100
push ecx
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100a804
test eax, eax
je 0x1005690
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01009b3f
inc dword [ebp - 0x7c]
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
test eax, eax
je 0x100561e
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push 5
push dword [esi + 0x634]
call fcn.0100a72c
mov edi, eax
test edi, edi
jne 0x1005702
lea ebx, [esi + 0x10]
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100abcd
push ebx
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.0100a1fd
lea eax, [ebp - 0x78]
push eax
push 5
push dword [ebp - 0x78]
push dword [esi + 0x634]
call fcn.01009d7b
mov edi, eax
test edi, edi
je 0x10056cb
mov ebx, 0x1002ca4
push ebx
mov ecx, esi
call fcn.0100487c
push ebx
mov ecx, esi
call fcn.0100491b
mov ecx, dword [ebp + 0x1a4]
mov eax, edi
dec eax
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebx
call fcn.010120eb
add ebp, 0x1a8
leave
ret
Function at 0x1006b6e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10171b0]
push ebx
push esi
xor esi, esi
push esi
push 0x20019
push 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], esi
call fcn.0100c0de
mov ebx, eax
cmp ebx, esi
jne 0x1006ba3
xor eax, eax
jmp 0x1006c29
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x1006c18
inc dword [ebp - 0x420]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10000002
push 0x10018c8
lea eax, [ebp - 0x210]
push eax
push ebx
mov dword [ebp - 0x424], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006c0a
push dword [ebp + 0x10]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1006c37
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x420]
push ebx
call esi
test eax, eax
je 0x1006bba
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.010120eb
leave
ret 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0x7fffffff
jbe 0x1006c4e
mov eax, 0x80070057
jmp 0x1006c60
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100434b
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x1006c28
Function at 0x10075de
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10171b0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
push 0xf0000000
push 0x18
push 0x10018f8
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
lea edi, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10076ca
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
xor edi, edi
test eax, eax
je 0x10076be
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x34], edi
call esi
test eax, eax
jne 0x100766d
xor edi, edi
jmp 0x10076b5
push ebx
lea eax, [ebp - 0x34]
push eax
push 3
push dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
call esi
test eax, eax
je 0x1007669
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x1007695
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x1007669
push dword [ebp - 0x38]
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010120eb
leave
ret 8
Function at 0x1007e5b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push 0xfa7
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push eax
mov dword [ebp - 4], eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
jle 0x1007ec5
push edi
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x104b
push dword [ebp - 4]
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], ebx
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007ebe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x1007e8d
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x1007f39
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
push 0xd
mov dword [ebp + 0x1fc], eax
mov esi, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x208]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x14], 0x105
mov dword [ebp - 0x4c], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x48], 0xffffffff
je 0x1007fe7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0
push dword [esi]
mov dword [ebp - 0x18], eax
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x208]
push 0x1074
push 0xfa7
push dword [esi]
call edi
push eax
call ebx
mov ecx, dword [ebp + 0x1fc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.010120eb
add ebp, 0x200
leave
ret 4
Function at 0x10081ec
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xa00]
sub esp, 0xa80
mov eax, dword [0x10171b0]
mov dword [ebp + 0x9fc], eax
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
mov dword [ebp - 0x48], 0x105
je 0x10083bb
push ebx
push edi
push 0xd
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xa08]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x80], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x7c], 0xffffffff
je 0x1008363
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x1008363
mov ecx, dword [eax]
lea edx, [ebp + 0x5d4]
push edx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x100828e
and word [ebp + 0x7e0], 0
jmp 0x10082ae
lea eax, [ebp + 0x5d4]
push eax
push 0x105
lea eax, [ebp + 0x7e0]
push eax
call fcn.0100434b
test eax, eax
jl 0x1008363
push 0x104
lea eax, [ebp - 0x44]
push eax
push 0x11f8
push dword [0x1017260]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp + 0x3cc]
push eax
push 0x11f9
push dword [0x1017260]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0x1c4]
push 0x104
push eax
call fcn.01004e56
add esp, 0x10
push 0x24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x1008363
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x105
call fcn.01006038
test eax, eax
jl 0x1008363
and word [ebp + 0x82c], 0
lea eax, [ebp + 0x7e0]
push eax
push 0x105
lea eax, [ebp + 0x5d4]
push eax
call fcn.0100434b
test eax, eax
jge 0x1008367
xor eax, eax
jmp 0x10083b9
lea eax, [ebp + 0x9ec]
push eax
lea eax, [ebp + 0x5d4]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0x9ec]
push edx
push eax
call dword [ecx + 0x18]
push 0xfa7
push dword [esi]
call edi
push 0
push dword [ebp + 0xa08]
mov esi, eax
push 0x1008
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x9fc]
pop esi
call fcn.010120eb
add ebp, 0xa00
leave
ret 4
Function at 0x1008205
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xa00]
sub esp, 0xa80
mov eax, dword [0x10171b0]
mov dword [ebp + 0x9fc], eax
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
mov dword [ebp - 0x48], 0x105
je 0x10083bb
push ebx
push edi
push 0xd
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xa08]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x80], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x7c], 0xffffffff
je 0x1008363
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x1008363
mov ecx, dword [eax]
lea edx, [ebp + 0x5d4]
push edx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x100828e
and word [ebp + 0x7e0], 0
jmp 0x10082ae
lea eax, [ebp + 0x5d4]
push eax
push 0x105
lea eax, [ebp + 0x7e0]
push eax
call fcn.0100434b
test eax, eax
jl 0x1008363
push 0x104
lea eax, [ebp - 0x44]
push eax
push 0x11f8
push dword [0x1017260]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp + 0x3cc]
push eax
push 0x11f9
push dword [0x1017260]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0x1c4]
push 0x104
push eax
call fcn.01004e56
add esp, 0x10
push 0x24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x1008363
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x105
call fcn.01006038
test eax, eax
jl 0x1008363
and word [ebp + 0x82c], 0
lea eax, [ebp + 0x7e0]
push eax
push 0x105
lea eax, [ebp + 0x5d4]
push eax
call fcn.0100434b
test eax, eax
jge 0x1008367
xor eax, eax
jmp 0x10083b9
lea eax, [ebp + 0x9ec]
push eax
lea eax, [ebp + 0x5d4]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0x9ec]
push edx
push eax
call dword [ecx + 0x18]
push 0xfa7
push dword [esi]
call edi
push 0
push dword [ebp + 0xa08]
mov esi, eax
push 0x1008
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x9fc]
pop esi
call fcn.010120eb
add ebp, 0xa00
leave
ret 4
Function at 0x10092a0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1013991
call fcn.010136d0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
je 0x10092c5
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
jmp 0x10093d7
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.01008f7e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.01013552
cmp dword [esi + 0x2c], ebx
jne 0x10093ae
push 0x10019c4
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x100937a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10019e0
push eax
call edi
push 0x10019f4
push dword [esi + 0x30]
mov dword [esi + 0x34], eax
call edi
push 0x1001a08
push dword [esi + 0x30]
mov dword [esi + 0x38], eax
call edi
push 0x1001a18
push dword [esi + 0x30]
mov dword [esi + 0x3c], eax
call edi
push 0x1001a28
push dword [esi + 0x30]
mov dword [esi + 0x40], eax
call edi
push 0x1001a40
push dword [esi + 0x30]
mov dword [esi + 0x44], eax
call edi
push 0x1001a54
push dword [esi + 0x30]
mov dword [esi + 0x48], eax
call edi
push 0x1001a68
push dword [esi + 0x30]
mov dword [esi + 0x4c], eax
call edi
push 0x1001a80
push dword [esi + 0x30]
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x10093a2
cmp dword [esi + 0x38], ebx
je 0x1009394
cmp dword [esi + 0x4c], ebx
je 0x1009394
cmp dword [esi + 0x3c], ebx
je 0x1009394
xor edi, edi
jmp 0x10093a5
cmp eax, ebx
je 0x10093a2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], ebx
xor edi, edi
inc edi
mov dword [esi + 0x2c], 1
jmp 0x10093b8
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x10093c8
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.01013567
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01008f9a
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10093e5
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1013991
call fcn.010136d0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x100940a
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
jmp 0x100950e
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.01008f7e
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.01013552
cmp dword [esi + 0x58], ebx
jne 0x10094e5
push 0x1001a98
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x10094a2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ab0
push eax
call edi
push 0x1001ac0
push dword [esi + 0x5c]
mov dword [esi + 0x60], eax
call edi
push 0x1001ad0
push dword [esi + 0x5c]
mov dword [esi + 0x64], eax
call edi
push 0x1001ae0
push dword [esi + 0x5c]
mov dword [esi + 0x68], eax
call edi
push 0x1001af4
push dword [esi + 0x5c]
mov dword [esi + 0x6c], eax
call edi
push 0x1001b0c
push dword [esi + 0x5c]
mov dword [esi + 0x70], eax
call edi
push 0x1001b24
push dword [esi + 0x5c]
mov dword [esi + 0x74], eax
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x10094d9
cmp dword [esi + 0x60], ebx
je 0x10094cb
cmp dword [esi + 0x68], ebx
je 0x10094cb
cmp dword [esi + 0x6c], ebx
je 0x10094cb
cmp dword [esi + 0x70], ebx
je 0x10094cb
cmp dword [esi + 0x74], ebx
je 0x10094cb
cmp dword [esi + 0x78], ebx
je 0x10094cb
xor edi, edi
jmp 0x10094dc
cmp eax, ebx
je 0x10094d9
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x5c], ebx
xor edi, edi
inc edi
mov dword [esi + 0x58], 1
jmp 0x10094ef
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x10094ff
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.01013567
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01008f9a
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret