joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f7d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10095ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.DLL_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.1008dc5d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.1004f170
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1008db8b
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.1008a432
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.1008a432
push 1
push 0
push 0
mov ecx, esi
call fcn.1008a3da
push 1
push 0
push 1
mov ecx, esi
call fcn.1008a3da
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1008dccf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x1004f950
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10095f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1008dc5d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.1004f170
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1008db8b
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x1004fa14
cmp dword [esp + 0x40], 1
jne 0x1004fa12
cmp ecx, eax
jge 0x1004fa14
mov eax, ecx
cmp eax, 0xc8
jge 0x1004fa20
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.1004f7d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.DLL_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1008dccf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x100501a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10095f83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.10088853
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x100a3a48
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x100a2008
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1008df05
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1008f55b
test eax, eax
je 0x100502bc
mov ecx, dword [esp + 0x3c]
call fcn.1008df32
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.DLL_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10050280
push edi
mov ecx, esi
call fcn.1008b57e
mov ecx, esi
call fcn.10050420
cmp dword [esp + 0x38], 1
jne 0x100502b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1008b6b9
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10052cf0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10052d23
push esi
call fcn.10055de0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10052d1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10052da9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10052d92
mov eax, dword [esi + 8]
test eax, eax
je 0x10052d47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10052d8e
cmp eax, 2
je 0x10052d92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10052d3a
cmp eax, 3
je 0x10052d6d
cmp eax, 1
jne 0x10052d3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10052d3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10052d3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10052dd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10052db8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10052dd0
add esp, 4
pop esi
ret

Function at 0x10061610
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1010fde8]
xor edx, edx
cmp eax, edx
jne 0x10061636
xor eax, eax
mov byte [eax + 0x1010fce8], al
inc eax
cmp eax, 0x100
jl 0x1006161e
mov dword [0x1010fde8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1010fce8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100616c7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1006169a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10061668
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10061740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10061793
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1006177a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10068140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009641e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10068a60
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x100a2ae4
call fcn.10086fe5
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x100681d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10086fe5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x100681cc
push 0
mov ecx, eax
call fcn.1005f250
mov dword [esi + 0xc], eax
jmp 0x100681d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x100681d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x10089648
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10089680
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.100876ff
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.DLL_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100876d7
jmp 0x1008968c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1008ad36
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 0x1008ad78
call fcn.10090f0e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x1008ad78
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x1008ad6f
xor eax, eax
jmp 0x1008ad80
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1008ad86
pop edi
pop esi
pop ebx
ret 4
Function at 0x10145ce7
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.10145d66
jae 0x10145cf3
xor ecx, ecx
call fcn.10145d66
jae 0x10145d1d
xor eax, eax
call fcn.10145d66
jae 0x10145d2e
mov al, 0x10
call fcn.10145d66
adc al, al
jae 0x10145d0f
jne 0x10145d5b
stosb byte es:[edi], al
jmp 0x10145cf4
call fcn.10145d72
dec ecx
loop 0x10145d3a
mov eax, ebp
call fcn.10145d70
jmp 0x10145d5c
lodsb al, byte [esi]
shr eax, 1
je 0x10145d82
adc ecx, 2
mov ebp, eax
jmp 0x10145d5c
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.10145d70
cmp eax, 0x7d00
jae 0x10145d5a
cmp eax, 0x500
jae 0x10145d5b
cmp eax, 0x7f
ja 0x10145d5c
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10145cf4
pop ebp
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403e53
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x218
mov eax, 0x41b464
call fcn.0041a667
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x5e4], edi
jne 0x403e78
xor eax, eax
call fcn.0041a6ea
ret
mov eax, dword [0x42a870]
mov ecx, 0x42a870
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push ecx
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, esp
mov dword [ebp - 0x224], esp
push ecx
mov ecx, dword [eax + 0x5e4]
call fcn.00404581
lea ecx, [ebp - 0x21c]
call fcn.0040f28c
lea eax, [ebp - 0x21c]
mov dword [esp], str..tlg
push eax
call fcn.00404636
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call fcn.00419d1a
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x218]
push eax
call dword [0x41d450]
push eax
call dword [0x41d410]
lea eax, [ebp - 0x218]
push eax
call dword [0x41d0d8]
cmp word [ebp + eax*2 - 0x21a], 0x5c
mov esi, dword [0x41d0dc]
je 0x403f26
push 0x421ff4
lea eax, [ebp - 0x218]
push eax
call esi
push 0x421ff8
lea eax, [ebp - 0x218]
push eax
call esi
mov ebx, dword [ebp - 0x21c]
cmp dword [ebx - 4], 1
jle 0x403f55
push dword [ebx - 0xc]
lea eax, [ebp - 0x21c]
push eax
call fcn.0040158f
mov ebx, dword [ebp - 0x21c]
push ebx
lea eax, [ebp - 0x218]
push eax
call esi
cmp ebx, edi
jne 0x403f67
xor eax, eax
jmp 0x403f6f
push ebx
call dword [0x41d36c]
pop ecx
lea edx, [ebp - 0x21c]
call fcn.0040149a
lea eax, [ebp - 0x218]
push eax
call dword [0x41d41c]
test eax, eax
jne 0x403f98
lea eax, [ebx - 0x10]
call fcn.00401677
jmp 0x403e70
lea eax, [ebp - 0x218]
push eax
mov edi, 0x42ad84
push edi
call fcn.00401448
lea eax, [ebp - 0x220]
push eax
call fcn.0040dd92
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x403fe5
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.00401677
lea eax, [ebx - 0x10]
call fcn.00401677
mov eax, esi
jmp 0x403e72
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040471e
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.004045dd
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.00401677
push dword [0x42ad84]
call dword [0x41d0e0]
push esi
push dword [0x42ad84]
lea eax, [ebp - 0x218]
push eax
call dword [0x41d0e4]
mov esi, eax
jmp 0x403fc8

Function at 0x405df1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x41b57f
call fcn.0041a5fe
and dword [ebp - 0x10], 0
mov eax, dword [0x42a870]
mov ecx, 0x42a870
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push dword [eax + 4]
call dword [0x41d444]
mov edi, eax
test edi, edi
je 0x405e62
push edi
call dword [0x41d4d8]
inc eax
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.00401472
push eax
push edi
call dword [0x41d4cc]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x405e52
xor eax, eax
jmp 0x405e5a
push esi
call dword [0x41d36c]
pop ecx
lea edx, [ebp - 0x10]
call fcn.0040149a
add esi, 0xfffffff0
mov eax, esi
call fcn.00404f93
add eax, 0x10
mov dword [ebx], eax
mov eax, esi
call fcn.00401677
mov eax, ebx
call fcn.0041a6d6
ret 8
Function at 0x406da1
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0x2f4
mov eax, 0x41bad2
call fcn.0041a667
mov ebx, ecx
push 0x3f2
push dword [ebx + 4]
call dword [0x41d444]
test eax, eax
mov dword [ebp - 0x2d0], eax
je 0x406fd6
push 0x406318
push 0xfffffffffffffffc
push eax
call dword [0x41d468]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x42ac8c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [0x41d408]
push 0x110
push 0x2b4
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.txt
call edi
push dword [ebp - 0x2cc]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.dmp
call edi
push dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0x80
push str.file.tlg
call edi
push dword [ebp - 0x2cc]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call esi
mov esi, dword [0x41d42c]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2fc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x300]
push eax
push 0
push 0x1061
push dword [ebp - 0x2d0]
mov dword [ebp - 0x300], 4
mov dword [ebp - 0x2f4], str.name
call esi
push dword [ebx + 0x1c]
push 0
push 0x1003
push dword [ebp - 0x2d0]
call esi
xor edi, edi
inc edi
lea eax, [ebp - 0x2dc]
push edi
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403952
and dword [ebp - 4], 0
push 0
push dword [ebp - 0x2d0]
mov ecx, eax
call fcn.004084fe
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2dc]
add eax, 0xfffffff0
call fcn.00401677
lea eax, [ebp - 0x2d8]
push 2
push eax
call fcn.004010c5
mov ebx, eax
call fcn.00403952
mov dword [ebp - 4], edi
push dword [ebp - 0x2d8]
mov esi, dword [0x41d41c]
call esi
test eax, eax
je 0x406f46
push 0
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d8]
call fcn.004084fe
lea eax, [ebp - 0x2d4]
push 0x20
push eax
call fcn.004010c5
call fcn.0040392d
mov byte [ebp - 4], 2
push dword [ebp - 0x2d4]
call esi
test eax, eax
je 0x406f7b
push edi
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2d4]
call fcn.004084fe
cmp dword [0x42acf8], 0
je 0x406fba
lea eax, [ebp - 0x2e0]
push 0x167
push eax
call fcn.004010c5
call fcn.0040392d
push edi
push dword [ebp - 0x2d0]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004084fe
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x2d4]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x2d8]
add eax, 0xfffffff0
call fcn.00401677
call fcn.0041a6ea
ret
Function at 0x407073
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0
push esi
push edi
mov eax, str.BR_DETAIL_SHOW
jne 0x40708e
mov eax, str.BR_DETAIL_HIDE
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040ea92
pop ecx
pop ecx
push dword [ebp - 8]
push 0x3f3
push dword [ebx + 4]
call dword [0x41d4c0]
push 0x3e8
mov eax, ebx
mov dword [ebp - 4], 0x62
call fcn.00407051
test eax, eax
mov esi, dword [0x41d43c]
mov edi, dword [0x41d444]
push 0x3eb
push dword [ebx + 4]
je 0x4070fb
call edi
push eax
push 0x62
call fcn.00406fdc
push 0x3ea
push dword [ebx + 4]
call edi
push eax
push 0x64
call fcn.00406fdc
mov dword [ebp - 4], 0x71
jmp 0x407111
call edi
push 0
push eax
call esi
push 0x3ea
push dword [ebx + 4]
call edi
push 0
push eax
call esi
push 0x3f1
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x40712c
push eax
push dword [ebp - 4]
call fcn.00406fdc
jmp 0x407131
push 0
push eax
call esi
add dword [ebp - 4], 0xb
push 0x41d
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x407150
push eax
push dword [ebp - 4]
call fcn.00406fdc
jmp 0x407155
push 0
push eax
call esi
add dword [ebp - 4], 0x32
push 0xffff
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x407174
push eax
push dword [ebp - 4]
call fcn.00406fdc
jmp 0x407179
push 0
push eax
call esi
add dword [ebp - 4], 5
push 0x3f3
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x407198
push eax
push dword [ebp - 4]
call fcn.00406fdc
jmp 0x40719d
push 0
push eax
call esi
push 1
push dword [ebx + 4]
call edi
cmp dword [ebp - 4], 0
jl 0x4071b5
push eax
push dword [ebp - 4]
call fcn.00406fdc
jmp 0x4071ba
push 0
push eax
call esi
add dword [ebp - 4], 0xe
cmp dword [ebx + 0x10], 0
push 0x3f2
push dword [ebx + 4]
je 0x4071ea
call edi
mov ecx, dword [ebp - 4]
add ecx, 5
js 0x4071df
push eax
push ecx
call fcn.00406fdc
jmp 0x4071e4
push 0
push eax
call esi
add dword [ebp - 4], 0x33
jmp 0x4071f1
call edi
push 0
push eax
call esi
and dword [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 4]
call dword [0x41d474]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [0x41d440]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 4]
call dword [0x41d470]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
push 0x16
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push esi
push esi
push esi
push dword [ebx + 4]
call dword [0x41d434]
push 1
push esi
push dword [ebx + 4]
call dword [0x41d478]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401677
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408001
Capabilities:
Hide graphical window

Disassembly:
push 0x10
mov eax, 0x41c37a
call fcn.0041a5fe
mov eax, dword [ebp + 8]
push 0
push dword [eax + 4]
call dword [0x41d43c]
mov eax, dword [0x42a870]
mov ecx, 0x42a870
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
call fcn.004010c5
mov eax, dword [eax]
push dword [eax + 0x1c]
lea eax, [ebp + 8]
push 0x4214f8
push eax
call fcn.004058b8
add esp, 0xc
push 0x37
lea esi, [ebp + 8]
call fcn.0040465d
cmp eax, 0xffffffff
mov edi, dword [ebp + 8]
je 0x4080f4
mov ecx, dword [edi - 0xc]
dec ecx
cmp eax, ecx
jne 0x4080f4
lea eax, [ebp - 0x18]
mov esi, 0x422208
push eax
mov ecx, esi
call fcn.00404581
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404581
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00404581
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.004062e1
push eax
call fcn.0040b0fa
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401677
lea eax, [ebp - 0x18]
push eax
call fcn.004010c5
call fcn.00401771
mov byte [ebp - 4], 4
mov ecx, str.BUserCancel
jmp 0x40810b
lea eax, [ebp - 0x18]
push eax
call fcn.004010c5
call fcn.00401771
mov byte [ebp - 4], 5
mov ecx, str.AUserCancel
push dword [eax]
call fcn.0040f679
mov eax, dword [ebp - 0x18]
pop ecx
add eax, 0xfffffff0
call fcn.00401677
lea eax, [edi - 0x10]
call fcn.00401677
call fcn.0041a6d6
ret 4
Function at 0x40a62f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
or dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi + 0x2c], bl
mov dword [esi + 0x3c], eax
jne 0x40a666
push str.GIF_not_initialized
push 0x421398
call fcn.004124b5
pop ecx
pop ecx
jmp 0x40a6ae
cmp dword [esi + 0x24], 1
jbe 0x40a6ae
cmp dword [esi + 0x14], ebx
jne 0x40a6ae
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x40a8b6
push ebx
push ebx
mov dword [ebp + 8], ebx
call dword [0x41d264]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x40a6a7
push str.Couldnt_start_a_GIF_animation_thread_n
push 0x421398
call fcn.004124b5
pop ecx
pop ecx
mov al, 1
jmp 0x40a6b0
push eax
call dword [0x41d16c]
xor al, al
pop ebx
pop ebp
ret 0xc