Function at 0x555b30
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ad2e
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5d52e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
xor eax, eax
push ecx
mov ebx, 0x5dd9b8
mov dword [ebp - 4], eax
push 0x54e540
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x555bca
push 0
push 0
push 0x46a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp esi, 0x9fbf1
jne 0x555bb4
mov eax, 1
mov ecx, dword [0x5dd560]
test ecx, ecx
je 0x555bca
mov edx, dword [eax*4 + 0x5dd9a0]
push 3
push edx
call ecx
mov edx, 0xcea
cmp edi, 0x1faf
je 0x555bd9
mov edx, edi
xor eax, eax
cmp esi, 0x9fbf1
jne 0x555be8
mov eax, 1
mov ecx, dword [0x5dd534]
test ecx, ecx
je 0x555c02
mov eax, dword [eax*4 + 0x5dd9a0]
push edx
push 0x10007
push eax
call ecx
mov ecx, dword [0x5dd9c4]
mov edx, dword [0x5dd9c0]
push ecx
push edx
lea eax, [ebp - 0x48]
push eax
push 0x5dd9c0
mov dword [0x5dda10], 0
mov byte [0x5dda2d], 0
call fcn.00403890
push 0x80
mov ecx, 0x5dd9c0
call fcn.00403220
mov dword [ebp - 0x40], 0
jmp 0x555c50
cmp dword [ebp - 0x40], 0x2710
jge 0x55620d
xor eax, eax
cmp esi, 0x9fbf1
jne 0x555c6c
mov eax, 1
mov ecx, dword [0x5dd530]
test ecx, ecx
jne 0x555c7a
xor eax, eax
jmp 0x555c89
mov edx, dword [eax*4 + 0x5dd9a0]
push 0x50020
push edx
call ecx
push esi
cmp eax, 0xff1
push edi
setne al
push 1
mov byte [ebp - 0x64], al
call fcn.0054edf0
test al, al
jne 0x555cb6
push 0x5c77e8
lea ecx, [ebp - 0x74]
push ecx
mov dword [ebp - 0x74], 0x4e7
call fcn.005039bf
mov ecx, dword [ebx + 0x5c]
xor eax, eax
cmp esi, 0x9fbf1
jne 0x555cc8
mov eax, 1
mov edx, dword [0x5dd540]
test edx, edx
je 0x555ce1
mov eax, dword [eax*4 + 0x5dd9a0]
push ecx
push eax
call edx
test al, al
jne 0x555cf6
push 0x5c77e8
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x68], 0x4ed
call fcn.005039bf
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
push eax
lea ecx, [ebp - 0x54]
call fcn.00401210
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x54]
push ecx
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x5c], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x555d52
cmp eax, dword [esi - 0x10]
jne 0x555d52
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x555d8b
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x555d6b
call fcn.00401ae0
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004ffad4
add esp, 0x10
lea ecx, [ebp - 0x44]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.00530a70
add esp, 0xc
mov esi, dword [ebp - 0x50]
xor eax, eax
mov byte [ebp - 4], 2
cmp esi, 0x9fbf1
jne 0x555db2
mov eax, 1
mov ecx, dword [0x5dd530]
test ecx, ecx
je 0x555dcd
mov edx, dword [eax*4 + 0x5dd9a0]
push 0x6020000
push edx
call ecx
mov ecx, eax
push esi
lea edi, [ebp - 0x34]
call fcn.00530ca0
add esp, 4
lea eax, [ebp - 0x84]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.0052c750
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov esi, dword [ebp - 0x34]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x555e46
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x555e39
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x555e39
push eax
call fcn.00401a10
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x555e31
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x34], ebx
jmp 0x555e46
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401900
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x555e6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0xc], 0xcf5
jne 0x555ea0
mov ecx, dword [ebp - 0x50]
push ecx
xor esi, esi
call fcn.0054b770
add esp, 4
test eax, eax
jns 0x555f17
push 0x5c77e8
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], 0x98401
call fcn.005039bf
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx - 0xc]
mov ecx, dword [ecx - 0xc]
lea eax, [eax + ecx + 0xd]
cmp eax, 0x104
jle 0x555ecc
push 0x5c77e8
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 0x80], 0x97903
call fcn.005039bf
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x555eec
push 0x5c77e8
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x97202
call fcn.005039bf
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0052a9f0
add esp, 4
test al, al
jne 0x555f17
push 0x5c77e8
lea edx, [ebp - 0x88]
push edx
mov dword [ebp - 0x88], 0x9f403
call fcn.005039bf
mov eax, dword [ebp - 0x50]
push eax
mov ecx, 0xa0009
lea edi, [ebp - 0x4c]
call fcn.00530ca0
add esp, 4
xor edx, edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4c]
mov ecx, 0xff1
cmp word [ebp - 0x3c], cx
setne dl
sub esp, 8
dec edx
and edx, 0xfffff400
add edx, 0x1000
mov dword [ebp - 0x3c], edx
fild dword [ebp - 0x3c]
fstp qword [esp]
push eax
call fcn.0052a960
mov ebx, dword [ebp - 0x58]
add esp, 0xc
test al, al
jne 0x555f8d
push ebx
mov ecx, 0x9e901
call fcn.00564a20
add esp, 4
cmp eax, 2
jne 0x555f8d
push 0x5c77e8
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x6c], eax
call fcn.005039bf
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.00530b80
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004015b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x555fd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
push eax
call fcn.00401a10
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x3c], esi
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x5dda24
mov byte [ebp - 4], 7
call fcn.004015b0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x556018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0052fa60
lea edx, [ebp - 0x44]
add esp, 4
push edx
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0052fa60
add esp, 4
cmp edi, eax
jg 0x55603e
mov edi, eax
cmp edi, 0x2710
jl 0x556064
cmp dword [ebp + 0xc], 0x1faf
je 0x556064
push 0x5c77e8
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], 0x97302
call fcn.005039bf
inc edi
test ebx, ebx
je 0x556088
mov ecx, dword [ebp - 0x38]
mov esi, dword [ecx + 0x5c]
mov ecx, ebx
call fcn.00401190
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0xfc]
mov ecx, esi
call edx
mov ebx, dword [ebp - 0x38]
jmp 0x55609a
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xfc]
push 0
call edx
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x11c]
push edi
call edx
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
push eax
call fcn.00401a10
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 8
mov eax, dword [esi - 8]
mov edi, dword [ebp - 0x44]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x5560e8
push 0x104
lea ecx, [ebp - 0x5c]
call fcn.004019b0
mov esi, dword [ebp - 0x5c]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004ff818
add esp, 8
test eax, eax
js 0x55637d
cmp eax, dword [esi - 8]
jg 0x55637d
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x108]
push esi
call eax
mov ecx, dword [ebx + 0x5c]
push ecx
call dword [0x5dd480]
mov edx, dword [ebp + 0xc]
push 0
push edx
call fcn.0054e620
mov ebx, dword [ebp + 0xc]
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
call fcn.0054e7f0
mov edi, eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.0054fdc0
cmp edi, 1
je 0x5562a6
add esi, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x556181
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5561a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5561c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5561ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x55620d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x38]
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x28]
sar eax, 2
test eax, eax
je 0x5564b4
cmp dword [ebp + 0xc], 0x1faf
je 0x5564b4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
push eax
push ecx
lea ecx, [ebp - 0x48]
push ecx
push ebx
call fcn.00403890
mov edx, dword [esi + 0x2c]
sub edx, dword [esi + 0x28]
mov ecx, ebx
sar edx, 2
push edx
call fcn.00403220
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x40], eax
cmp eax, dword [esi + 0x2c]
je 0x556484
lea ebx, [ebx]
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x5563de
cmp eax, dword [esi - 0x10]
jne 0x5563de
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x556416
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
push ecx
push edx
push ebx
push eax
call fcn.0054f210
add esi, 0xfffffff0
mov byte [ebp - 4], 5
or edx, 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp eax, 1
jne 0x556173
test edx, edx
jg 0x5562e1
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x556304
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x556327
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x55634a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x55636d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
mov edi, ebx
mov ebx, dword [ebp - 0x38]
jmp 0x555c50
push 0x80070057
call fcn.004010a0
mov esi, dword [ebp - 0x38]
add esi, 0x48
cmp dword [esi], 0
jne 0x5563c8
push esi
call dword [0x5dd4a0]
cmp dword [esi], 0
jne 0x5563c8
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, esi
call fcn.0054df30
cmp dword [esi], 0
jne 0x5563c8
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, eax
and ecx, 0xff0000
cmp ecx, 0x90000
jne 0x5563c8
mov dword [esi], eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.0054fdc0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x556214
ret
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x555d66
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004ffad4
add esp, 0x10
xor eax, eax
add edi, 0x10
mov ecx, 0x128e
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], cx
lea ecx, [ebp - 0x30]
mov edi, ebx
mov dword [ebp - 4], 0xa
call fcn.00403370
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x55646d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x40], eax
cmp eax, dword [ecx + 0x2c]
jne 0x556270
mov esi, ecx
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
lea eax, [esi + 0x28]
push ecx
push edx
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.00404480
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x58], eax
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
sar ecx, 2
mov dword [ebp - 0x48], eax
test ecx, ecx
je 0x5565b1
mov ebx, dword [eax]
cmp ebx, dword [esi + 0x1c]
je 0x5565a0
mov esi, dword [ebx]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x5564fe
cmp eax, dword [esi - 0x10]
jne 0x5564fe
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x556536
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x555d66
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004ffad4
add esp, 0x10
xor eax, eax
add edi, 0x10
mov ecx, 0x128e
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], cx
mov esi, dword [ebp - 0x38]
lea edi, [esi + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xb
call fcn.00403370
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x556591
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 4
cmp ebx, dword [esi + 0x1c]
jne 0x5564d6
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.00404480
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x58], eax
xor eax, eax
cmp dword [esi + 0x4c], eax
setne al
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ff57c
mov esp, ebp
pop ebp
ret 8