joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
lea eax, [ebp - 0x19]
mov edx, dword [0x403b08]
call fcn.004023a8
xor eax, eax
push ebp
push 0x406a65
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x406a74
mov eax, dword [0x40966c]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x40966c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
je 0x406a49
push ebx
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x19]
mov ecx, 0xd
call fcn.00403088
add dword [ebp - 8], 0xd
mov ax, word [ebp - 0xe]
test ax, ax
jbe 0x4069cb
movzx edx, ax
lea eax, [ebp - 0xc]
call fcn.00402194
movzx ecx, word [ebp - 0xe]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00403088
call fcn.00404e24
mov word [ebp - 2], ax
mov al, byte [ebp - 0x18]
sub al, 1
jb 0x4069e3
je 0x4069ed
dec al
je 0x4069f7
jmp 0x406a01
mov al, byte [ebp - 2]
cmp al, byte [ebp - 0x19]
je 0x406a01
jmp 0x406a14
mov al, byte [ebp - 2]
cmp al, byte [ebp - 0x19]
jae 0x406a01
jmp 0x406a14
mov al, byte [ebp - 2]
cmp al, byte [ebp - 0x19]
ja 0x406a01
jmp 0x406a14
mov al, byte [ebp - 0x17]
mov edx, eax
sub dl, 2
jb 0x406a0f
je 0x406a49
jmp 0x406a14
cmp al, byte [ebp - 1]
je 0x406a49
mov eax, dword [ebp - 0x16]
add eax, dword [ebp - 0x12]
push eax
push 0x406a78
mov eax, dword [ebp - 0xc]
call fcn.004020b8
push eax
push 0
call sub.user32.dll_MessageBoxA
cmp eax, 6
je 0x406a49
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a6c
lea eax, [ebp - 0x19]
mov edx, dword [0x403b08]
call fcn.0040246c
ret
Function at 0x406a80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, edi
call fcn.004020b8
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x406b56
push 0
push 0
push 0
push 2
push 0
push edi
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x406af7
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x406b56
mov al, byte [ebp + 8]
sub al, 1
jb 0x406b02
je 0x406b21
jmp 0x406b3e
test esi, esi
jl 0x406b3e
inc esi
push dword [ebx + 4]
push dword [ebx]
mov eax, dword [ebp - 8]
call fcn.004049c0
mov dword [ebx], eax
mov dword [ebx + 4], edx
add ebx, 8
dec esi
jne 0x406b07
jmp 0x406b3e
test esi, esi
jl 0x406b3e
inc esi
push dword [ebx + 4]
push dword [ebx]
mov eax, dword [ebp - 8]
call fcn.00404a78
mov dword [ebx], eax
mov dword [ebx + 4], edx
add ebx, 8
dec esi
jne 0x406b26
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
push edi
call sub.kernel32.dll_CloseHandle_1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x402ff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [sym.imp.binkw32.dll__BinkOpenDirectSound_4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push ebx
push edx
mov dword [ebp - 0x18c], eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ecx
call dword [sym.imp.binkw32.dll__BinkSetSoundSystem_8]
push esi
call fcn.004035e0
mov ecx, dword [0x4b88a0]
sub ecx, dword [0x4b889c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 4
add eax, edx
mov dword [ebp - 0x188], ebx
je 0x403161
mov edi, edi
lea ecx, [ebp - 0x184]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [0x4b889c]
cmp dword [ebx + edx + 0x14], 0x10
lea eax, [ebx + edx]
jb 0x403084
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x84]
push str.Datamovies_s.bik
push eax
call fcn.0045bff0
lea eax, [ebp - 0x84]
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030a1
lea edi, [ebp - 0x184]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4030b1
mov ecx, eax
fld1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x4b889c]
push ecx
lea ecx, [ebp - 0x184]
lea eax, [ebx + edx]
fst dword [esp]
push 1
fldz
sub esp, 0x14
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x190], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004016e0
mov ecx, dword [ebp - 0x18c]
call fcn.00402da0
mov ecx, dword [0x4b88a0]
sub ecx, dword [0x4b889c]
mov esi, dword [ebp - 0x188]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x1c
mov dword [ebp - 0x188], esi
cmp esi, eax
jb 0x403060
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret 8

Function at 0x408ed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
je 0x408f02
mov eax, dword [0x4a9160]
test eax, eax
je 0x408f0c
mov ecx, dword [ebp + 0xc]
push ecx
push 0x48bd30
push eax
call fcn.0045c7d3
mov edx, dword [0x4a9160]
push edx
call fcn.0045c777
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebp
ret
Function at 0x408fa0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], 0x507e6
mov dword [ebp - 0xe], 0x50014
mov dword [ebp - 0xa], 0xb0025
call esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call esi
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x14]
push eax
call esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x409036
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x409036
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret

Function at 0x409c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1444
call fcn.0045cc30
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x244]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48bedc
push 0x48bed8
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x444]
push str._s_s_s
push edx
call fcn.00409630
add esp, 0x14
xor ebx, ebx
jmp 0x409cb0
mov eax, dword [ebx*8 + 0x4a6054]
mov ecx, dword [ebx*8 + 0x4a6050]
push eax
push ecx
lea edx, [ebp - 0x44]
push str._32s__3d_n
push edx
call fcn.0045bff0
add esp, 0x10
test ebx, ebx
jne 0x409cf2
xor eax, eax
jmp 0x409ce0
mov cl, byte [ebp + eax - 0x44]
mov byte [ebp + eax - 0x1444], cl
inc eax
test cl, cl
jne 0x409ce0
jmp 0x409d1f
lea eax, [ebp - 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409cf7
lea edi, [ebp - 0x1444]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x409d07
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebx
cmp ebx, 0x43
jl 0x409cb0
lea eax, [ebp - 0x444]
push 0x48beb4
push eax
call fcn.0045cbc7
mov esi, eax
add esp, 8
test esi, esi
je 0x409d5a
lea ecx, [ebp - 0x1444]
push ecx
push 0x48beb0
push esi
call fcn.0045caee
push esi
call fcn.0045ca7a
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x409d70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x224]
push eax
xor ebx, ebx
push 0x100
mov dword [ebp - 0x428], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48bedc
push 0x48bed8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x424]
push str._s_s_s
push edx
call fcn.00409630
lea eax, [ebp - 0x424]
push 0x48bef8
push eax
call fcn.0045cbc7
mov edi, eax
add esp, 0x1c
cmp edi, ebx
je 0x409e5a
mov esi, 0x4a6054
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x24]
push edx
push str._s__d
push edi
mov dword [ebp - 0x428], 0xffffffff
call fcn.0045cd55
mov eax, dword [esi - 4]
add esp, 0x10
lea ecx, [ebp - 0x24]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409e30
cmp dl, bl
je 0x409e2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409e30
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x409e10
xor eax, eax
jmp 0x409e35
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x428]
add esi, 8
mov dword [esi - 8], eax
cmp esi, 0x4a626c
jl 0x409de1
push edi
call fcn.0045ca7a
add esp, 4
jmp 0x409e5f
call fcn.00409c50
xor esi, esi
mov eax, dword [esi*8 + 0x4a6054]
push eax
push esi
mov byte [esi*2 + 0x4a6268], bl
mov byte [esi*2 + 0x4a6269], bl
call fcn.00408f10
inc esi
add esp, 8
cmp esi, 0x43
jl 0x409e61
push 1
push 1
push 6
call fcn.004095f0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x409ed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x4a3c2c]
mov edx, edi
cmp edi, 0x32
jg 0x409fcc
mov edx, dword [edi*4 + 0x4a650c]
mov eax, edx
movzx ecx, word [0x4a3c28]
mov esi, dword [0x4a64e0]
imul ecx, ecx, 0x578
add edx, ecx
add eax, ecx
fild dword [edx*4 + 0x4a8f6c]
lea edx, [edi + 1]
fstp dword [eax*4 + 0x4a9084]
cmp edx, esi
jg 0x409f5a
jmp 0x409f30
mov eax, dword [edx*4 + 0x4a650c]
add eax, ecx
lea eax, [eax*4 - 0x15e4]
fild dword [eax + 0x4aa550]
fld dword [eax + 0x4aa668]
fcompp
fnstsw ax
test ah, 1
jne 0x409fd3
inc edx
cmp edx, esi
jle 0x409f30
cmp edi, 1
jle 0x40a066
mov edx, 1
dec edi
cmp edi, edx
jl 0x409f9e
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x4a650c]
add eax, ecx
lea eax, [eax*4 - 0x15e4]
fild dword [eax + 0x4aa550]
fld dword [eax + 0x4aa668]
fcompp
fnstsw ax
test ah, 1
jne 0x40a042
inc edx
cmp edx, edi
jle 0x409f70
mov eax, 1
cmp esi, eax
jl 0x409fc0
fldz
mov edx, dword [eax*4 + 0x4a650c]
add edx, ecx
inc eax
fst dword [edx*4 + 0x4a9084]
cmp eax, esi
jle 0x409fa9
fstp st(0)
mov eax, 1
mov dword [0x4a3c2c], eax
jmp 0x40a005
mov eax, edi
jmp 0x409eff
push edx
lea ecx, [ebp - 0x204]
push str.g_nDiff_Found:__d_n
push ecx
mov dword [0x4a3c2c], edx
call fcn.00409630
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4a3c2c]
cmp eax, 0x32
jg 0x40a00c
mov eax, dword [eax*4 + 0x4a650c]
movzx ecx, word [0x4a3c28]
imul ecx, ecx, 0x578
add ecx, eax
fld dword [ecx*4 + 0x4a9084]
fmul qword [0x48bf00]
call fcn.0045c160
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4a677c], eax
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
push edx
lea eax, [ebp - 0x204]
push str.g_nDiff_Found:__d_n
push eax
mov dword [0x4a3c2c], edx
call fcn.00409630
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
jmp 0x409ff5
mov eax, 1
cmp esi, eax
jl 0x409fc0
fldz
mov edx, dword [eax*4 + 0x4a650c]
add edx, ecx
inc eax
fst dword [edx*4 + 0x4a9084]
cmp eax, esi
jle 0x40a075
mov eax, 1
fstp st(0)
mov dword [0x4a3c2c], eax
jmp 0x40a005

Function at 0x40a290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4a91f1], 0
jne 0x40a316
mov eax, dword [0x4a6948]
push 0x492
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x4a6948]
push 0
push 0x1e
push 0x492
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x4a3af0]
mov eax, dword [0x4a3af4]
mov ecx, dword [0x4a3afc]
push edx
mov edx, dword [0x4a3af8]
push eax
push ecx
push edx
lea eax, [ebp - 0x204]
push str.g_nTryMultiple:__d__d___g_nCurMultiple:__d__d__n
push eax
mov byte [0x4a91f1], 1
call fcn.00409630
add esp, 0x18
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x40a330
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]
mov eax, dword [0x4a3c2c]
cmp eax, 0x32
jg 0x40a366
mov eax, dword [eax*4 + 0x4a650c]
movzx ecx, word [0x4a3c28]
push esi
push eax
push ecx
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x204]
push str._sDataSetting_dSetting_02d.chp
push eax
call fcn.00409630
lea ecx, [ebp - 0x204]
push 0x48c130
push ecx
call fcn.0045cbc7
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x40a3f6
push 0
push 4
push esi
call fcn.0045d25f
mov eax, dword [0x4a3c2c]
add esp, 0xc
cmp eax, 0x32
jg 0x40a3c0
mov eax, dword [eax*4 + 0x4a650c]
movzx edx, word [0x4a3c28]
imul edx, edx, 0x578
push esi
push 1
add edx, eax
lea eax, [edx*4 + 0x4a9084]
push 4
push eax
call fcn.0045d432
push esi
call fcn.0045ca7a
lea ecx, [ebp - 0x204]
push ecx
call fcn.00408fa0
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret

Function at 0x40a470
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
push esi
push edi
lea eax, [ebp - 0x404]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x4a6510
lea esp, [esp]
mov ecx, dword [edi]
movzx edx, word [0x4a3c28]
push ecx
push edx
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x204]
push str._sDataSetting_dSetting_02d.chp
push ecx
call fcn.00409630
lea edx, [ebp - 0x204]
push 0x48c130
push edx
call fcn.0045cbc7
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x40a521
push 0
push 4
push esi
call fcn.0045d25f
fldz
movzx eax, word [0x4a3c28]
imul eax, eax, 0x578
add eax, dword [edi]
push esi
push 1
lea eax, [eax*4 + 0x4a9084]
push 4
push eax
fstp dword [eax]
call fcn.0045d432
push esi
call fcn.0045ca7a
lea eax, [ebp - 0x204]
push eax
call fcn.00408fa0
add esp, 0x24
add edi, 4
cmp edi, 0x4a65d8
jl 0x40a4a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret

Function at 0x40a540
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0x24
call fcn.004095f0
lea eax, [ebp - 0x204]
push str.IDT_LIGHTNING_LONG_called._n
push eax
call fcn.00409630
add esp, 0x14
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x4a6948]
push 0x4ad
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x40b860
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4a6428], bl
je 0x40ba58
mov ecx, dword [0x4a65d8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b890
jmp dword [ecx*4 + 0x40ba68]
mov al, 0x7f
jmp case.default.0x40b890
mov al, 0x80
jmp case.default.0x40b890
mov al, 0x81
jmp case.default.0x40b890
mov al, 0x82
jmp case.default.0x40b890
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b8c1
cmp byte [0x4a92f6], bl
je 0x40b8c1
cmp byte [0x49b051], bl
je 0x40b8cc
movzx eax, al
cmp ecx, eax
jne 0x40ba4d
mov eax, dword [0x4a93e8]
mov ecx, 1
add eax, ecx
mov dword [0x4a93e8], eax
cmp eax, 0x14
jle 0x40b8e8
mov dword [0x4a93e8], ebx
fld qword [0x48c210]
push esi
push edi
mov dword [0x4a93dc], ebx
mov dword [0x4a93d8], ebx
mov edi, ecx
mov esi, 0x4a65e0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b9b2
sub eax, ecx
jne 0x40ba0c
cmp edi, dword [0x4a93e8]
jne 0x40ba0c
cmp dword [esi + 4], ebx
jle 0x40ba0c
fstp st(0)
mov dword [0x4a93ec], ebx
mov dword [0x4a93e0], ebx
call fcn.0045c5cc
mov edx, dword [esi + 4]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
fnstcw word [ebp - 0x206]
movzx eax, word [ebp - 0x206]
fmul qword [0x48c208]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x48bd20]
mov dword [0x4a93d8], eax
fldcw word [ebp - 0x210]
fistp qword [ebp - 0x214]
mov ecx, dword [ebp - 0x214]
add ecx, 5
dec edx
fldcw word [ebp - 0x206]
mov dword [0x4a93d4], ecx
mov dword [0x4a93dc], edx
fld qword [0x48c210]
jmp 0x40ba0c
cmp edi, dword [0x4a93e8]
jne 0x40ba0c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40ba0c
mov edx, dword [0x4a9a2c]
fild dword [ebp - 0x208]
mov dword [0x4a93d4], ebx
mov dword [0x4a93e0], ebx
mov dword [0x4a93dc], ebx
mov dword [0x4a93d8], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b9fa
fidiv dword [0x4a93fc]
jmp 0x40ba00
fidiv dword [0x4a3b64]
fmul st(1)
call fcn.0045c160
mov dword [0x4a93ec], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b90d
mov eax, dword [0x4a93e8]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409630
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x4a93d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x40b897
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4a6428], bl
je 0x40ba58
mov ecx, dword [0x4a65d8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b890
jmp dword [ecx*4 + 0x40ba68]
mov al, 0x7f
jmp case.default.0x40b890
mov al, 0x80
jmp case.default.0x40b890
mov al, 0x81
jmp case.default.0x40b890
mov al, 0x82
jmp case.default.0x40b890
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b8c1
cmp byte [0x4a92f6], bl
je 0x40b8c1
cmp byte [0x49b051], bl
je 0x40b8cc
movzx eax, al
cmp ecx, eax
jne 0x40ba4d
mov eax, dword [0x4a93e8]
mov ecx, 1
add eax, ecx
mov dword [0x4a93e8], eax
cmp eax, 0x14
jle 0x40b8e8
mov dword [0x4a93e8], ebx
fld qword [0x48c210]
push esi
push edi
mov dword [0x4a93dc], ebx
mov dword [0x4a93d8], ebx
mov edi, ecx
mov esi, 0x4a65e0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b9b2
sub eax, ecx
jne 0x40ba0c
cmp edi, dword [0x4a93e8]
jne 0x40ba0c
cmp dword [esi + 4], ebx
jle 0x40ba0c
fstp st(0)
mov dword [0x4a93ec], ebx
mov dword [0x4a93e0], ebx
call fcn.0045c5cc
mov edx, dword [esi + 4]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
fnstcw word [ebp - 0x206]
movzx eax, word [ebp - 0x206]
fmul qword [0x48c208]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x48bd20]
mov dword [0x4a93d8], eax
fldcw word [ebp - 0x210]
fistp qword [ebp - 0x214]
mov ecx, dword [ebp - 0x214]
add ecx, 5
dec edx
fldcw word [ebp - 0x206]
mov dword [0x4a93d4], ecx
mov dword [0x4a93dc], edx
fld qword [0x48c210]
jmp 0x40ba0c
cmp edi, dword [0x4a93e8]
jne 0x40ba0c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40ba0c
mov edx, dword [0x4a9a2c]
fild dword [ebp - 0x208]
mov dword [0x4a93d4], ebx
mov dword [0x4a93e0], ebx
mov dword [0x4a93dc], ebx
mov dword [0x4a93d8], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b9fa
fidiv dword [0x4a93fc]
jmp 0x40ba00
fidiv dword [0x4a3b64]
fmul st(1)
call fcn.0045c160
mov dword [0x4a93ec], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b90d
mov eax, dword [0x4a93e8]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409630
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x4a93d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret
Function at 0x40b89b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a4cf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4a6428], bl
je 0x40ba58
mov ecx, dword [0x4a65d8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b890
jmp dword [ecx*4 + 0x40ba68]
mov al, 0x7f
jmp case.default.0x40b890
mov al, 0x80
jmp case.default.0x40b890
mov al, 0x81
jmp case.default.0x40b890
mov al, 0x82
jmp case.default.0x40b890
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b8c1
cmp byte [0x4a92f6], bl
je 0x40b8c1
cmp byte [0x49b051], bl
je 0x40b8cc
movzx eax, al
cmp ecx, eax
jne 0x40ba4d
mov eax, dword [0x4a93e8]
mov ecx, 1
add eax, ecx
mov dword [0x4a93e8], eax
cmp eax, 0x14
jle 0x40b8e8
mov dword [0x4a93e8], ebx
fld qword [0x48c210]
push esi
push edi
mov dword [0x4a93dc], ebx
mov dword [0x4a93d8], ebx
mov edi, ecx
mov esi, 0x4a65e0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b9b2
sub eax, ecx
jne 0x40ba0c
cmp edi, dword [0x4a93e8]
jne 0x40ba0c
cmp dword [esi + 4], ebx
jle 0x40ba0c
fstp st(0)
mov dword [0x4a93ec], ebx
mov dword [0x4a93e0], ebx
call fcn.0045c5cc
mov edx, dword [esi + 4]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
fnstcw word [ebp - 0x206]
movzx eax, word [ebp - 0x206]
fmul qword [0x48c208]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x48bd20]
mov dword [0x4a93d8], eax
fldcw word [ebp - 0x210]
fistp qword [ebp - 0x214]
mov ecx, dword [ebp - 0x214]
add ecx, 5
dec edx
fldcw word [ebp - 0x206]
mov dword [0x4a93d4], ecx
mov dword [0x4a93dc], edx
fld qword [0x48c210]
jmp 0x40ba0c
cmp edi, dword [0x4a93e8]
jne 0x40ba0c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40ba0c
mov edx, dword [0x4a9a2c]
fild dword [ebp - 0x208]
mov dword [0x4a93d4], ebx
mov dword [0x4a93e0], ebx
mov dword [0x4a93dc], ebx
mov dword [0x4a93d8], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b9fa
fidiv dword [0x4a93fc]
jmp 0x40ba00
fidiv dword [0x4a3b64]
fmul st(1)
call fcn.0045c160
mov dword [0x4a93ec], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b90d
mov eax, dword [0x4a93e8]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409630
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x4a93d0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bfe1
mov esp, ebp
pop ebp
ret