joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5db957
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5dba46
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5dba46
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5db9f2
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5dba46
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x1249f988]
pop edi
pop ecx
test eax, eax
jne 0x5db9ab
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5db9f8
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5dba46
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5dba46
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5dba46
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5dba46
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005db8a0
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x5e2597
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e25b2
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a77d7]
pop edx
test eax, eax
je 0x5e2684
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e2673
test dword [ebp - 0x2a8], 1
jne 0x5e2673
and dword [ebp - 0x2a8], 0x100
jne 0x5e2673
push esi
push edx
push 4
push esi
call dword [edx + 0x122d37c2]
pop edx
pop esi
test eax, eax
je 0x5e2616
jmp 0x5e2673
cmp word [esi], 0x5a4d
jne 0x5e2673
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e2673
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3a0e]
pop edx
test eax, eax
je 0x5e2673
lea eax, [ebp - 0x28c]
push eax
call fcn.005e24f3
test eax, eax
jne 0x5e266c
jmp 0x5e2673
mov eax, esi
jmp 0x5e2684
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e25b2
pop esi
leave
ret 4
Function at 0xdc6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xdc61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xdc607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdc606a
add dl, dl
jne 0xdc6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdc60dc
xor eax, eax
add dl, dl
jne 0xdc6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xdc617d
add dl, dl
jne 0xdc60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xdc60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xdc6075
mov eax, 1
add dl, dl
jne 0xdc60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xdc60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdc60e1
sub eax, ebx
mov ebx, 1
jne 0xdc6128
mov ecx, 1
add dl, dl
jne 0xdc610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdc6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdc6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdc6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xdc613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xdc614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xdc6136
cmp eax, 0x7d00
jae 0xdc616d
cmp eax, 0x500
jb 0xdc6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdc6075
cmp eax, 0x7f
ja 0xdc6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdc6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xdc619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xdc6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1002fa10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x100cc66c
lea ecx, [ebp - 0x200]
push ecx
call fcn.1009fb30
add esp, 8
push 0
lea edx, [ebp - 0x200]
push edx
call fcn.1009fe31
add esp, 8
test eax, eax
je 0x1002fa59
jmp 0x1002faeb
push 0xffffffffffffffff
call fcn.10026b00
add esp, 4
push 0x100d50bc
call fcn.10016970
add esp, 4
xor eax, eax
mov al, byte [0x100d50ac]
and eax, 1
test eax, eax
jne 0x1002faa8
mov cl, byte [0x100d50ac]
or cl, 1
mov byte [0x100d50ac], cl
push 0
push 0
mov ecx, 0x100d4fd0
call fcn.1002fcab
push 0x1002faef
call fcn.1009e692
add esp, 4
cmp dword [0x100d4fec], 0
je 0x1002fabb
mov ecx, 0x100d4fd0
call fcn.100b1a1c
push 0
push 0x4268
mov ecx, 0x100d4fd0
call fcn.10032140
push 0
push 0x80000
push 0
mov ecx, 0x100d4fd0
call fcn.100b09ea
push 5
mov ecx, 0x100d4fd0
call fcn.100b0b1c
mov esp, ebp
pop ebp
ret

Function at 0x1002fafe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb0ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x904
lea eax, [ebp - 0x210]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x100cc67c
lea ecx, [ebp - 0x210]
push ecx
call fcn.1009fb30
add esp, 8
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.1009fe31
add esp, 8
test eax, eax
je 0x1002fb5e
xor eax, eax
jmp 0x1002fc9d
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call dword [sym.imp.USER32.dll_GetTopWindow]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x624], 0
mov ecx, 1
test ecx, ecx
je 0x1002fc2a
push 2
mov edx, dword [ebp - 0x10]
push edx
call fcn.10031e70
add esp, 8
mov dword [ebp - 0x10], eax
push 0x104
lea eax, [ebp - 0x620]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.USER32.dll_GetWindowModuleFileNameA
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.100a0020
add esp, 8
test eax, eax
jne 0x1002fc25
push 0x208
lea ecx, [ebp - 0x908]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.AfxFrameOrView42sd
lea eax, [ebp - 0x908]
push eax
call fcn.100a0020
add esp, 8
test eax, eax
je 0x1002fc1a
push str.AfxFrameOrView42s
lea ecx, [ebp - 0x908]
push ecx
call fcn.100a0020
add esp, 8
test eax, eax
jne 0x1002fc25
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x624], edx
jmp 0x1002fc2a
jmp 0x1002fb87
cmp dword [ebp - 0x624], 0
je 0x1002fc47
mov eax, dword [ebp - 0x624]
push eax
call fcn.100b11d0
mov dword [ebp - 0x910], eax
jmp 0x1002fc51
mov dword [ebp - 0x910], 0
mov ecx, dword [ebp - 0x910]
push ecx
push 1
lea ecx, [ebp - 0x700]
call fcn.1002fcab
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x700]
call fcn.100b0528
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x90c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x700]
call fcn.10031df0
mov eax, dword [ebp - 0x90c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100351d6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 0x100d54f0
push 0x100d50cc
call fcn.1009fb20
add esp, 8
xor eax, eax
mov al, byte [0x100d50c8]
and eax, 1
test eax, eax
jne 0x10035225
mov cl, byte [0x100d50c8]
or cl, 1
mov byte [0x100d50c8], cl
mov ecx, 0x100d50c4
call fcn.10016850
push 0x1003539d
call fcn.1009e692
add esp, 4
mov ecx, 0x100d50c4
call fcn.10035430
test eax, eax
je 0x10035253
lea edx, [ebp - 0x104]
push edx
call fcn.10034df5
add esp, 4
lea eax, [ebp - 0x104]
push eax
mov ecx, 0x100d50c4
call fcn.100af066
mov ecx, dword [ebp + 0xc]
push ecx
push 0x100d50c4
lea edx, [ebp - 4]
push edx
call fcn.100af10c
push 0
lea ecx, [ebp - 4]
call fcn.1002ad80
push eax
call fcn.1009fe31
add esp, 8
cmp eax, 0xffffffff
jne 0x1003530d
xor eax, eax
mov al, byte [0x100d50c8]
and eax, 2
test eax, eax
jne 0x100352a8
mov cl, byte [0x100d50c8]
or cl, 2
mov byte [0x100d50c8], cl
call fcn.10034ec9
mov dword [0x100d50c0], eax
lea ecx, [ebp - 0x108]
call fcn.10016850
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x100d54d0
call fcn.10035550
test eax, eax
je 0x100352e5
lea ecx, [ebp - 0x108]
call fcn.1002ad80
push eax
push 0x100d50cc
call fcn.1009fb20
add esp, 8
mov dword [ebp - 0x110], 0x100d50cc
lea ecx, [ebp - 0x108]
call fcn.100aeedd
lea ecx, [ebp - 4]
call fcn.100aeedd
mov eax, dword [ebp - 0x110]
jmp 0x10035399
lea ecx, [ebp - 4]
call fcn.1002ad80
push eax
push 0x400
push 0x100d50cc
push 0x100d54f4
mov ecx, dword [ebp + 8]
push ecx
push str.String
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10035381
push 0x100d50cc
lea ecx, [ebp - 0x10c]
call fcn.100aef4b
push 0x100cd364
push 0x100cd368
lea ecx, [ebp - 0x10c]
call fcn.100add8e
lea ecx, [ebp - 0x10c]
call fcn.1002ad80
push eax
push 0x100d50cc
call fcn.1009fb20
add esp, 8
lea ecx, [ebp - 0x10c]
call fcn.100aeedd
mov dword [ebp - 0x114], 0x100d50cc
lea ecx, [ebp - 4]
call fcn.100aeedd
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret
Function at 0x10040c07
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb269
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
lea ecx, [ebp - 0x68]
call fcn.10016850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10016850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10016850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10016850
mov byte [ebp - 4], 3
push 0x50
lea eax, [ebp - 0x60]
push eax
push 0xa
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.10093030
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x68]
call fcn.100af066
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x68]
call fcn.100adef1
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.100af016
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.100aeedd
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x64]
call fcn.100af016
push 0x100cd3f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.100af10c
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x10]
call fcn.100af016
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.100aeedd
lea ecx, [ebp - 0x10]
call fcn.1002ad80
push eax
push 0
push str.DestInterrupt
push str.CFG_DEVICE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.100aeedd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.100aeedd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.100aeedd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100aeedd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10040d70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb2ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
lea ecx, [ebp - 0x68]
call fcn.10016850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10016850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.10016850
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10016850
mov byte [ebp - 4], 3
push 0x50
lea eax, [ebp - 0x60]
push eax
push 0xa
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.10093030
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x68]
call fcn.100af066
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x68]
call fcn.100adef1
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.100af016
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.100aeedd
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x64]
call fcn.100af016
push 0x100cd418
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.100af10c
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x10]
call fcn.100af016
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.100aeedd
lea ecx, [ebp - 0x10]
call fcn.1002ad80
push eax
push 0
push 0x100cd424
push 0x100cd430
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.100aeedd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.100aeedd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.100aeedd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100aeedd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10041277
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x101a2668], 0
je 0x10041293
mov eax, dword [0x101a2664]
jmp 0x100413bc
mov dword [0x101a2668], 1
lea eax, [ebp - 0x11c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x100413b7
mov dword [ebp - 4], 0x104
mov dword [ebp - 0x118], 7
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
push str.ExcludeFromKnownDlls
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x100413aa
mov edx, dword [str.LPK.DLL]
mov dword [ebp - 0x128], edx
mov eax, dword [0x100cd4c0]
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x12c], eax
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x12c], eax
jl 0x1004138f
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp - 0x12c]
sub edx, eax
lea eax, [ebp + edx - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1004138f
mov dword [0x101a2664], 1
movsx ecx, byte [ebp - 0x10c]
test ecx, ecx
je 0x100413aa
cmp dword [ebp - 0x12c], 1
jle 0x100413aa
mov eax, 1
jmp 0x100413bc
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x101a2664]
mov esp, ebp
pop ebp
ret

Function at 0x10041ec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov dword [ebp - 0x108], 0x104
push 0x100cd560
lea eax, [ebp - 0x104]
push eax
call fcn.1009fb20
add esp, 8
push 0x100cd56c
lea ecx, [ebp - 0x414]
push ecx
call fcn.1009fb20
add esp, 8
push 0x100cd578
lea edx, [ebp - 0x518]
push edx
call fcn.1009fb20
add esp, 8
push 0x100cd590
lea eax, [ebp - 0x20c]
push eax
call fcn.1009fb20
add esp, 8
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x518]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x310]
push ecx
call fcn.100a0451
add esp, 4
mov edx, dword [ebp + 8]
fstp dword [edx]
push 0x100cd598
lea eax, [ebp - 0x518]
push eax
call fcn.1009fb20
add esp, 8
push str.0.85
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1009fb20
add esp, 8
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp - 0x108]
push eax
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x310]
push edx
call fcn.100a0451
add esp, 4
mov eax, dword [ebp + 0xc]
fstp dword [eax]
mov esp, ebp
pop ebp
ret
Function at 0x100745e5
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x10a98ec0], 0
jg 0x10074632
call fcn.10062a3f
cmp dword [0x10a98ec0], 0
jg 0x10074632
mov eax, 1
test eax, eax
je 0x1007461a
mov dword [ebp - 0x204], 0
jmp 0x1007462d
push 0x100cde24
call fcn.1002d6b0
add esp, 4
mov dword [ebp - 0x204], eax
jmp 0x100746fc
push 0x100
push 0
lea ecx, [ebp - 0x100]
push ecx
call fcn.1009ecd0
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x200]
push edx
call fcn.1009ecd0
add esp, 0xc
mov eax, dword [0x10a98ec0]
push eax
push sym.PmsrwDataZ_V6.dll_SBJNM
lea ecx, [ebp - 0x100]
push ecx
call fcn.100a04b0
add esp, 0xc
push 0x100cde38
lea edx, [ebp - 0x100]
push edx
call fcn.1009fb30
add esp, 8
mov eax, dword [0x10a98ec0]
push eax
push sym.PmsrwDataZ_V6.dll_SBJNM
lea ecx, [ebp - 0x200]
push ecx
call fcn.100a04b0
add esp, 0xc
push 0x100cde40
lea edx, [ebp - 0x200]
push edx
call fcn.1009fb30
add esp, 8
push 0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x200]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x100746fc
mov edx, 1
test edx, edx
je 0x100746e9
mov dword [ebp - 0x208], 0
jmp 0x100746fc
push 0x100cde48
call fcn.1002d6b0
add esp, 4
mov dword [ebp - 0x208], eax
mov esp, ebp
pop ebp
ret

Function at 0x10074700
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [0x10a98ec0], 0
jg 0x1007474d
call fcn.10062a3f
cmp dword [0x10a98ec0], 0
jg 0x1007474d
mov eax, 1
test eax, eax
je 0x10074735
mov dword [ebp - 0x204], 0
jmp 0x10074748
push 0x100cde58
call fcn.1002d6b0
add esp, 4
mov dword [ebp - 0x204], eax
jmp 0x10074817
push 0x100
push 0
lea ecx, [ebp - 0x100]
push ecx
call fcn.1009ecd0
add esp, 0xc
push 0x100
push 0
lea edx, [ebp - 0x200]
push edx
call fcn.1009ecd0
add esp, 0xc
mov eax, dword [0x10a98ec0]
push eax
push sym.PmsrwDataZ_V6.dll_SBJNM
lea ecx, [ebp - 0x100]
push ecx
call fcn.100a04b0
add esp, 0xc
push 0x100cde6c
lea edx, [ebp - 0x100]
push edx
call fcn.1009fb30
add esp, 8
mov eax, dword [0x10a98ec0]
push eax
push sym.PmsrwDataZ_V6.dll_SBJNM
lea ecx, [ebp - 0x200]
push ecx
call fcn.100a04b0
add esp, 0xc
push 0x100cde74
lea edx, [ebp - 0x200]
push edx
call fcn.1009fb30
add esp, 8
push 0
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x10074817
mov edx, 1
test edx, edx
je 0x10074804
mov dword [ebp - 0x208], 0
jmp 0x10074817
push 0x100cde7c
call fcn.1002d6b0
add esp, 4
mov dword [ebp - 0x208], eax
mov esp, ebp
pop ebp
ret
Function at 0x100980a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x100980e6
call fcn.100b81d8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100980e6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100980fd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x100980fd
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x1009fe31
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1009fe51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100a29c1
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x1009fe74
test byte [esp + 8], 2
je 0x1009fe74
call fcn.100a2a34
mov dword [eax], 0xd
call fcn.100a2a3d
mov dword [eax], 5
jmp 0x1009fe4d
xor eax, eax
ret

Function at 0x100b01a7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x100b01c9
cmp dword [edi + 0x3c], 0
jne 0x100b01c9
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.100b81d8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.100b01f6
pop edi
pop esi
pop ebx
ret 8

Function at 0x100b30a0
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 0x100b30e2
call fcn.100b81d8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100b30e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100b30d9
xor eax, eax
jmp 0x100b30ea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100b30f0
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x58064cea
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x39a02b7e
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219