joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426cf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a3af4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
cmp dword [0x4a3af0], eax
jg 0x426d2f
mov ecx, dword [0x4a3af8]
cmp ecx, dword [0x4a3afc]
jl 0x426d2f
cmp dword [0x4a91f8], 1
jge 0x426d34
cmp eax, 0x64
jl 0x426dae
call fcn.0045c5cc
mov edx, dword [0x4a6948]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
push 0x4a4
fnstcw word [ebp - 0x206]
push edx
movzx eax, word [ebp - 0x206]
fmul qword [0x48c978]
or eax, 0xc00
mov dword [ebp - 0x20c], eax
fmul qword [0x48bd20]
fldcw word [ebp - 0x20c]
fistp qword [ebp - 0x210]
mov esi, dword [ebp - 0x210]
add esi, 0xa
fldcw word [ebp - 0x206]
imul esi, esi, 0x64
call edi
mov eax, dword [0x4a6948]
push 0
push esi
push 0x4a4
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x426f17
cmp byte [0x4a91f5], 0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
je 0x426e57
cmp dword [0x4a3b08], 0
jg 0x426e57
call fcn.0045c5cc
fnstcw word [ebp - 0x206]
mov dword [ebp - 0x20c], eax
fild dword [ebp - 0x20c]
movzx eax, word [ebp - 0x206]
or eax, 0xc00
mov dword [ebp - 0x20c], eax
fmul qword [0x48bd08]
mov byte [0x4a91f5], 0
fmul qword [0x48bd20]
fldcw word [ebp - 0x20c]
fistp qword [ebp - 0x210]
mov eax, dword [ebp - 0x210]
add eax, 2
cmp byte [0x4a91be], 0
fldcw word [ebp - 0x206]
mov dword [0x4a3b08], eax
jne 0x426ef9
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20c], esp
push str.Devil_In
mov byte [0x4a91be], 1
call fcn.00414af0
jmp 0x426ea6
cmp byte [0x4a91be], 0
mov eax, 2
mov byte [0x4a91f5], 0
mov dword [0x4a3b08], eax
jne 0x426ef9
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20c], esp
mov byte [0x4a91be], 1
push 8
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.Devil_In
mov byte [ecx], 0
call fcn.004141d0
mov ecx, dword [0x4a63f8]
call fcn.004018e0
push 0
push 1
push 0x31
call fcn.004095f0
mov ecx, dword [0x4a3af0]
mov edx, dword [0x4a3af4]
mov eax, dword [0x4a3afc]
push ecx
mov ecx, dword [0x4a3af8]
push edx
push eax
push ecx
lea edx, [ebp - 0x204]
push str.Devil_In:__d__d___d__d__n
push edx
call fcn.00409630
add esp, 0x24
lea eax, [ebp - 0x204]
push eax
call esi
mov eax, dword [0x4a3b08]
push eax
lea ecx, [ebp - 0x204]
push str.g_nPoseiOutCounter:__d_n
push ecx
call fcn.00409630
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call esi
mov eax, dword [0x4a6948]
push 0x49e
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x42be90
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x404]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.gm.dat
push 0x48bed8
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x204]
push str._s_s_s
push edx
call fcn.00409630
mov edx, dword [0x4a675c]
mov dword [0x4a6398], edx
mov edx, dword [0x4a674c]
mov dword [0x4a63a4], edx
mov edx, dword [0x4a6760]
mov dword [0x4a63a8], edx
mov edx, dword [0x4a6764]
mov dword [0x4a63ac], edx
mov edx, dword [0x4a6750]
mov dword [0x4a63b8], edx
mov edx, dword [0x4a6754]
mov dword [0x4a63bc], edx
mov edx, dword [0x4a6748]
mov dword [0x4a63c0], edx
mov edx, dword [0x4a6744]
mov dword [0x4a63c4], edx
mov edx, dword [0x4a6770]
mov dword [0x4a63c8], edx
mov edx, dword [0x4a6774]
mov dword [0x4a63cc], edx
mov edx, dword [0x4a6768]
mov dword [0x4a63b0], edx
mov edx, dword [0x4a676c]
mov dword [0x4a63b4], edx
mov edx, dword [0x4a3b20]
mov dword [0x4a639c], edx
mov edx, dword [0x4a3b24]
mov cx, word [0x4a3c28]
mov ax, word [0x4a9370]
mov dword [0x4a63a0], edx
mov edx, dword [0x4a930c]
mov dword [0x4a63d0], edx
movzx edx, byte [0x4a9322]
mov byte [0x4a63d4], dl
mov edx, dword [str.111111]
mov dword [0x4a63d5], edx
mov dx, word [0x4a3c34]
mov word [0x4a63d9], dx
movzx edx, byte [0x4a3bdb]
mov byte [0x4a63db], dl
mov edx, dword [0x4a67b0]
mov dword [0x4a63dc], edx
mov edx, dword [0x49c45c]
mov word [0x4a6392], cx
mov dword [0x4a63e0], edx
movzx edx, byte [0x4a3c2a]
mov word [0x4a6390], ax
mov eax, dword [0x4a3c2c]
movzx ecx, cx
add esp, 0x14
mov dword [0x4a6394], eax
mov byte [0x4a63e4], dl
mov dword [0x4a6504], ecx
cmp eax, 0x32
jle 0x42c020
mov dword [0x4a6508], eax
jmp 0x42c02d
mov edx, dword [eax*4 + 0x4a650c]
mov dword [0x4a6508], edx
fild dword [0x4a677c]
push esi
fdiv qword [0x47a5f8]
fstp dword [0x4a650c]
call fcn.004233d0
cmp byte [ebp + 8], 0
je 0x42c092
lea eax, [ebp - 0x204]
push 0x48eb90
push eax
call fcn.0045cbc7
mov esi, eax
add esp, 8
test esi, esi
je 0x42c0c4
push esi
push 1
push 0x58
push 0x4a6390
call fcn.0045d432
push esi
call fcn.0045c777
push esi
call fcn.0045ca7a
add esp, 0x18
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x204]
push 0x48c130
push ecx
call fcn.0045cbc7
mov esi, eax
add esp, 8
test esi, esi
je 0x42c0c4
push esi
push 1
push 0x58
push 0x4a6390
call fcn.0045d432
push esi
call fcn.0045ca7a
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x42e190
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a3d04]
dec eax
mov dword [0x4a3d04], eax
test eax, eax
jle 0x42e240
cmp eax, 1
jg 0x42e3a2
push 1
push 1
push 0x3d
call fcn.004095f0
mov al, byte [0x4a3c2c]
mov byte [0x4a6387], al
mov cl, byte [0x4a3c28]
mov eax, 0x51eb851f
imul dword [0x4a677c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [0x4a6388], ax
mov eax, 0x51eb851f
imul dword [0x4a3b18]
mov byte [0x4a6386], cl
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
mov byte [0x4a6382], 0
mov word [0x4a6384], cx
call fcn.00423a30
mov edx, dword [0x4a675c]
mov dword [0x4a93f4], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a3d08]
sub dword [0x4a3b18], eax
jns 0x42e380
mov eax, dword [0x4a6948]
push esi
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x481
push eax
mov dword [0x4a3b18], 0
call esi
mov ecx, dword [0x4a3b18]
push ecx
push 0
call fcn.004117e0
push 0
push 0
push 0x3d
mov dword [0x4a6758], 0
call fcn.004095f0
mov edx, dword [0x4a6948]
add esp, 0x14
push 0x465
push edx
call esi
mov eax, dword [0x4a6948]
push 0
push 0x7d0
push 0x465
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x4a9bf8]
pop esi
cmp eax, dword [0x4a9bfc]
je 0x42e30b
cmp dword [eax + 4], 3
jne 0x42e30b
mov eax, dword [0x4b85c0]
cmp eax, dword [0x4b85c4]
je 0x42e30b
cmp byte [eax], 0
je 0x42e30b
movzx ecx, word [0x4a6384]
imul ecx, ecx, 0xffffff9c
add dword [eax + 4], ecx
mov eax, dword [0x4b85c0]
cmp dword [eax + 4], 0
jg 0x42e30b
push eax
lea edx, [ebp - 0x208]
push edx
mov ecx, 0x4b85c0
call fcn.00414b70
push 1
mov byte [0x4a93f0], 1
call fcn.004186a0
movzx eax, byte [0x4a93f0]
push eax
lea ecx, [ebp - 0x204]
push str._MultiplewinToBank__g_bWinOutDone:__d_n
push ecx
call fcn.00409630
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4a93f4]
push eax
mov dword [0x4a675c], eax
call fcn.0040ba80
movzx eax, word [0x4a6384]
imul eax, eax, 0x64
add dword [0x4a6760], eax
add dword [0x4a6764], eax
push 0
call fcn.0042be90
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
add dword [0x4a93f4], eax
mov eax, dword [0x4a3b18]
push eax
push 1
call fcn.004117e0
mov ecx, dword [0x4a93f4]
push ecx
call fcn.0040ba80
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x446af0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475718
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x13c], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x138], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.0045c080
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0x103
ja 0x446cab
lea esi, [ebp - 0x114]
mov dword [ebp - 0x134], esi
cmp byte [ebp - 0x114], bl
je 0x446cab
jmp 0x446ba6
mov esi, dword [ebp - 0x134]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x446c8a
mov eax, esi
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446bd2
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x130]
call fcn.004141d0
lea edx, [ebp - 0x130]
push edx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004468c0
cmp dword [ebp - 0x11c], 0x10
mov byte [ebp - 4], 0
jb 0x446c19
mov eax, dword [ebp - 0x130]
push eax
call fcn.0045b44e
add esp, 4
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 1]
lea esi, [edx*8]
sub esi, edx
push 2
add esi, esi
push 0
lea edx, [ebp - 0x130]
add esi, esi
lea ecx, [esi + ebx]
push edx
call fcn.00414b30
mov ecx, dword [edi]
add ecx, esi
push eax
mov dword [ebp - 4], 2
call fcn.00402010
cmp dword [ebp - 0x11c], 0x10
mov byte [ebp - 4], 0
jb 0x446c82
mov eax, dword [ebp - 0x130]
push eax
call fcn.0045b44e
add esp, 4
mov esi, dword [ebp - 0x134]
xor ebx, ebx
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446c90
sub eax, edx
lea eax, [esi + eax + 1]
mov dword [ebp - 0x134], eax
cmp byte [eax], cl
jne 0x446ba0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x455b50
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x455b9e
mov eax, dword [esi + 4]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esi]
push 0x2328
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x455b8b
mov edx, dword [esi]
push 0x8ae
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call edi
pop edi
mov dword [esi], 0
pop esi
ret

Function at 0x456950
Capabilities:
Create thread
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
push 0
jne 0x4569a6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4564d0
push 0
push 0
call fcn.0045dad9
mov ecx, dword [esi + 8]
add esp, 0x18
push 0x1388
push ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4569b4
push str.Error_starting_SplashThread_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret
mov edx, dword [esi + 4]
push 2
push 6
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop esi
ret
Function at 0x457320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x504]
push 0x490f98
push eax
mov edi, ecx
call fcn.00409630
add esp, 0xc
lea ecx, [ebp - 0x304]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x504]
push edx
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.0045c97a
push 0x490f94
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x708]
xor esi, esi
push edx
xor ebx, ebx
mov dword [ebp - 0x708], esi
call fcn.0045cbde
mov eax, dword [ebp - 0x708]
add esp, 0x18
cmp eax, esi
je 0x4573fb
push eax
call fcn.0045dd2d
add esp, 4
test eax, eax
jne 0x4573ec
jmp 0x4573c0
mov eax, dword [ebp - 0x708]
push eax
lea ecx, [ebp - 0x704]
push 0x200
push ecx
call fcn.0045dc74
mov edx, dword [ebp - 0x708]
push edx
inc ebx
call fcn.0045dd2d
add esp, 0x10
test eax, eax
je 0x4573c0
mov eax, dword [ebp - 0x708]
push eax
call fcn.0045ca7a
add esp, 4
push 0x48bef8
lea ecx, [ebp - 0x304]
push ecx
lea edx, [ebp - 0x708]
push edx
call fcn.0045cbde
add esp, 0xc
cmp dword [ebp - 0x708], esi
je 0x4574cc
test ebx, ebx
jle 0x457492
mov dword [ebp - 0x714], ebx
lea esp, [esp]
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x710]
push ecx
lea edx, [ebp - 0x718]
push edx
lea eax, [ebp - 0x71c]
push eax
mov eax, dword [ebp - 0x708]
push 0x40
lea ecx, [ebp - 0x104]
push ecx
push 0x40
lea edx, [ebp - 0x84]
push edx
push 0x490f70
push eax
call fcn.0045dc54
lea eax, [edi + 0xfc]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0045db79
add esp, 0x30
test eax, eax
je 0x45748a
inc esi
dec dword [ebp - 0x714]
jne 0x457430
mov edx, dword [ebp - 0x708]
push edx
call fcn.0045ca7a
add esp, 4
test esi, esi
je 0x4574cc
xor ecx, ecx
mov eax, esi
mov edx, 0x10
mul edx
seto cl
mov dword [edi + 0xa8], esi
neg ecx
or ecx, eax
push ecx
call fcn.0045b23e
add esp, 4
mov dword [edi + 0xac], eax
push 0x48bef8
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x708]
push ecx
call fcn.0045cbde
add esp, 0xc
cmp dword [ebp - 0x708], 0
je 0x4575b1
test ebx, ebx
jle 0x4575a2
xor esi, esi
mov edi, edi
lea edx, [ebp - 0x70c]
push edx
lea eax, [ebp - 0x710]
push eax
lea ecx, [ebp - 0x718]
push ecx
lea edx, [ebp - 0x71c]
push edx
mov edx, dword [ebp - 0x708]
push 0x40
lea eax, [ebp - 0x104]
push eax
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push 0x490f70
push edx
call fcn.0045dc54
lea eax, [edi + 0xfc]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0045db79
add esp, 0x30
test eax, eax
je 0x45759b
mov ecx, dword [edi + 0xac]
mov edx, dword [ebp - 0x71c]
mov dword [esi + ecx], edx
mov eax, dword [edi + 0xac]
mov ecx, dword [ebp - 0x718]
mov dword [eax + esi + 4], ecx
mov edx, dword [edi + 0xac]
mov eax, dword [ebp - 0x710]
mov dword [edx + esi + 8], eax
mov ecx, dword [edi + 0xac]
mov edx, dword [ebp - 0x70c]
mov dword [ecx + esi + 0xc], edx
add esi, 0x10
dec ebx
jne 0x457500
mov eax, dword [ebp - 0x708]
push eax
call fcn.0045ca7a
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 4
Function at 0x45abc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], 0
cmp eax, 1
jne 0x45ad48
test edi, edi
jne 0x45ac10
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
test eax, eax
je 0x45ac25
push eax
call fcn.0045d4ac
add esp, 4
mov dword [esi], 0
push 0x10000
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
test eax, eax
jne 0x45acf6
push str.WAVE
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x45ac7c
push 0x4911e4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x45ac7c
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x45ac64
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x45ac64
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45ac64
push edi
call fcn.0045b23e
push edi
push ebx
push eax
mov dword [esi + 0x90], eax
call fcn.0045b460
push 0x48
lea ecx, [ebp - 0x4c]
push 0
push ecx
call fcn.0045c080
mov edx, dword [esi + 0x90]
add esp, 0x1c
push 0x10000
lea eax, [ebp - 0x4c]
push eax
push 0
mov dword [ebp - 0x48], 0x204d454d
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0045a370
mov edi, eax
test edi, edi
jns 0x45ad24
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.0045a510
test eax, eax
js 0x45ad97
mov edx, dword [esi + 0xc]
pop edi
mov dword [esi + 0x30], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 0xc
push 0x11002
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
test eax, eax
je 0x45ac64
push ebx
mov ecx, esi
call fcn.0045a870
mov edi, eax
test edi, edi
jns 0x45ad90
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.0045a510
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45bfe1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a4cf0]
jne 0x45bfeb
repz ret
jmp fcn.0046014c
Function at 0x46c3ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a4cf0]
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.0045fb3f
and dword [ebp - 0x14], 0
cmp dword [0x4b9664], 0
mov dword [ebp - 0x18], eax
jne 0x46c45f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46c507
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4964e4
push ebx
call edi
test eax, eax
je 0x46c507
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b9664], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b9668], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b966c], eax
call edi
push eax
call esi
mov dword [0x4b9674], eax
test eax, eax
je 0x46c45f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b9670], eax
mov eax, dword [0x4b9670]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46c4b8
cmp dword [0x4b9674], ecx
je 0x46c4b8
push eax
call esi
push dword [0x4b9674]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46c4b8
test ebx, ebx
je 0x46c4b8
call edi
test eax, eax
je 0x46c4af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46c4af
test byte [ebp - 8], 1
jne 0x46c4b8
or dword [ebp + 0x10], 0x200000
jmp 0x46c4eb
mov eax, dword [0x4b9668]
cmp eax, dword [ebp - 0x18]
je 0x46c4eb
push eax
call esi
test eax, eax
je 0x46c4eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46c4eb
mov eax, dword [0x4b966c]
cmp eax, dword [ebp - 0x18]
je 0x46c4eb
push eax
call esi
test eax, eax
je 0x46c4eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b9664]
call esi
test eax, eax
je 0x46c507
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x46c509
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
leave
ret
Function at 0x401200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x841e78]
mov ecx, dword [0x840dcc]
shr eax, 3
sub esp, 0x820
test eax, eax
jbe 0x4012f3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x841e78], 0x959
jne 0x4012d9
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.genoy_lakiluwobiyevopodajerunopixozo
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x820]
push eax
push 0
push str.lutaxigivikijiter_fomodukinijabujofasijokiyatomot_weruvufayunuxefaxasit
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
push 0
push 0
push 0
push 0
push 0
push str.mumocire_lanabujegepuxigidurira
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401020
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4023e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4220c8]
jne 0x4023ea
repz ret
jmp fcn.004047ce

Function at 0x4043fb
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.00402461
and dword [ebp - 4], 0
cmp dword [0x423808], 0
mov ebx, eax
jne 0x4044ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40455d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40455d
push eax
call fcn.004023ef
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423808], eax
call esi
push eax
call fcn.004023ef
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42380c], eax
call esi
push eax
call fcn.004023ef
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423810], eax
call esi
push eax
call fcn.004023ef
pop ecx
mov dword [0x423818], eax
test eax, eax
je 0x4044ac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004023ef
pop ecx
mov dword [0x423814], eax
mov eax, dword [0x423814]
cmp eax, ebx
je 0x404504
cmp dword [0x423818], ebx
je 0x404504
push eax
call fcn.0040246a
push dword [0x423818]
mov esi, eax
call fcn.0040246a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404504
test edi, edi
je 0x404504
call esi
test eax, eax
je 0x4044fb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4044fb
test byte [ebp - 0xc], 1
jne 0x404504
or dword [ebp + 0x10], 0x200000
jmp 0x40453d
mov eax, dword [0x42380c]
cmp eax, ebx
je 0x40453d
push eax
call fcn.0040246a
pop ecx
test eax, eax
je 0x40453d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40453d
mov eax, dword [0x423810]
cmp eax, ebx
je 0x40453d
push eax
call fcn.0040246a
pop ecx
test eax, eax
je 0x40453d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423808]
call fcn.0040246a
pop ecx
test eax, eax
je 0x40455d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40455f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret