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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x4a86ac]
mov edx, edi
cmp edi, 0x32
jg 0x409ccc
mov edx, dword [edi*4 + 0x4b2a1c]
mov eax, edx
movzx ecx, word [0x4a86a8]
mov esi, dword [0x4b29f0]
imul ecx, ecx, 0x5be
add edx, ecx
add eax, ecx
fild dword [edx*4 + 0x4b5434]
lea edx, [edi + 1]
fstp dword [eax*4 + 0x4b554c]
cmp edx, esi
jg 0x409c5a
jmp 0x409c30
mov eax, dword [edx*4 + 0x4b2a1c]
add eax, ecx
lea eax, [eax*4 - 0x16fc]
fild dword [eax + 0x4b6b30]
fld dword [eax + 0x4b6c48]
fcompp
fnstsw ax
test ah, 1
jne 0x409cd3
inc edx
cmp edx, esi
jle 0x409c30
cmp edi, 1
jle 0x409d66
mov edx, 1
dec edi
cmp edi, edx
jl 0x409c9e
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x4b2a1c]
add eax, ecx
lea eax, [eax*4 - 0x16fc]
fild dword [eax + 0x4b6b30]
fld dword [eax + 0x4b6c48]
fcompp
fnstsw ax
test ah, 1
jne 0x409d42
inc edx
cmp edx, edi
jle 0x409c70
mov eax, 1
cmp esi, eax
jl 0x409cc0
fldz
mov edx, dword [eax*4 + 0x4b2a1c]
add edx, ecx
inc eax
fst dword [edx*4 + 0x4b554c]
cmp eax, esi
jle 0x409ca9
fstp st(0)
mov eax, 1
mov dword [0x4a86ac], eax
jmp 0x409d05
mov eax, edi
jmp 0x409bff
push edx
lea ecx, [ebp - 0x204]
push str.g_nDiff_Found:__d_n
push ecx
mov dword [0x4a86ac], edx
call fcn.00409550
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4a86ac]
cmp eax, 0x32
jg 0x409d0c
mov eax, dword [eax*4 + 0x4b2a1c]
movzx ecx, word [0x4a86a8]
imul ecx, ecx, 0x5be
add ecx, eax
fld dword [ecx*4 + 0x4b554c]
fmul qword [0x497c58]
call fcn.00463ab0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4b2c8c], eax
pop esi
call fcn.00463931
mov esp, ebp
pop ebp
ret
push edx
lea eax, [ebp - 0x204]
push str.g_nDiff_Found:__d_n
push eax
mov dword [0x4a86ac], edx
call fcn.00409550
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
jmp 0x409cf5
mov eax, 1
cmp esi, eax
jl 0x409cc0
fldz
mov edx, dword [eax*4 + 0x4b2a1c]
add edx, ecx
inc eax
fst dword [edx*4 + 0x4b554c]
cmp eax, esi
jle 0x409d75
mov eax, 1
fstp st(0)
mov dword [0x4a86ac], eax
jmp 0x409d05

Function at 0x409f80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4b557e], 0
jne 0x40a006
mov eax, dword [0x4b5978]
push 0x492
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x4b5978]
push 0
push 0x1e
push 0x492
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [0x4a8548]
mov eax, dword [0x4a854c]
mov ecx, dword [0x4a8554]
push edx
mov edx, dword [0x4a8550]
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 [0x4b557e], 1
call fcn.00409550
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.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40a020
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4b1240]
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 [0x4a86ac]
cmp eax, 0x32
jg 0x40a056
mov eax, dword [eax*4 + 0x4b2a1c]
movzx ecx, word [0x4a86a8]
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.00409550
lea ecx, [ebp - 0x204]
push 0x497e88
push ecx
call fcn.004644f9
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x40a0e6
push 0
push 4
push esi
call fcn.00464bad
mov eax, dword [0x4a86ac]
add esp, 0xc
cmp eax, 0x32
jg 0x40a0b0
mov eax, dword [eax*4 + 0x4b2a1c]
movzx edx, word [0x4a86a8]
imul edx, edx, 0x5be
push esi
push 1
add edx, eax
lea eax, [edx*4 + 0x4b554c]
push 4
push eax
call fcn.00464d80
push esi
call fcn.004643ac
lea ecx, [ebp - 0x204]
push ecx
call fcn.00408e60
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00463931
mov esp, ebp
pop ebp
ret

Function at 0x40a100
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x4b1240]
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, 0x4b2a20
lea esp, [esp]
mov ecx, dword [edi]
movzx edx, word [0x4a86a8]
push ecx
push edx
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x204]
push str._sDataSetting_dSetting_02d.chp
push ecx
call fcn.00409550
lea edx, [ebp - 0x204]
push 0x497e88
push edx
call fcn.004644f9
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x40a1b1
push 0
push 4
push esi
call fcn.00464bad
fldz
movzx eax, word [0x4a86a8]
imul eax, eax, 0x5be
add eax, dword [edi]
push esi
push 1
lea eax, [eax*4 + 0x4b554c]
push 4
push eax
fstp dword [eax]
call fcn.00464d80
push esi
call fcn.004643ac
lea eax, [ebp - 0x204]
push eax
call fcn.00408e60
add esp, 0x24
add edi, 4
cmp edi, 0x4b2ae8
jl 0x40a130
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40b4d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4b2938], bl
je 0x40b6c8
mov ecx, dword [0x4b2ae8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b500
jmp dword [ecx*4 + 0x40b6d8]
mov al, 0x7f
jmp case.default.0x40b500
mov al, 0x80
jmp case.default.0x40b500
mov al, 0x81
jmp case.default.0x40b500
mov al, 0x82
jmp case.default.0x40b500
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b531
cmp byte [0x4b56c8], bl
je 0x40b531
cmp byte [0x4a7052], bl
je 0x40b53c
movzx eax, al
cmp ecx, eax
jne 0x40b6bd
mov eax, dword [0x4b5798]
mov ecx, 1
add eax, ecx
mov dword [0x4b5798], eax
cmp eax, 0x14
jle 0x40b558
mov dword [0x4b5798], ebx
fld qword [0x497f30]
push esi
push edi
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
mov edi, ecx
mov esi, 0x4b2af0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b622
sub eax, ecx
jne 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
cmp dword [esi + 4], ebx
jle 0x40b67c
fstp st(0)
mov dword [0x4b579c], ebx
mov dword [0x4b578c], ebx
call fcn.00463f1c
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 [0x497f28]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x497ab8]
mov dword [0x4b5784], 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 [0x4b5780], ecx
mov dword [0x4b5788], edx
fld qword [0x497f30]
jmp 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40b67c
mov edx, dword [0x4b6024]
fild dword [ebp - 0x208]
mov dword [0x4b5780], ebx
mov dword [0x4b578c], ebx
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b66a
fidiv dword [0x4b57ac]
jmp 0x40b670
fidiv dword [0x4a85bc]
fmul st(1)
call fcn.00463ab0
mov dword [0x4b579c], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b57d
mov eax, dword [0x4b5798]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409550
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 [0x4b577c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40b507
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4b2938], bl
je 0x40b6c8
mov ecx, dword [0x4b2ae8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b500
jmp dword [ecx*4 + 0x40b6d8]
mov al, 0x7f
jmp case.default.0x40b500
mov al, 0x80
jmp case.default.0x40b500
mov al, 0x81
jmp case.default.0x40b500
mov al, 0x82
jmp case.default.0x40b500
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b531
cmp byte [0x4b56c8], bl
je 0x40b531
cmp byte [0x4a7052], bl
je 0x40b53c
movzx eax, al
cmp ecx, eax
jne 0x40b6bd
mov eax, dword [0x4b5798]
mov ecx, 1
add eax, ecx
mov dword [0x4b5798], eax
cmp eax, 0x14
jle 0x40b558
mov dword [0x4b5798], ebx
fld qword [0x497f30]
push esi
push edi
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
mov edi, ecx
mov esi, 0x4b2af0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b622
sub eax, ecx
jne 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
cmp dword [esi + 4], ebx
jle 0x40b67c
fstp st(0)
mov dword [0x4b579c], ebx
mov dword [0x4b578c], ebx
call fcn.00463f1c
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 [0x497f28]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x497ab8]
mov dword [0x4b5784], 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 [0x4b5780], ecx
mov dword [0x4b5788], edx
fld qword [0x497f30]
jmp 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40b67c
mov edx, dword [0x4b6024]
fild dword [ebp - 0x208]
mov dword [0x4b5780], ebx
mov dword [0x4b578c], ebx
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b66a
fidiv dword [0x4b57ac]
jmp 0x40b670
fidiv dword [0x4a85bc]
fmul st(1)
call fcn.00463ab0
mov dword [0x4b579c], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b57d
mov eax, dword [0x4b5798]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409550
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 [0x4b577c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40b50b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4b2938], bl
je 0x40b6c8
mov ecx, dword [0x4b2ae8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b500
jmp dword [ecx*4 + 0x40b6d8]
mov al, 0x7f
jmp case.default.0x40b500
mov al, 0x80
jmp case.default.0x40b500
mov al, 0x81
jmp case.default.0x40b500
mov al, 0x82
jmp case.default.0x40b500
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b531
cmp byte [0x4b56c8], bl
je 0x40b531
cmp byte [0x4a7052], bl
je 0x40b53c
movzx eax, al
cmp ecx, eax
jne 0x40b6bd
mov eax, dword [0x4b5798]
mov ecx, 1
add eax, ecx
mov dword [0x4b5798], eax
cmp eax, 0x14
jle 0x40b558
mov dword [0x4b5798], ebx
fld qword [0x497f30]
push esi
push edi
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
mov edi, ecx
mov esi, 0x4b2af0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b622
sub eax, ecx
jne 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
cmp dword [esi + 4], ebx
jle 0x40b67c
fstp st(0)
mov dword [0x4b579c], ebx
mov dword [0x4b578c], ebx
call fcn.00463f1c
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 [0x497f28]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x497ab8]
mov dword [0x4b5784], 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 [0x4b5780], ecx
mov dword [0x4b5788], edx
fld qword [0x497f30]
jmp 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40b67c
mov edx, dword [0x4b6024]
fild dword [ebp - 0x208]
mov dword [0x4b5780], ebx
mov dword [0x4b578c], ebx
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b66a
fidiv dword [0x4b57ac]
jmp 0x40b670
fidiv dword [0x4a85bc]
fmul st(1)
call fcn.00463ab0
mov dword [0x4b579c], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b57d
mov eax, dword [0x4b5798]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409550
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 [0x4b577c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40b50f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4b2938], bl
je 0x40b6c8
mov ecx, dword [0x4b2ae8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b500
jmp dword [ecx*4 + 0x40b6d8]
mov al, 0x7f
jmp case.default.0x40b500
mov al, 0x80
jmp case.default.0x40b500
mov al, 0x81
jmp case.default.0x40b500
mov al, 0x82
jmp case.default.0x40b500
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b531
cmp byte [0x4b56c8], bl
je 0x40b531
cmp byte [0x4a7052], bl
je 0x40b53c
movzx eax, al
cmp ecx, eax
jne 0x40b6bd
mov eax, dword [0x4b5798]
mov ecx, 1
add eax, ecx
mov dword [0x4b5798], eax
cmp eax, 0x14
jle 0x40b558
mov dword [0x4b5798], ebx
fld qword [0x497f30]
push esi
push edi
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
mov edi, ecx
mov esi, 0x4b2af0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b622
sub eax, ecx
jne 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
cmp dword [esi + 4], ebx
jle 0x40b67c
fstp st(0)
mov dword [0x4b579c], ebx
mov dword [0x4b578c], ebx
call fcn.00463f1c
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 [0x497f28]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x497ab8]
mov dword [0x4b5784], 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 [0x4b5780], ecx
mov dword [0x4b5788], edx
fld qword [0x497f30]
jmp 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40b67c
mov edx, dword [0x4b6024]
fild dword [ebp - 0x208]
mov dword [0x4b5780], ebx
mov dword [0x4b578c], ebx
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b66a
fidiv dword [0x4b57ac]
jmp 0x40b670
fidiv dword [0x4a85bc]
fmul st(1)
call fcn.00463ab0
mov dword [0x4b579c], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b57d
mov eax, dword [0x4b5798]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409550
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 [0x4b577c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40b513
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4b2938], bl
je 0x40b6c8
mov ecx, dword [0x4b2ae8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b500
jmp dword [ecx*4 + 0x40b6d8]
mov al, 0x7f
jmp case.default.0x40b500
mov al, 0x80
jmp case.default.0x40b500
mov al, 0x81
jmp case.default.0x40b500
mov al, 0x82
jmp case.default.0x40b500
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b531
cmp byte [0x4b56c8], bl
je 0x40b531
cmp byte [0x4a7052], bl
je 0x40b53c
movzx eax, al
cmp ecx, eax
jne 0x40b6bd
mov eax, dword [0x4b5798]
mov ecx, 1
add eax, ecx
mov dword [0x4b5798], eax
cmp eax, 0x14
jle 0x40b558
mov dword [0x4b5798], ebx
fld qword [0x497f30]
push esi
push edi
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
mov edi, ecx
mov esi, 0x4b2af0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b622
sub eax, ecx
jne 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
cmp dword [esi + 4], ebx
jle 0x40b67c
fstp st(0)
mov dword [0x4b579c], ebx
mov dword [0x4b578c], ebx
call fcn.00463f1c
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 [0x497f28]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x497ab8]
mov dword [0x4b5784], 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 [0x4b5780], ecx
mov dword [0x4b5788], edx
fld qword [0x497f30]
jmp 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40b67c
mov edx, dword [0x4b6024]
fild dword [ebp - 0x208]
mov dword [0x4b5780], ebx
mov dword [0x4b578c], ebx
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b66a
fidiv dword [0x4b57ac]
jmp 0x40b670
fidiv dword [0x4a85bc]
fmul st(1)
call fcn.00463ab0
mov dword [0x4b579c], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b57d
mov eax, dword [0x4b5798]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409550
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 [0x4b577c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x40b517
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp byte [0x4b2938], bl
je 0x40b6c8
mov ecx, dword [0x4b2ae8]
dec ecx
mov al, 0x7e
cmp ecx, 4
ja case.default.0x40b500
jmp dword [ecx*4 + 0x40b6d8]
mov al, 0x7f
jmp case.default.0x40b500
mov al, 0x80
jmp case.default.0x40b500
mov al, 0x81
jmp case.default.0x40b500
mov al, 0x82
jmp case.default.0x40b500
mov al, 0x83
mov ecx, dword [ebp + 8]
cmp ecx, 0x74
jne 0x40b531
cmp byte [0x4b56c8], bl
je 0x40b531
cmp byte [0x4a7052], bl
je 0x40b53c
movzx eax, al
cmp ecx, eax
jne 0x40b6bd
mov eax, dword [0x4b5798]
mov ecx, 1
add eax, ecx
mov dword [0x4b5798], eax
cmp eax, 0x14
jle 0x40b558
mov dword [0x4b5798], ebx
fld qword [0x497f30]
push esi
push edi
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
mov edi, ecx
mov esi, 0x4b2af0
mov dword [ebp - 0x20c], 0x14
mov eax, dword [esi - 4]
sub eax, ecx
je 0x40b622
sub eax, ecx
jne 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
cmp dword [esi + 4], ebx
jle 0x40b67c
fstp st(0)
mov dword [0x4b579c], ebx
mov dword [0x4b578c], ebx
call fcn.00463f1c
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 [0x497f28]
or eax, 0xc00
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
fmul qword [0x497ab8]
mov dword [0x4b5784], 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 [0x4b5780], ecx
mov dword [0x4b5788], edx
fld qword [0x497f30]
jmp 0x40b67c
cmp edi, dword [0x4b5798]
jne 0x40b67c
mov eax, dword [esi]
mov dword [ebp - 0x208], eax
cmp eax, ebx
jle 0x40b67c
mov edx, dword [0x4b6024]
fild dword [ebp - 0x208]
mov dword [0x4b5780], ebx
mov dword [0x4b578c], ebx
mov dword [0x4b5788], ebx
mov dword [0x4b5784], ebx
cmp dword [edx + 0xa4], ecx
jne 0x40b66a
fidiv dword [0x4b57ac]
jmp 0x40b670
fidiv dword [0x4a85bc]
fmul st(1)
call fcn.00463ab0
mov dword [0x4b579c], eax
mov ecx, 1
add edi, ecx
add esi, 0xc
sub dword [ebp - 0x20c], ecx
jne 0x40b57d
mov eax, dword [0x4b5798]
fstp st(0)
push eax
lea ecx, [ebp - 0x204]
push str.g_nCallBtnCounter:_d_n
push ecx
call fcn.00409550
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 [0x4b577c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret
Function at 0x418210
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x228], str.Bubble_0
mov dword [ebp - 0x224], str.Bubble_1
mov dword [ebp - 0x220], str.Bubble_2
mov dword [ebp - 0x21c], str.Bubble_3
mov dword [ebp - 0x218], str.Bubble_4
mov dword [ebp - 0x214], str.Bubble_5
mov dword [ebp - 0x210], str.Bubble_6
mov byte [ebp - 0x205], 1
xor esi, esi
cmp byte [esi + 0x4b5508], 0
je 0x418316
cmp byte [esi + 0x4b556c], 0
jne 0x4182a0
fld dword [esi*4 + 0x4a84e8]
fadd dword [esi*8 + 0x4b59dc]
fstp dword [esi*8 + 0x4b59dc]
fld dword [esi*8 + 0x4b59dc]
mov edi, dword [ebp + esi*4 - 0x228]
sub esp, 0x24
mov ecx, esp
fstp dword [esp + 0x20]
fld dword [esi*8 + 0x4b59d8]
mov eax, edi
mov dword [ecx + 0x14], 0xf
fstp dword [esp + 0x1c]
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x20c], esp
mov byte [ecx], 0
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4182e0
sub eax, ebx
push eax
push edi
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.00401d70
fld dword [0x498700]
fcomp dword [esi*8 + 0x4b59dc]
fnstsw ax
test ah, 0x41
jne 0x418316
mov byte [esi + 0x4b556c], 1
cmp byte [esi + 0x4b556c], 0
jne 0x418326
mov byte [ebp - 0x205], 0
inc esi
cmp esi, 7
jl 0x418275
cmp byte [ebp - 0x205], 0
je 0x4183ef
mov eax, dword [0x4b5574]
inc eax
push eax
mov dword [0x4b5574], eax
lea eax, [ebp - 0x204]
push str._UpdateWinTextMovies__g_nBubblePassCounter:__d_n
push eax
call fcn.00409550
add esp, 0xc
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [0x4a8504]
xor eax, eax
mov dword [0x4b556c], eax
mov word [0x4b5570], ax
mov byte [0x4b5572], al
cmp edx, dword [0x4b5574]
jg 0x4183ef
xor esi, esi
mov edi, dword [ebp + esi*4 - 0x228]
sub esp, 0x1c
mov ecx, esp
mov byte [esi + 0x4b5508], 0
mov eax, edi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x20c], esp
mov byte [ecx], 0
lea ebx, [eax + 1]
jmp 0x4183c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4183c0
sub eax, ebx
push eax
push edi
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.004019c0
inc esi
cmp esi, 7
jl 0x41838c
push 0
push 0
push 7
call fcn.00409510
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret