joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040595a
and dword [ebp - 4], 0
cmp dword [0x4112c0], 0
mov ebx, eax
jne 0x406b24
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406bd5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406bd5
push eax
call fcn.004058e8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4112c0], eax
call esi
push eax
call fcn.004058e8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4112c4], eax
call esi
push eax
call fcn.004058e8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4112c8], eax
call esi
push eax
call fcn.004058e8
pop ecx
mov dword [0x4112d0], eax
test eax, eax
je 0x406b24
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004058e8
pop ecx
mov dword [0x4112cc], eax
mov eax, dword [0x4112cc]
cmp eax, ebx
je 0x406b7c
cmp dword [0x4112d0], ebx
je 0x406b7c
push eax
call fcn.00405963
push dword [0x4112d0]
mov esi, eax
call fcn.00405963
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406b7c
test edi, edi
je 0x406b7c
call esi
test eax, eax
je 0x406b73
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406b73
test byte [ebp - 0xc], 1
jne 0x406b7c
or dword [ebp + 0x10], 0x200000
jmp 0x406bb5
mov eax, dword [0x4112c4]
cmp eax, ebx
je 0x406bb5
push eax
call fcn.00405963
pop ecx
test eax, eax
je 0x406bb5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406bb5
mov eax, dword [0x4112c8]
cmp eax, ebx
je 0x406bb5
push eax
call fcn.00405963
pop ecx
test eax, eax
je 0x406bb5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4112c0]
call fcn.00405963
pop ecx
test eax, eax
je 0x406bd5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406bd7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4088de
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4109f8]
jne 0x4088e8
repz ret
jmp fcn.0040b705

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x5f297798
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x11a65a7a
nop
nop
nop
nop
test eax, eax
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
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4013a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
lea ebx, [eax + edi + 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x401451
cmp dword [ebx + 4], 0x28
jb 0x401451
lea esi, [eax + edi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401451
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x401451
lea edx, [edx + ecx*4]
mov ecx, dword [ebx + 4]
add ecx, eax
cmp ecx, edx
jb 0x401451
mov eax, dword [esi + 0x20]
and dword [ebp + 8], 0
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
add eax, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x401451
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
ja 0x401446
mov eax, dword [eax]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [0x4620302c]
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
add edx, dword [ebx + 4]
lea eax, [eax + ecx + 1]
cmp eax, edx
ja 0x401446
push dword [ebp + 0xc]
lea eax, [ecx + edi]
push eax
call dword [0x46203028]
test eax, eax
je 0x401458
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x401408
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x14], ecx
jbe 0x401451
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx]
cmp esi, eax
jb 0x401451
lea edx, [esi + ecx*4 + 4]
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, edx
jb 0x401451
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x401453

Function at 0x402320
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x402351
cmp bl, 0xd7
je 0x402351
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x402379
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x402343
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.0040239e
cmp bl, 0xd8
jne 0x402379
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x402379
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x402370
pop esi
pop ebx
ret

Function at 0x401dc2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x403038]
test eax, eax
je 0x401e01
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401e01
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401e01
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401e01
cmp dword [ecx + 0x74], 0xe
jbe 0x401e01
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
nop
mov ecx, 0x2fd370e1
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x510a4aeb
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40171f
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0xaca
jge 0x40173a
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be4d9
jg 0x401754
inc edi
cmp edi, 0x332fe31
jl 0x40172b
cmp dword [0x209677c], 0x400
jne 0x40178c
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
call fcn.004024b1
call fcn.00401fe1
push esi
call fcn.0040278f
pop ecx
pop ecx
xor edi, edi
cmp edi, 0x16c76
jge 0x40179e
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x4017c4
inc edi
cmp edi, 0x3003f
jl 0x40178e
mov eax, dword [0x4499c4]
mov dword [0x209677c], eax
call fcn.00401484
mov edi, 0x3078f
cmp dword [0x209677c], 0x51f
jne 0x4017f0
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
dec edi
jne 0x4017d8
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x404da4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f398]
jne 0x404dae
repz ret
jmp fcn.00406252
Function at 0x404f19
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004042cb
and dword [ebp - 0x14], 0
cmp dword [0x4545e8], 0
mov dword [ebp - 0x18], eax
jne 0x404fcc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405074
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405074
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4545e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4545ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4545f0], eax
call edi
push eax
call esi
mov dword [0x4545f8], eax
test eax, eax
je 0x404fcc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4545f4], eax
mov eax, dword [0x4545f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405025
cmp dword [0x4545f8], ecx
je 0x405025
push eax
call esi
push dword [0x4545f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405025
test ebx, ebx
je 0x405025
call edi
test eax, eax
je 0x40501c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40501c
test byte [ebp - 8], 1
jne 0x405025
or dword [ebp + 0x10], 0x200000
jmp 0x405058
mov eax, dword [0x4545ec]
cmp eax, dword [ebp - 0x18]
je 0x405058
push eax
call esi
test eax, eax
je 0x405058
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405058
mov eax, dword [0x4545f0]
cmp eax, dword [ebp - 0x18]
je 0x405058
push eax
call esi
test eax, eax
je 0x405058
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4545e8]
call esi
test eax, eax
je 0x405074
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405076
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404da4
leave
ret
Function at 0x40493e
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42fff1
call fcn.0042fda0
sub esp, 0x658
lea eax, [ebp - 0x24c]
push ebx
push esi
push edi
mov esi, ecx
push str.INST.WXF
lea edi, [esi + 0x216]
push edi
push 0x43adbc
push eax
call fcn.004029e8
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
push 0x14
lea eax, [ebp - 0x40]
push eax
push 0x43ad64
push 0x43c744
push 0x43c74c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x40]
push str.WXF7
push eax
call fcn.0041f7c7
pop ecx
pop ecx
test eax, eax
jne 0x404a69
xor ebx, ebx
cmp dword [esi + 0xc48], ebx
je 0x4049c3
push str.132___Retour
mov ecx, esi
call fcn.004032d3
mov ecx, edi
call fcn.0040be0b
push edi
lea eax, [ebp - 0x664]
push str.__sWDSETUP7.EXE_
push eax
call fcn.004029e8
push edi
lea eax, [ebp - 0x458]
push str._REP_s
push eax
call fcn.004029e8
add esp, 0x14
lea edx, [ebp - 0x458]
lea ecx, [ebp - 0x664]
push edi
call fcn.004124bc
pop ecx
pop ecx
test eax, eax
jne 0x404a7a
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [esi + 0xc48], ebx
je 0x404a60
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push str.Impossible_de_lancer_lapplication_de_contr
push eax
call fcn.00402a02
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040ef3e
push eax
mov ecx, esi
call fcn.004032d3
lea ecx, [ebp - 0x14]
call fcn.0040eeb5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x404a6b
Function at 0x405947
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x42fefd
call fcn.0042fda0
sub esp, 0x424
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, ecx
push edi
mov dword [ebp - 0x18], eax
lea edi, [eax + 0x420]
push edi
push 0x104
lea ecx, [eax + 0x216]
push ecx
push 0x43ad64
lea ebx, [eax + 0x834]
mov dword [ebp - 0x14], ecx
push 0x43c250
push ebx
call esi
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0x43ad64
push 0x43c260
push ebx
call esi
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x14]
call fcn.0041f738
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040be0b
push edi
push 0x104
lea eax, [ebp - 0x430]
mov edi, str.WDUPDATE.NET
push eax
push edi
push str.FICUPDATE
push ebx
call esi
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x216]
lea esi, [eax + 0x62a]
push ebx
push esi
call fcn.0041f716
lea eax, [ebp - 0x430]
push eax
push esi
call fcn.0041f738
add esp, 0x10
mov ecx, esi
call fcn.0040bc4c
test eax, eax
jne 0x405a50
push edi
push ebx
lea eax, [ebp - 0x10]
push 0x43adbc
push eax
call fcn.00402a02
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ef3e
mov ecx, eax
call fcn.0040bc4c
test eax, eax
je 0x405a48
lea ecx, [ebp - 0x10]
call fcn.0040ef3e
push eax
push esi
call fcn.0041f716
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0040eeb5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405d25
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ecx + 0x11b9], 0
push ebx
push esi
push edi
jne 0x405dbc
lea esi, [ecx + 0x420]
push esi
push 0
lea edi, [ecx + 0x834]
push str.DELAICHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
push 9
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
push 0x43ad64
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x30]
call fcn.004061ed
test ebx, ebx
jle 0x405dbc
cmp word [ebp - 0x1c], 0
je 0x405dbc
and dword [ebp - 4], 0
lea edx, [ebp - 4]
lea ecx, [ebp - 0x30]
call fcn.0040621c
and dword [ebp - 8], 0
lea edx, [ebp - 8]
lea ecx, [ebp - 0x1c]
call fcn.0040621c
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
cmp eax, ebx
jl 0x405dc4
push esi
lea eax, [ebp - 0x30]
push eax
push str.LASTCHECKVERSION
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x405dbf
Function at 0x416a57
Capabilities:
Get common file path

Disassembly:
mov eax, 0x430639
call fcn.0042fda0
sub esp, 0x664
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x25c], esi
movlpd qword [ebp - 0x38], xmm0
call fcn.0040df0a
mov dword [ebp - 4], esi
mov eax, ecx
push dword [edi + 0x646]
push dword [edi + 0x642]
push ecx
push 0x83
push eax
mov ecx, edi
call fcn.00417543
test eax, eax
je 0x416c6c
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x64a], esi
jle 0x416c6c
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x416b2d
mov eax, dword [ebp - 0x2c]
add eax, ebx
push 0x418
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.00419500
lea eax, [ebp - 0x466]
push 0x43fc8c
push eax
call fcn.0041f7c7
add esp, 0x14
test eax, eax
jne 0x416b03
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x416b16
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x18]
add eax, 0x418
add ebx, eax
adc dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x64a]
jl 0x416ac8
test ecx, ecx
je 0x416c6c
lea ecx, [ebp - 0x44]
call fcn.0040df0a
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov eax, ecx
push eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x25c]
add eax, 0x418
add eax, ebx
push eax
call fcn.00416c99
test eax, eax
je 0x416c62
lea ecx, [edi + 0x12dc]
call fcn.0040ef3e
push esi
lea edx, [ebp - 0x258]
mov ecx, eax
call fcn.00402d88
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
mov ebx, 0x43adbc
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040f518
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00411e57
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040ef3e
push eax
lea ecx, [ebp - 0x24]
call fcn.00411f01
test eax, eax
jne 0x416c1d
lea eax, [ebp - 0x258]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040f518
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
push 0x10000000
push 2
push esi
push 0x40000000
call fcn.0040ef3e
push eax
lea ecx, [ebp - 0x24]
call fcn.00411f01
test eax, eax
je 0x416c52
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call fcn.00411f8a
test eax, eax
je 0x416c52
lea ecx, [ebp - 0x24]
call fcn.00411f39
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
inc ebx
push eax
mov dword [edi + 0x12f8], ebx
call fcn.0040f1a1
mov esi, ebx
lea ecx, [ebp - 0x24]
call fcn.00411e68
lea ecx, [ebp - 0x10]
call fcn.0040eeb5
lea ecx, [ebp - 0x44]
call fcn.0040df1b
jmp 0x416c7e
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x222]
push eax
call fcn.0040f1b9
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.0040df1b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x107ba210
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.107ba360
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x107ba236
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107ba222
add dl, dl
jne 0x107ba241
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107ba294
xor eax, eax
add dl, dl
jne 0x107ba24e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107ba335
add dl, dl
jne 0x107ba25d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107ba268
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107ba273
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107ba27e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107ba28a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x107ba22d
mov eax, 1
add dl, dl
jne 0x107ba2a2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107ba2ad
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107ba299
sub eax, ebx
mov ebx, 1
jne 0x107ba2e0
mov ecx, 1
add dl, dl
jne 0x107ba2c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107ba2d1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107ba2bd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107ba22d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x107ba2f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107ba302
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107ba2ee
cmp eax, 0x7d00
jae 0x107ba325
cmp eax, 0x500
jb 0x107ba320
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107ba22d
cmp eax, 0x7f
ja 0x107ba328
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107ba22d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x107ba356
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 0x107ba22d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000fe09
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e410
push 0x1001e408
push str.FlsAlloc
push 0x1e
call fcn.1000fcd3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000fe3d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b12c]
call esi
jmp 0x1000fe43
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000fe87
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e420
push 0x1001e418
push str.FlsGetValue
push 0x20
call fcn.1000fcd3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000febe
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b12c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10012c9e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10012b0f

Function at 0x10013098
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10005480
mov eax, dword [0x10028014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1000ed90
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100130da
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10013236
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1001a5e0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100297e8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1001408f
mov ecx, dword [esi*4 + 0x100297e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1001322f
cmp eax, dword [edi + ecx + 0x24]
jne 0x1001322f
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001322f
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001408f
add esp, 0x14
test edx, edx
jl 0x1001322f
jg 0x100131a5
test eax, eax
jb 0x1001322f
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1001322f
jl 0x100131bf
cmp dword [ebp - 0x1008], eax
ja 0x1001322f
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100131dd
test ebx, ebx
je 0x10013216
cmp ecx, edi
jae 0x10013216
mov al, byte [ecx]
cmp al, 0xd
jne 0x100131f7
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10013203
cmp byte [ecx + 1], 0xa
jne 0x10013203
inc ecx
jmp 0x10013203
movzx eax, al
movsx eax, byte [eax + 0x10028290]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100131dd
cmp edx, ebx
jne 0x100131dd
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10013234
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100045fc
leave
ret